The AppDynamics Java App Server 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.
To install the javaagent as a Tomcat Windows service
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:
If you are a Self-Service Trial user, add the App Agent for Java javaagent argument to your JVM start script where <my-app-jvm1> is the name you use for the application running on that JVM.
For details see the following screenshot.
6. Restart the Tomcat service. The application server must be restarted for the changes to take effect.