Installing the Controller as a Windows service
To install the Controller as a service on a Windows machine without other Tomcat instances running:
-
Log on to Windows as a local user with administrator permissions.
- Make sure that the
JRE_HOMEandJAVA_HOMEenvironment variables are correctly configured. - Make sure that the
CATALINA_HOMEenvironment variable is either empty or set up to point to the<controller_install_dir>\tomcatdirectory. -
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:
- Make sure that the
JRE_HOMEandJAVA_HOMEenvironment variables are correctly configured. - Make sure that the
CATALINA_HOMEenvironment variable is either empty or set up to point to the<controller_install_dir>\tomcatdirectory. -
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:
-
Run
tomcat10w.exe. -
In the Apache Tomcat Properties window, click the Java tab, and then set the Maximum memory pool value.
-
Restart the service.