This page applies to an earlier version of the AppDynamics App IQ Platform.
For documentation on the latest version, see the 4.4 Documentation.


Some restricted environments do not allow any changes to the JVM startup script. For these environments AppDynamics provides the appdynamics.agent.startup.hook property. This "startup hook" allows a single point of deployment for the agent. You create a Java main method that is invoked programmatically, before your startup script is executed.

To create the "startup hook" Agent Program
  1. Implement a class with Java main method.
  2. Create a JAR file for this class.
  3. In the manifest of the JAR file, specify the class created in step 1.
  4. Add the following javaagent argument and system properties (-D options) to your startup script:

    -javaagent:<agent_home>/javaagent.jar -Dappdynamics.agent.startup.hook=<JAR-file>