Installing the Controller as a Windows service

To install the Controller as a service on a Windows machine without other Tomcat instances running:

  1. Log on to Windows as a local user with administrator permissions.

  2. Make sure that the JRE_HOME and JAVA_HOME environment variables are correctly configured.
  3. Make sure that the CATALINA_HOME environment variable is either empty or set up to point to the <controller_install_dir>\tomcat directory.
  4. Go to <controller_install_dir>\tomcat\bin, and then run the following command: 

    service.bat install

This creates a service with the name Tomcat10.

To install the Controller as a service with a different name:

  1. Make sure that the JRE_HOME and JAVA_HOME environment variables are correctly configured.
  2. Make sure that the CATALINA_HOME environment variable is either empty or set up to point to the <controller_install_dir>\tomcat directory.
  3. Go to <controller_install_dir>\tomcat\bin\, and then run the following command:

    service.bat install <service_name>

    The service name must not contain any spaces.

Configuring Java memory for the service

To configure the Java memory for the Controller service:

  1. Run tomcat10w.exe.

  2. In the Apache Tomcat Properties window, click the Java tab, and then set the Maximum memory pool value.

  3. Restart the service.