Configure the JVM - Alfresco Content Services - 23.4 - 23.4 - Ready - Alfresco - external

Alfresco Content Services

Platform
Alfresco
Product
Alfresco Content Services
Release
23.4
License

You can configure the JVM to expose an interface for connection to the server.

Before you start, you must:

  • Have a fully installed, configured, and running instance of Content Services. These steps assume you’re using Tomcat on Windows, but the steps are similar for other application servers on other systems.
  • Have an IDE installed. These steps describe how to configure Eclipse, which must be installed first (Eclipse)
  • Download source code from https://github.com/Alfresco/alfresco-enterprise-repo . This project has more instructions on how to set up a development environment.
  • Ensure the source code is the same version as the installed server.
  1. Verify that the server is not running.
  2. Edit the JVM options used to start the Tomcat instance.

    For example, set the following:

     JAVA_OPTS=%JAVA_OPTS% -server -Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=8082
    

    where address is a port for your system.

  3. Save the file and close the editor.