Adobe ColdFusion
Adobe ColdFusion Server¶
Warning
ColdFusion 9, 10 and 11 on Windows will interpret backslashes \ as a character escapement mechanism. You should either use a double backslash \ or forward slash / in your JVM config file.
- Navigate to the following directory;
1.
- ColdFusion9:
{ColdFusion-Home}/runtime/bin
- ColdFusion 10/11/2016/2018:
{ColdFusion-Home}/cfusion/bin
- ColdFusion9:
- Locate and open the jvm.config file with a text editor of your preference.
- Add the FusionReactor Java Agent and possibly the FusionReactor Production Debugger at the end of the line after "# Arguments to VM". Please make sure that all the Java Arguments are on the same line.
- Save the changes made.
# Arguments to VMx
java.args=-server -Xms256m -Xmx512m -XX:MaxPermSize=192m -Xbatch -Dcoldfusion.home={application.home} -Djava.awt.headless=true -Dcoldfusion.rootDir={application.home} -Djava.security.policy={application.home}/lib/coldfusion.policy -Djava.security.auth.policy={application.home}/lib/neo-jaas.policy -Dcoldfusion.classPath={application.home}/lib/updates,{application.home}/lib,{application.home}/lib/axis2,{application.home}/gateway/lib/,{application.home}/wwwroot/WEB-INF/cfform/jars,{application.home}/wwwroot/WEB-INF/flex/jars,{application.home}/lib/oosdk/lib,{application.home}/lib/oosdk/classes -Dcoldfusion.libPath={application.home}/lib -Dorg.apache.coyote.USE-CUSTOM-STATUS-MSG-IN-HEADER=true -javaagent:C:\FusionReactor\instance\cfusion.CF2018\fusionreactor.jar=name=cfusion.CF2018,address=8088 -agentpath:C:\FusionReactor\instance\cfusion.CF2018\frjvmti_x64.dll
Adobe ColdFusion Solr¶
- 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=". Please make sure that all the Java Arguments are on the same line.
- Save the changes made.
...
lax.nl.java.option.additional=-server -Xmx256m -XX:+AggressiveOpts -XX:+ScavengeBeforeFullGC -XX:-UseParallelGC -DSTOP.PORT=8079 -DSTOP.KEY=cfstop -Dsolr.solr.home=multicore -javaagent:C:\FusionReactor\instance\cf9-solr\fusionreactor.jar=name=cf9-solr,address=8088 -agentpath:C:\FusionReactor\instance\cf9-solr\frjvmti_x64.dll
- Navigate to the following directory: {ColdFusion-Home}/solr/.
- Locate and open the cfsolr file with a text editor of your preference.
- Add the FusionReactor Java Agent and possibly the FusionReactor Production Debugger at the end of the line after "# JVM Args ". Please make sure that all the Java Arguments are on the same line.
- Save the changes made.
...
# JVM Args
JVMARGS="-XX:+AggressiveOpts -XX:+ScavengeBeforeFullGC -XX:-UseParallelGC -Xmx256m -Dsolr.solr.home=multicore -DSTOP.PORT=8079 -DSTOP.KEY=cfsolrstop -javaagent:/opt/fusionreactor/instance/cf9-solr/fusionreactor.jar=name=cf9-solr,address=8088 -agentpath:/opt/fusionreactor/instance/cf9-solr/libfrjvmti_x64.so"
...
Adobe ColdFusion Multi¶
- Navigate to the following directory: {ColdFusion-Multi-Home}/bin/.
- Locate and open the jvm.config file with a text editor of your preference.
- Add the FusionReactor Java Agent and possibly the FusionReactor Production Debugger at the end of the line after "# Arguments to VMx". Please make sure that all the Java Arguments are on the same line.
- Save the changes made.
...
# Arguments to VMx
java.args=-server -Xms256m -Xmx512m -XX:MaxPermSize=192m -Xbatch -Dcoldfusion.home={application.home} -Djava.awt.headless=true -Dcoldfusion.rootDir={application.home} -Djava.security.policy={application.home}/lib/coldfusion.policy -Djava.security.auth.policy={application.home}/lib/neo-jaas.policy -Dcoldfusion.classPath={application.home}/lib/updates,{application.home}/lib,{application.home}/lib/axis2,{application.home}/gateway/lib/,{application.home}/wwwroot/WEB-INF/cfform/jars,{application.home}/wwwroot/WEB-INF/flex/jars,{application.home}/lib/oosdk/lib,{application.home}/lib/oosdk/classes -Dcoldfusion.libPath={application.home}/lib -Dorg.apache.coyote.USE-CUSTOM-STATUS-MSG-IN-HEADER=true -javaagent:/opt/fusionreactor/instance/coldfusion9-multi/fusionreactor.jar=address=8088 -agentpath:/opt/fusionreactor/instance/coldfusion9-multi/libfrjvmti_x64.so