AppDynamics Application Intelligence Platform
3.9.x Documentation
The Java Agent bootstraps using the javaagent command line option. Add this option to your Tomcat properties.
If you are not running Tomcat as a Windows service, see Apache Tomcat Startup Settings.
These instructions apply to Apache Tomcat 6.x or later versions.
1. Ensure that you are using administrator privileges.
2. Click Programs -> Apache Tomcat.
3. Run Configure Tomcat.
4. Click the Java tab.
5. In the Java Options add:
-javaagent:"<agent_home\javaagent.jar"
If you are a Self-Service Trial user, add the Java Agent javaagent argument to your JVM start script where <my-app-jvm1> is the name you use for the application running on that JVM.
-javaagent:"<agent_home>\javaagent.jar=uniqueID=<my-app-jvm1>"
For details see the following screenshot.
6. Restart the Tomcat service. The application server must be restarted for the changes to take effect.