Installing Java Agent in JOnAS 7.0 and above
Installing Java Agent in JOnAS 7.0 & above
- Extract the zip file to a new directory to find agent jar and its configuration files
- Open apminsight.conf file in any text editor and add license.key value, which can be obtained from Site24x7 APM Insight page. Refer here to fine tune the agent settings.
- 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"