Skip to content

Instantly share code, notes, and snippets.

@LoicMahieu
Created July 9, 2014 12:53
Show Gist options
  • Save LoicMahieu/5bd800c675700c1b0c22 to your computer and use it in GitHub Desktop.
Save LoicMahieu/5bd800c675700c1b0c22 to your computer and use it in GitHub Desktop.
CF10 jvm.config
#
# VM configuration
#
# Where to find JVM, if {java.home}/jre exists then that JVM is used
# if not then it must be the path to the JRE itself
java.home=/opt/coldfusion10/jre/
application.home=/opt/coldfusion10/cfusion
#
# If no java.home is specified a VM is located by looking in these places in this
# order:
#
# 1) ../runtime/jre
# 2) registry (windows only)
# 3) JAVA_HOME env var plus jre (ie $JAVA_HOME/jre)
# 4) java.exe in path
#
# Arguments to VM
java.args=-server -Djava.awt.headless=true -Xms512m -Xmx6144m -XX:MaxPermSize=1024m -XX:+UseParallelGC -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/var/log/coldfusion/heapdump -Xbatch -Dcoldfusion.home={application.home} -Djava.security.egd=file:/dev/./urandom -Dcoldfusion.rootDir={application.home} -Dcoldfusion.libPath={application.home}/lib -Dorg.apache.coyote.USE_CUSTOM_STATUS_MSG_IN_HEADER=true -Dcoldfusion.jsafe.defaultalgo=FIPS186Random -Duser.language=fr -Duser.region=BE -Dsun.io.useCanonCaches=false -Dcoldfusion.classPath={application.home}/lib/updates,{application.home}/lib,{application.home}/lib/axis2,{application.home}/gateway/lib/,{application.home}/wwwroot/WEB-INF/flex/jars,{application.home}/wwwroot/WEB-INF/cfform/jars
# Comma separated list of shared library path
java.library.path={application.home}/lib/international
java.class.path={application.home}/lib/oosdk/lib,{application.home}/lib/oosdk/classes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment