AppDynamics Application Intelligence Platform
3.9.x Documentation
The Java Agent bootstraps using the javaagent command line option. Add this option to the resin.sh or resin.bat file.
1. Open the resin.bat file, located at <Resin_installation_directory>/bin.
2. Add following javaagent argument to the beginning of your application server start script.
exec JAVA_EXE -javaagent:"<drive>:\<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:"<drive>:\<agent_home>\javaagent.jar=uniqueID=<my-app-jvm1>"
The javaagent argument references the full path of the Java Agent installation directory, including the drive.
3. Restart the application server for changes to take effect.
1. Open the resin.sh file, located at <Resin_Installation_Directory>/bin.
2. Add the following javaagent argument to the beginning of your application server start script.
exec $JAVA_EXE -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>
The javaagent argument references the full path of the Java Agent installation directory. See the following screenshot.
3. Restart the application server. The application server must be restarted for the changes to take effect.
1. To install the Java Agent into Resin 4.X or later, edit the ./conf/resin.xml file and add:
<jvm-arg>-Xmx512m</jvm-arg> <jvm-arg>-javaagent:<$appagent_location>/javaagent.jar</jvm-arg>
2. Restart the application server. The application server must be restarted for the changes to take effect.