Install APM Insight Java Agent


To add a new Java Agent monitor in Applications Manager, go to the APM tab Add New Monitor Java.

Based on the version of the build you are using, follow the steps given below to add a Java Agent monitor:

Add a new Java Agent monitor - Guided Installation (Build version 172100 & above)

  1. Choose your preferred deployment type (Host/Container), Operating System (UNIX/Windows), and Java framework (Apache Tomcat, etc.,) based on your JAVA Application and click NEXT.

  2. Enter the configuration details of your JAVA application to be monitored including the Application name, Application running port, and the Java version used by your application. The 'Advanced Settings' dropdown displays Applications Manager details such as the protocol, host, port, and APM Insight license key.
    Click on Next.
    Note: Ensure that the Applications Manager URL is reachable from the application server. If not, use the EDIT option given to provide the accessible IP address or hostname to connect to the Applications Manager for the agent to communicate.

  3. Execute the command displayed in the UI as an Administrator and follow the given steps as displayed in the Monitor addition tab to complete the process:
      • Go to Application installed server → Navigate to Application installed directory → Open Windows PowerShell / Terminal based on OS type (with administrator privilege) → Execute the command displayed in the 'Monitor Addition' view to complete the agent installation.
        Note: This command internally downloads the guided-installation script (to extract agent & configure APM host & license details) and JAVA Agent from Applications Manager to complete agent installation.

    Note: Use the Switch to manual steps option in the Applications Manager UI if any environmental issues cause command execution failure, to follow the Manual Installation steps.
    • Once the agent installation is successful, kindly follow the steps given to configure agent argumentin your JAVA application by performing framework steps shown in APM GUI & restart your application to start monitoring.
      Note: Restarting your application is mandatory to start the monitoring process. The purpose is to instrument your application with our agent.

    • Perform some transactions in your application to view the performance data in Applications Manager.
  4. Once the monitor addition is successful, perform some transactions to start monitoring.

Add a new Java Agent monitor - Manual Installation (Build versions below 172100)

 Note:

  • For older versions of Java (v2.3 & below), data collection might not happen after upgrading Applications Manager to version 14440 & above. To enable, include the following keys in the apminsight.conf file after extracting the APM Insight Java agent zip (apminsight-javaagent.zip) file :
      license.key=[LICENSE KEY]
      apm.host=http://[HOST]:[PORT]
    Example:
      license.key=APMI_74447444b666d7ab5174cc3021a9b68dd4b3364d50f99c2969360810313e8fac
      apm.host=http://apm-prod-server:9090
  • After including the above keys, save the file and restart the application.

Troubleshooting:

For troubleshooting tips, go to our Support Portal