Install APM Insight Java Agent in JOnAS 4.x servers & above


  • Download latest the APM Insight java agent zip file (apminsight-javaagent.zip) here.
  • Extract the zip file to a new directory to find agent jar and its configuration files.
  • Open the apminsight.conf file in any text editor and include the following keys:
    license.key=[LICENSE KEY]
    apm.host=https://[HOST]:[PORT]/

    Example:

    license.key=APMI_74447444b666d7ab5174cc3021a9b68dd4b3364d50f99c2969360810313e8fac
    apm.host=http://app-w8-test:9007/
    To learn more about the agent configurations, visit our Configuration Guide page.
  • For Windows, open <JONAS_ROOT>\bin\jonas.bat in any text editor and add the following entry at the top and save the file.
set JONAS_OPTS=%JONAS_OPTS% -javaagent:<agent_directory_full_path>/apminsight-javaagent.jar
  • For Linux, open <JONAS_ROOT>/bin/jonas in any text editor and append the following value to JONAS_OPTS variable
"-javaagent:<agent_directory_full_path>/apminsight-javaagent.jar"