Installing Java Agent in Resin Server 4.5 and above
Installing Java Agent in Resin Server 4.5 & 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 Resin 3.x servers, Open <RESIN_HOME>/conf/resin.conf file in any text editor. Locate your <cluster> tag and the <server> tag of the server you need to monitor and add the following tag:
<jvm-arg>-javaagent:<agent_directory_full_path>/apminsight-javaagent.jar</jvm-arg> - For Resin 4.x servers, Open <RESIN_HOME>/conf/resin.xml file in any text editor. Locate your <cluster> tag and the <server> tag of the server you need to monitor and add the following tag:
<jvm-arg>-javaagent:<agent_directory_full_path>/apminsight-javaagent.jar</jvm-arg> - Save the file and start the Resin server.