AppDynamics Application Intelligence Platform

3.9.x Documentation

PDFs

Learn by Watching

Doc Maps

Skip to end of metadata
Go to start of metadata

The Java Agent bootstraps using the javaagent command line option. Add this option to your Solr server.

To add the javaagent command in a Windows environment

1. Open the Windows command line utility.

2. Execute the following commands to add the javaagent argument to the Solr server:

>cd $Solr_Installation_Directory
>java -javaagent:"<drive>:\<agent_home>\javaagent.jar" -jar start.jar

(warning) 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 to the Java Agent installation directory, including the drive. For details see the screenshots.

To add the javaagent command in a Linux environment

1. Open the terminal.

2. Execute the following commands to add the javaagent argument to the Solr server:

>cd $Solr_Installation_Directory
>java -javaagent:"<agent_home>/javaagent.jar" -jar start.jar

(warning) 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 to the Java Agent installation directory. For details see the screenshot.