Skip to main content
Version: 25.0.0

Launch Apache Tomcat as a Service in Windows

Running as a Windows Service

  1. Go to <absolute-path-to-tomcat>\bin.
  2. Open the Tomcat<version_number>w.exe file.
  3. In the Monitor Tomcat GUI, check that the Service Status is Stopped.
  4. 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).

  1. Click Apply.
  2. Go to the General tab, start the Tomcat service to have the changes take effect.