Chef Recipe - jvm.config.erb
#
# 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=C:\\ColdFusion\\jre
application.home=C:\\ColdFusion\\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 -<%= @min_jvm %> -<%= @max_jvm %> -Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=5005 -XX:MaxMetaspaceSize=192m -XX:+UseParallelGC -Xbatch -Dges.config.serverEnvironment=development -Dcoldfusion.home={application.home} -Duser.language=en -Dcoldfusion.rootDir={application.home} -Dcoldfusion.libPath={application.home}/lib -Dorg.apache.coyote.USE_CUSTOM_STATUS_MSG_IN_HEADER=true -Dcoldfusion.jsafe.defaultalgo=FIPS186Random -Dorg.eclipse.jetty.util.log.class=org.eclipse.jetty.util.log.JavaUtilLog -Djava.util.logging.config.file={application.home}/lib/logging.properties -Dges.config.serverEnvironment=<%= @server_environment %> -Dges.config.webServerHostName=<%= @server_hostname %> -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

_setup_2_jvmconfig