Assuming the steps outlined in the previous sections have been completed Tomcat and ServiceManager are now available for operation. ServiceManager is a web application hosted by its application server. To run ServiceManager it is the hosting application server, Tomcat, which must be executed.
Note |
---|
![]() |
On Windows Tomcat can be executed either from the command line, or as a service.
Warning |
---|
Regardless of invocation method the hosting Tomcat instance must be installed as a service (see below). This restriction is imposed by Tomcat as its executable ( |
Note | ||
---|---|---|
| ||
Whilst the ServiceManager installation presents a service installation command file, in actuality the registration and configuration of Tomcat is delegated to Tomcat's service registration/management command files. ServiceManager's version is simply responsible for setting up the appropriate environment variables prior to this delegation. |
Tomcat Service Installation | Tomcat should be installed as a service through the supplied
install_tomcat_service.bat takes up to two parameters: Where:
Service Installation RestrictionsAs mentioned,
| |||||||||||||||||||||||||||||||
Registry Settings | When installed as a service Tomcat updates the host machine's registry settings. It adds a set of entries under the key: By default the service name is Tomcat5, though this can be changed during installation. Once installed as a service Tomcat conforms to the standard Windows service interaction tools, consult your Windows administration guide for further details. To run from the command line requires Tomcat to have been installed as a service. Once installed, command line execution is simply a case of executing
Note that A side effect of installing Tomcat as a service is that a number of registry settings are created. To ensure correct operation the Tomcat executable must use the settings it was installed with. That is if Tomcat was installed with a specific service name, then when executed from the command line
And to run from the command line:
For further configuration of Tomcat please consult the appropriate online documentation | |||||||||||||||||||||||||||||||
Service Execution | ||||||||||||||||||||||||||||||||
Command Line Execution | ||||||||||||||||||||||||||||||||
Command Line Execution and Service Naming | ||||||||||||||||||||||||||||||||
Post Installation Modification of Tomcat Parameters | Once correctly installed (as a service) it is possible to review, and change, the Tomcat configuration settings via the supplied Where:
Using |