Apache Tomcat

  1. Navigate to the following directory: {Apache-Tomcat-Home}\bin.
  2. Run the TomcatXw.exe program. (Where X is the version number of your tomcat installation).
  3. Access the Java tab and add the FusionReactor Java Agent and possibly the FusionReactor Production Debugger for your server to the bottom of the list in the "Java Options:" field.
  4. Click the Apply button.
  5. Click the OK button.
-Dcatalina.home=...
-Dcatalina.base=...
-Djava.endorsed.dirs=...
-Djava.io.tmpdir=...
-Djava.util.logging.manager=...
-Djava.util.logging.config.file=...
-javaagent:C:\FusionReactor\instance\tomcat8\fusionreactor.jar=address=8088
-agentpath:C:\FusionReactor\instance\tomcat8\frjvmti_x64.dll
  1. Navigate to the following directory: {Apache-Tomcat-Home}/bin/.
  2. Locate the setenv.sh file OR if the file does not exist you can go ahead and create the file.
  3. Open the file with a text editor of you preference.
  4. Add the FusionReactor Java Agent and possibly the FusionReactor Production Debugger values in the setenv.sh file.
  5. Save the changes made.
...
# FusionReactor JVM start options. Please do not edit these options.
FR_OPTS="-javaagent:/opt/fusionreactor/instance/tomcat8/fusionreactor.jar=address=8088 -agentpath:/opt/fusionreactor/instance/tomcat8/libfrjvmti_x64.so"
export JAVA_OPTS="$JAVA_OPTS $FR_OPTS"
# End of FusionReactor opts