On this page:

Your Rating:
Results:
PatheticBadOKGoodOutstanding!
16 rates

The Java Agent bootstraps using the javaagent command line option. Add this option to the resin.sh or resin.bat file.

Instrument Resin 1.x - 3.x for Windows

  1. Open the resin.bat file, located at <resin_home>/bin.
  2. At the beginning of your application server start script, add the javaagent argument with the full path (including drive) to the javaagent.jar file on your system:

    exec JAVA_EXE -javaagent:"<drive>:\<agent_home>\javaagent.jar"
  3. Restart the application server to have the changes take effect.

Instrument Resin 1.x - 3.x for Linux

  1. Open the resin.sh file, located at <resin_home>/bin.
  2. At the beginning of your application server start script, add the javaagent argument with the full path to the javaagent.jar file on your system:

    exec $JAVA_EXE -javaagent:"<agent_home>/javaagent.jar"

    For example: 

  3. Restart the application server. The application server must be restarted for the changes to take effect.

Instrument Resin 4.x

  1. To install the Java Agent into Resin 4.X or later, edit the ./conf/resin.xml file and add:

    <jvm-arg>-Xmx512m</jvm-arg>
    <jvm-arg>-javaagent:<agent_home>/javaagent.jar</jvm-arg>
  2. Restart the application server. The application server must be restarted for the changes to take effect.