Below are examples of configuring your Application Server/JVM arguments for the supported server types.
Adobe ColdFusion server
Warning
ColdFusion 9, 10 and 11 on Windows interprets backslashes as a character escapement mechanism. Either use a double backslash or forward slash in your JVM config file.
Navigate to the following directory: {ColdFusion-Home}\solr.
Locate and open the solr.lax with a text editor of your preference.
Add the FusionReactor Java agent and possibly the FusionReactor production debugger at the end of the line beginning with "lax.nl.java.option.additional=".
Save the changes made.
Tip
Ensure all the Java arguments are on the same line.
Navigate to the following directory: {Lucee-Home}\tomcat\bin.
Locate and run the Luceew.exe program.
Within the program, on the Java tab, 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.
Navigate to the following directory: {Lucee-Home}/bin/.
Locate and open the setenv.sh file with a text editor of your preference.
Add the FusionReactor Java agent and possibly the FusionReactor production debugger inside the setenv.sh file
Save the changes made.
Example
tab="Linux setenv.sh"
# FusionReactor JVM start options. Please do not edit these options.
FR_OPTS="-javaagent:/opt/fusionreactor/instance/lucee4/fusionreactor.jar=name=lucee4,address=8088 -agentpath:/opt/fusionreactor/instance/lucee4/libfrjvmti_x64.so"
export JAVA_OPTS="$JAVA_OPTS $FR_OPTS"
# End of FusionReactor opts
Tomcat
Windows
View more
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.
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.
Example
tab="Linux setenv.sh"
...
# 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
Standalone jar
View more
Add the FusionReactor JVM arguments to your run command for the jar.
Navigate to the following directory: {Jetty-Home}/bin/.
Locate and open the start.ini file with a text editor of your preference.
Add the FusionReactor Java agent in the start.ini file at the bottom, preferably below the "--exec". In case the "--exec" is not in your start.ini file, add it to the bottom of the file and afterwards add the FusionReactor Java agent below it.