User guide
28
INSTALLING COLDFUSION 9
Installing the J2EE Configuration
Last updated 1/20/2012
6 Click the server in the left pane.
7 Click the cfusion Web Application.
8 Change the context path to / (instead of /cfusion).
9 Click Apply.
10 Restart the JRun server that is running ColdFusion.
You must deploy the rds.war file to a context root of /CFIDE (all uppercase). When deploying on JRun, this means
that you should expand the rds.war file into a directory named CFIDE.
Deploy ColdFusion 9 on JRun 4 as a WAR file
1 Create a directory named cfusion.
The directory can have any name, but these instructions assume a directory name of cfusion under your JRun server
instance. This directory becomes the context root into which ColdFusion is deployed. For example, if you are
installing ColdFusion in the default JRun server, the directory is /opt/jrun4/servers/default/cfusion.
2 Create a directory named CFIDE.
This directory is the context root into which the remote development service (RDS) application is deployed, for
example, /opt/jrun4/servers/default/CFIDE.
3 Stop the JRun server to which you want to deploy ColdFusion by using the JRun Launcher (jrun_root/bin/jrun) or
type jrun_root/bin/jrun stop server_name in a console window.
4 If you haven't done so already, open a console window, navigate to the cfusion directory, and use the jar utility to
uncompress the cfusion.war file, by using the following commands:
cd jrun_root/jrun4/servers/servername/cfusion
java_home/bin/jar -xvf cfusion_install_directory/cfusion.war
The directory jrun_root refers to the directory in which you installed JRun 4, for example, C:\JRun 4 or /opt/jrun4.
Replace servername with the name of the server to which you are deploying ColdFusion. For example, if you
installed ColdFusion in the default JRun server, replace servername with
default.
5 Navigate to the CFIDE directory and use the jar utility to uncompress the rds.war file, using the following
commands:
cd jrun_root/jrun4/servers/servername/CFIDE (or cd ../CFIDE)
java_home/bin/jar -xvf cfusion_install_directory/rds.war
6 Configure JVM settings through the Settings panel of the JRun Management Console (JMC) or by using a text
editor to modify the jrun_root/bin/jvm.config file. Ensure that the following entries are in the JVM classpath
(
java.class.path):
WEB-INF/flex/jars
7 To enable COM support (Windows only), add the following jIntegra binary directories to the JVM’s native library
path (
java.library.path):
WEB-INF/cfusion/jintegra/bin
WEB-INF/cfusion/jintegra/bin/international
8 (optional) To enable CORBA support, copy the vbjorb.jar file to the WEB-INF/cfusion/lib directory and define the
following argument:
-Xbootclasspath/a:"cf_webapp_root/WEB-INF/cfusion/lib/vbjorb.jar"
9 To enable charting (UNIX only), define the following argument:
-Djava.awt.graphicsenv=com.gp.java2d.ExGraphicsEnvironment"