Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Replace recipe for installing Tomcat as a service.

...

How do I set up another tomcat service on Windows, sharing the same Tomcat Home ?

...

To install another Tomcat service using separate Home (binaries) and Base (configuration) paths you can use the service.bat script provided by Apache Tomcat. If your installation of Apache Tomcat does not have a service.bat script (in the bin directory), you can get one from a zip distributive for that version.

To install the service:

  1. Set environment variables CATALINA_HOME, CATALINA_BASE and JAVA_HOME (or JRE_HOME) as usual, as documented in RUNNING.txt file.
  2. Call the service.bat script to install the service, as shown in the Windows Service How-To in Tomcat documentation.
    service.bat install NewServiceName --rename

How do I install Tomcat as a service under Unix?

...