User guide

40
INSTALLING COLDFUSION 9
Installing the J2EE Configuration
Last updated 1/20/2012
Enable ColdFusion security and graphing support in UNIX
1 Open the startup script for the WebLogic domain, which is typically the startWebLogic.sh file, which is located in
the wldomain_root\bin directory.
2 Establish or append to the following variables:
CF_SECURITY_JVM_OPTIONS
CF_GRAPHING_JVM_OPTIONS
MEM_ARGS
If you are not using JRockit, append -Xms32m -Xmx512m -Xss64k -XX:MaxPermSize=128m to the existing
MEM_ARGS line of the startup script.
If you are using JRockit, append -Xms32m -Xmx512m -Xss64k to the existing MEM_ARGS line of the startup
script.
JAVA_OPTIONS
Append the CF_SECURITY_JVM_OPTIONS variable to the existing JAVA_OPTIONS line of the startup
script)
For example:
# Security options are only required if enabling sandbox security
CF_SECURITY_JVM_OPTIONS="-Djava.security.manager"
CF_GRAPHING_JVM_OPTIONS="-Djava.awt.headless=true"
# You must append ${CF_SECURITY_JVM_OPTIONS} and ${CF_GRAPHING_JVM_OPTIONS}
# to the existing JAVA_OPTIONS value.
# JAVA_OPTIONS="default java options ${CF_SECURITY_JVM_OPTIONS}
${CF_GRAPHING_JVM_OPTIONS}"
# You must append the following to the MEM_ARGS variable coded
# in the server startup file:
# "-Xmx512m -XX:MaxPermSize=128m"
3 Save the startup script and restart the WebLogic Server.
Deploying ColdFusion 9 on Oracle Application Server 10g
The following instructions assume that you installed the J2EE configuration of ColdFusion 9 and that the EAR file to
deploy is under C:\ColdFusion_J2ee\cfusion.ear.
Before you deploy ColdFusion on Oracle 10g, ensure that the following is true:
Oracle Application Server 10g is installed and running.
You set up an OC4J J2EE container for the ColdFusion installation. Adobe recommends that you create an OC4J
instance for ColdFusion to avoid potential classpath issues with other applications.
(Recommended, but not required) You created an OC4J instance. To do so, connect to the Oracle Application
Server using Enterprise Manager and create an OC4J instance. By default the HTTP URL is
http://machineName:1810. If 1810 is unavailable, the next available port in sequential order is used.
You increased the heap size to at least 256 MB (although 512 MB is preferred). To do so, select the OC4J instance
in Enterprise Manager, and select Administration / Server Properties. Under the Command Line Options category,
add -Xmx256M to the Java Options, and then restart the OC4J instance.
Deploy ColdFusion 9 on Oracle 10g
1 Ensure that the application server and the OC4J instance are running.