Skip to end of metadata
Go to start of metadata

The AppDynamics Java App Server Agent bootstraps using the javaagent command line option. Add this option to your jetty.sh file. 

To add the javaagent command in a Jetty environment

1. Open the jetty.sh start script file.

2. Add the following javaagent argument to the beginning of the script.

java -javaagent:/<agent_home>/javaagent.jar

(warning) 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.

-javaagent:<agent_home>/javaagent.jar=uniqueID=<my-app-jvm1>

3. Save the script file.

4. Restart the application server for the changes to take effect.