User guide

23
INSTALLING COLDFUSION 9
Installing the J2EE Configuration
Last updated 1/20/2012
Note: For security reasons, it is crucial that you do not use root for the run-time user. Instead, use a nonprivileged user
that does not have a login shell, such as the default user account nobody, which exists for this type of situation.
11 Deploy ColdFusion and configure Java settings, as required by your application server.
For more information, see “ColdFusion J2EE deployment and configuration” on page 25.
Note: If you deployed the rds.war file, and an error message indicates that RDS is not installed or not enabled, edit the
rds.properties file to match the ColdFusion context root, restart the application server, and re-open the ColdFusion
Administrator.
12 Open the ColdFusion Administrator to run the Configuration wizard.
13 Configure and manage your system, as described in “Configuring Your System” on page 58.
14 If using JRun, add the Log4J-1.2.12.jar file to the JRun server classpath. By default it is in the ColdFusion classpath.
15 To learn about ColdFusion, read the documentation, which is accessible through the Documentation link on the
Resources page of the ColdFusion Administrator.
16 Code and test ColdFusion CFM pages.
Store CFM pages under the web application root (either cfusion-ear/cfusion-war or cfusion-war) and access these
pages using a URL of the form http://hostname:portnumber/context-root/filename.cfm, as follows:
hostname: The machine name, IP address, or localhost.
portnumber: The port number used by your application server’s web server.
contextroot: The context root for the ColdFusion web application. For more information, see Context root” on
page 19.
filename: The directory path and file to display. The path is relative to the cfusion-war directory.
For example, to display a CFM file located at /opt/jrun4/servers/myserver/cfusion-ear/cfusion-
war/eisapp/index.cfm using the built-in JRun web server and a context root of cfusion, you specify the URL as
http://localhost:8100/cfusion/eisapp/index.cfm.
Installing an EAR file or WAR files in Mac OS X
You can install the ColdFusion J2EE configuration for Mac OS X. If you are updating an existing deployment of
ColdFusion 8 for J2EE, see
Updating from an earlier version for J2EE” on page 24 before you continue.
Install ColdFusion in Mac OS X (J2EE configuration)
1 Read the online version of the Release Notes for any late-breaking information or updates.
For more information, see www.adobe.com/go/learn_cfu_releasenote_en.
2 Ensure that your operating system meets the system requirements described on the Adobe website at
www.adobe.com/go/learn_cfu_cfsysreqs_en.
3 Review the Installation considerations for UNIX” on page 3 and Installation considerations for all platforms” on
page 2.
4 Determine and record environment information, as described in “Preparing to install using the J2EE
configuration” on page 20.
5 Determine the answers to the questions in the section “Gathering information necessary to install the J2EE
configuration” on page 17.
6 Log in as root.