--- windows-service-howto.xml (revision 1486719) +++ windows-service-howto.xml (working copy) @@ -320,7 +320,14 @@ C:\> service.bat install
+There is a 2nd optional parameter that lets you specify the name of the service, as displayed in Windows services
+ +
+If using tomcat7.exe, you need to use the //IS// parameter.
@@ -345,6 +352,14 @@ C:\> --Startup=auto --Classpath=%JAVA_HOME%\lib\tools.jar;%CATALINA_HOME%\bin\bootstrap.jar
+If you gave the service an optional name, you need to specify it like this
++ +
@@ -357,6 +372,13 @@ C:\> tomcat7 //DS//Tomcat7
+If you gave the service an optional name, you need to specify it like this
++ +
@@ -375,5 +397,51 @@
+Tomcat supports installation of multiple instances. You can have a single installation of tomcat with multiple instances running on different IP/Port combinations, or multiple tomcat versions, each running 1 or more instances on different IP/Ports. +
++Each Instance folder will need the following structure +
++At a minimum, conf should contain a copy of the following files from CATALINA_HOME\conf\server.xml. Any files not copied and edited, will be picked up by default from CATALINA_HOME\conf, i.e. CATALINA_BASE\conf files override defaults from CATALINA_HOME\conf. +
++You must edit CATALINA_BASE\conf\server.xml to specify a unique IP/port for the instance to listen on. Find the line that contains
<Connector port="8080"and update the port number so as to specify a unique port + +
+To install an instance, first set the CATALINA_HOME environment variable to the name of the tomcat directory. Then create a second environment variable CATALINA_BASE and point this to the instance folder. Then run "service install" command specifying a service name +
++ +
++To modify the service settings, you can run tomcat7w //ES//instance1 +
++For additional instances, create additional instance folder, update the CATALINA_BASE environment variable, and run the service install again +
++ +
+