Apache Tomcat

For general options, see Set up Agents.

If you run Tomcat as a Windows service, see further below.

If launched from a batch file or shell script: ## Tomcat 7.x or later For Tomcat 7.x or later, it is recommend to configure environment variables in the setenv.bat or setenv.sh script located in CATALINA_BASE/bin or CATALINA_HOME/bin.
This file is not typically found in a default Tomcat-only installation and must be created manually, co-located with startup, (in bin). Be sure to place it in the right directory matching your installation type and OS.

Tomcat 6.x

Tomcat 5.5.x

For running Tomcat 5.5.x with Java 1.6 or higher, see the Tomcat 6.x configuration steps.

Tomcat as a Windows service