Download and Unzip the Java Agent Distribution

You can get the agent from the Agent Download Wizard. If you have never installed an agent before, the wizard is a good place to start. The wizard populates the configuration file in the agent you download with Controller connection settings and identifying settings for the agent. After you download the agent, you can install it in the JVM.

Alternatively, you can download the agent manually, as follows:

Download and Install the Java Agent from ZIP

You can download the Java agent by using the ZIP file:
  1. Download the Java Agent ZIP file from Splunk AppDynamics Download Center.
  2. Extract the ZIP file to the destination directory as the same user or administrator of the JVM.
    Note the following:
    • Extract the Java Agent to a directory that is outside of your container or application server runtime directories, such as to \usr\local\appdynamics\appagent .
    • All files should be readable by the user under which the JVM runs. The user must have write privileges to the conf and logs directories in the Java Agent home. One way to achieve this is to install the agent as the same user that owns the JVM or as an administrator on the host machine.
    • The Java Agent must have write access to the application server runtime directory.

Download and Install the Java Agent from RPM

You can install the Java agent by using the RPM file:
  1. Download the Java Agent RPM file from the Splunk AppDynamics Downloads portal.
  2. Run the installer using the following command:
    CODE
    yum localinstall <package_name>

Replace <package_name> with the name of the package you downloaded. The Java Agent gets extracted to set to appdynamics/opt/appdynamics/java-agent with the user and group.

For information on the contents of the Java Agent home directory, see Java Agent Directory Structure.