In the service.bat file, you need to configure the service name, description, and memory allocation. The Tomcat monitor file name also must be updated to reflect the change to the service name.
After you copy the Tomcat service installation files, before you can start the service, you need to update service.bat to:
If you change the service name, then you also must change the name of the Tomcat monitor executable.
To update the configuration:
set SERVICE_NAME=Tomcat6 set PR_DISPLAYNAME=Apache Tomcat 6
set SERVICE_NAME=DF15 set PR_DISPLAYNAME=Discovery Framework 1.5
set PR_DESCRIPTION=Apache Tomcat 6.0.29 Server - http://tomcat.apache.org/
set PR_DESCRIPTION=Endeca Discovery Framework server, version 1.5
"%EXECUTABLE%" //US//%SERVICE_NAME% ++JvmOptions "-Djava.io.tmpdir=%CATALINA_BASE%\temp;-Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager;-Djava.util.logging.config.file=%CATALINA_BASE%\conf\logging.properties" --JvmMs 128 --JvmMx 256
-Djava.util.logging.config.file=%CATALINA_BASE%\conf\logging.properties" --JvmMs 128 --JvmMx 256with:
-Djava.util.logging.config.file=%CATALINA_BASE%\conf\logging.properties;-XX:MaxPermSize=256m" --JvmMs 256 --JvmMx 1024Make sure that there are no manual line breaks or extra spaces.