Launch Apache Tomcat as a Service in Windows
Running as a Windows Service
- Go to
<absolute-path-to-tomcat>\bin.
- Open the
Tomcat<version_number>w.exe
file. - In the Monitor Tomcat GUI, check that the Service Status is Stopped.
- In the Java Options field add:
-javaagent:<absolute-path-to-waratek-software>\\agent\\waratek.jar
-Dcom.waratek.WaratekProperties=<absolute-path-to-waratek-software>\\<conf_*>\\<name of property file>
Leave any existing Java options unmodified (e.g. -Dcatalina.home, -Dcatalina.base, -Djava.endorsed.dirs, -Djava.io.tmpdir, -Djava.util.logging.manager, -Djava.util.logging.config.file).
- Click Apply.
- Go to the General tab, start the Tomcat service to have the changes take effect.