Apache Tomcat
- Navigate to the following directory: {Apache-Tomcat-Home}\bin.
- Run the TomcatXw.exe program. (Where X is the version number of your tomcat installation).
- 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.
- Click the Apply button.
- 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
- Navigate to the following directory: {Apache-Tomcat-Home}/bin/.
- Locate the setenv.sh file OR if the file does not exist you can go ahead and create the file.
- Open the file with a text editor of you preference.
- Add the FusionReactor Java Agent and possibly the FusionReactor Production Debugger values in the setenv.sh file.
- 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