Apache Tomcat Startup Settings
To instrument applications on Apache Tomcat, add the Java Agent JAR location as a Catalina environment, or CATALINA_OPTS variable.
Instrument Apache Tomcat
Instrument Tomcat When Running as a Windows Service
When running Tomcat as a Windows service, add the javaagent argument to your Tomcat startup properties. These instructions apply to Apache Tomcat >= 6.x.
To install the Java agent in Tomcat running as a Windows service: