Important: This copy of the installation documentation available on the DVD may be dated, to access the latest
documentation, see
Before installing Adobe ColdFusion 10, review the ColdFusion product editions, system requirements, and other highlevel considerations.
About the ColdFusion installation
ColdFusion provides a powerful and flexible installation and upgrade process. The ColdFusion installation process
includes the following phases:
1 Plan the installation by determining your installation, configuration, and upgrade options.
2 Run the ColdFusion installer.
3 (J2EE configuration only) Deploy and configure ColdFusion on your J2EE application server.
The ColdFusion installation process supports the following scenarios:
ColdFusion Help.
1
New installation Install ColdFusion on a computer with no earlier ColdFusion installation.
Upgrade installation You can upgrade from ColdFusion 8 or ColdFusion 9. When upgrading, the installer
preserves the existing settings and installs in a new directory, automatically assigning ports that do not conflict with
the existing installation.
You can install ColdFusion 10 in any of the following configurations:
Server configuration Lets you install ColdFusion 10 with an embedded JEE server. This was formerly known as the
stand-alone configuration. For enterprise and developer licenses, you can create and manage new ColdFusion
instances. For information on installing the server configuration, see
page 4.
Note: ColdFusion 10 does not offer a separate multi-server mode of installation.
J2EE configuration (Enterprise Edition only) Lets you deploy ColdFusion 10 as a Java application running on a Java
2 Enterprise Edition (J2EE) application server, using a third-party J2EE server, such as IBM WebSphere or Oracle
WebLogic. When you use the J2EE configuration, you can deploy ColdFusion 10 multiple times on a single
computer. For information on installing the J2EE configuration, see
page 22.
“Installing the Server Configuration” on
“Installing the J2EE Configuration” on
Installing ColdFusion 10
ColdFusion 10 product editions
The ColdFusion 10 product editions are available on the Adobe website. To view the product editions, go to
www.adobe.com/go/learn_cfu_cfeditions_en.
Last updated 7/9/2012
INSTALLING COLDFUSION 10
Preparing to Install ColdFusion
System requirements
The ColdFusion 10 system requirements are available on the Adobe website. To view the system requirements,
including a list of supported J2EE application servers, see
www.adobe.com/go/learn_cfu_cfsysreqs_en.
Installation considerations
Before installing ColdFusion 10, review the considerations for installing or upgrading on your platforms.
Note: To use VisiBroker for CORBA connections in ColdFusion, see “Enabling CORBA support” on page 59.
• ColdFusion 10, ColdFusion 9, and ColdFusion 8 can coexist on the same system.
• In the case of ColdFusion cluster setup, any changes to the cluster settings, for example, adding a new member, or
changing member port (in the ColdFusion Administrator) causes web server restart. This may result in page time-out.
Refresh the page to resolve this issue.
• If ColdFusion uninstaller is not able to remove the connector for Apache (for example, in the case of Mac OS X),
do the following to manually remove it:
1 Delete the mod_jk.conf found in {apache_install_location}/conf/ directory.
2 Delete {cfroot}/config/wsconfig/1 folder which has the Apache connector file, mod_jk.so.
3 Remove the following line from {apache_install_location}/conf/httpd.conf file:
Include "{apache_install_location}\conf\mod_jk.conf".
2
4 Delete the file {apache_install_location}\conf\mod_jk.conf
• From the ColdFusion Administrator, when you wish to start multiple instances, start the cfusion instance first,
and then start the other instances..
• When you run the ColdFusion uninstaller, the logs folder (ColdFusion_Home/cfusion/) is deleted.
• When you install ColdFusion, you can install the Administrator Component to start and stop remote server.
Use the Remote Instance Administrator Component credentials to remotely start/stop the server from applications
such as Server Manager, Instance Manager in ColdFusion Administrator, or ColdFusion Builder.
• J2EE deployment of ColdFusion EAR or WAR on JRun is not supported. The EWS.jar must be present in the
systemclasspath while deploying on a J2EE server.
Installation considerations for all platforms
The following are installation considerations for all platforms:
Installation considerations for Windows
The following installation considerations are for Windows systems only:
• Do not configure the server running ColdFusion as a Primary Domain Controller (PDC) or Backup Domain
Controller (BDC). Adobe follows the Microsoft network model, in which the first level is the PDC or BDC. These
systems only manage the network or domain and are not designed to run application servers. ColdFusion should
reside on the second level of Microsoft Windows stand-alone systems. Stand-alone servers can participate in a
network or domain.
• Microsoft Windows XP handles only ten incoming TCP/IP connections concurrently. Therefore, Adobe does not
recommend using this operating system in a production environment; use Microsoft Windows 2003 Server and
Windows 2008 Server instead.
Last updated 7/9/2012
INSTALLING COLDFUSION 10
Preparing to Install ColdFusion
Installation considerations for UNIX
The following are installation considerations for UNIX systems only:
• For troubleshooting purposes, the installer creates the following log file during an installation or upgrade in UNIX:
cf_root/Adobe_ColdFusion_10_InstallLog.log. If you contact AdobeTechnical Support for installation support,
send them this file.
• If you are deploying the J2EE configuration on a platform other than Linux or Solaris, use the
ColdFusion_10_WWEJ_java.jar. This Java-only installer does not include features that require platform-specific
binary files, such as C++ CFX support.
3
Last updated 7/9/2012
Chapter 2: Installing the Server
Configuration
The ColdFusion server configuration contains an embedded copy of Tomcat and is most similar to earlier versions of
ColdFusion.
Note: The cf_root directory refers to your installation directory. By default, this directory is C:\ColdFusion10 in
Windows, and /opt/coldfusion10 in UNIX.
Gathering information necessary to install the server
configuration
Although the ColdFusion 10 installer provides an intuitive interface, it helps to plan your answers to the questions
asked by the installer. Use the following tables to help plan for installing the server configuration of ColdFusion 10.
Identify a list of IP addresses that will have access to the ColdFusion Administrator.
Last updated 7/9/2012
INSTALLING COLDFUSION 10
Installing the Server Configuration
QuestionAnswer
Configure OpenOffice___Yes
___No
Path to server binary? (Apache) ___________________________________________________
Whether to enable RDS?___ Yes
___ No
Note: RDS allows the server to interact with remotely connected developers. Adobe
recommends that you disable RDS for production servers.
Disabling RDS also disables the directory browsing applets in the ColdFusion
Administrator.
RDS password?___________________________________
Automatically check for server updates?___Yes
___No
Installing ColdFusion using the server configuration
5
Once you have determined the answers to the questions in the section “Gathering information necessary to install the
server configuration” on page 4, you can install the ColdFusion server configuration in Windows or UNIX, as
applicable.
Installing ColdFusion server configuration in Windows or MAC
Note: (Windows only) The Windows installer requires a computer that supports at least 256 colors.
Install ColdFusion in Windows or MAC
1 Read the online version of the Release Notes for any late-breaking information or updates. For more information,
www.adobe.com/go/learn_cfu_releasenote_en.
see
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 “Installation considerations for Windows” on page 2 and “Installation considerations for all platforms” on
page 2.
4 Determine the answers to the questions in the table in “Gathering information necessary to install the server
configuration” on page 4.
5 Close any applications that are currently running on your computer.
6 If you plan to configure an external web server, ensure that the web server is running.
7 Insert the DVD or download the setup file from the Adobe website.
8 If the installation wizard does not start automatically when you insert the DVD, locate the appropriate installer file
on the DVD and double-click it. If you are installing from a network or a downloaded file, locate the ColdFusion
installer Windows only: coldfusion_10_WWEJ_win32.exe/coldfusion_10_WWEJ_win64.exe and double-click
it.MAC only:Extract the coldfusion_10_WWEJ_osx10.dmg file and double-click the installer.
9 Follow the instructions in the installation wizard, and let it run to completion.
Last updated 7/9/2012
INSTALLING COLDFUSION 10
Installing the Server Configuration
10 Click OK to open the ColdFusion Administrator and configure the server.
11 To install any other integrated Adobe or third-party technologies, see “Installing Integrated Technologies” on
page 46.
12 Configure and manage your system, as described in “Configuring Your System” on page 52.
13 To learn about ColdFusion, read the documentation, which is accessible through the Documentation link on the
Resources page of the ColdFusion Administrator.
Installing the ColdFusion server configuration in UNIX
By default, ColdFusion installs into the /opt/coldfusion10 directory. You can also choose to install ColdFusion 10 in a
different directory.
Note: The default user is nobody for the UNIX installer running ColdFusion.
Install the ColdFusion server configuration in UNIX
1 Read the online version of the Release Notes for any late-breaking information or updates. For more information,
www.adobe.com/go/learn_cfu_releasenote_en.
see
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 “Installation considerations for UNIX” on page 3 and “Installation considerations for all platforms” on
page 2.
4 Determine the answers to the questions in the section “Gathering information necessary to install the server
configuration” on page 4.
5 If you plan to configure an external web server, ensure that the web server is running.
6 Log in as root.
7 Copy the installation file that is appropriate for your platform and locale from the DVD or Adobe website, and save
it to a directory on your local disk.
The following installation files are those for the supported server configuration platforms:
8 Using the cd command, go to the directory that contains the installation file.
9 Ensure that you have executable permission for the installation file. You can change permissions on the file by using
the following command:
chmod 777 ColdFusion_10_WWEJ_solaris64.bin
10 Start the installation with the following command:
./<filename>
Note: To run the Linux installer in GUI mode, type ./<filename> -i gui.
11 Follow the prompts in the installation program, and let it run to completion.
Last updated 7/9/2012
INSTALLING COLDFUSION 10
Installing the Server Configuration
Note: For security reasons, it is crucial that you do not use root for the runtime user.
12 Start ColdFusion with the following command:
/cf_root/cfusion/bin/coldfusion start
If you specified the use of an external web server when you ran the installer, ColdFusion automatically runs the
cf_root/cfusion/bin/cf-connectors.sh script when it starts the first time. This shell script runs the Web Server
Configuration Tool by using the settings that you specified during the installation. If there are problems running
this script, review the configuration and bin directory specifications, modify as necessary, and rerun the script. You
can also configure your web server by using the scripts in cf_root/cfusion/bin/connectors, as appropriate.
To stop ColdFusion, use the following command:
/cf_root/cfusion/bin/coldfusion stop
For more information on managing processes, see “Managing the ColdFusion process in UNIX” on page 53.
13 Open ColdFusion Administrator to run the Configuration wizard.
14 Configure and manage your system, as described in “Configuring Your System” on page 52.
15 To install any other integrated Adobe or third-party technologies, see “Installing Integrated Technologies” on
page 46.
16 To learn about ColdFusion, read the documentation, which is accessible through the Documentation link on the
Resources page of the ColdFusion Administrator.
7
ColdFusion installation directory structure
By default, ColdFusion10 is your installation directory. The following table describes the directory structure:
Last updated 7/9/2012
INSTALLING COLDFUSION 10
Installing the Server Configuration
DirectoryDescription
cfusionContains the following directories:
• bin: Programs for starting, stopping, and viewing information for ColdFusion, and to run Crystal Reports (Windows
only). It also contains the password reset scripts for server administrator and Admin Component for remote server
start and stop.
• cache: Repository for temporary files from ColdFusion.
• cfx: Sample C++ and Java CFX files with their supporting files. You can also store your CFX files in this directory
(although you can put them in any location that is defined in your classpath).
• charting: Files for the ColdFusion graphing and charting engine.
• CustomTags: Repository for your custom tags
• db: The sample Apache Derby databases for all platforms.
• gateway: Files for ColdFusion event gateways.
• jetty: Solr configuration files and files related to remote instance start and stop.
• jintegra: (Applies only to Windows) JIntegra programs, libraries, and other supporting files (for example, to integrate
Java and COM code; manage access to ActiveX controls (OCXs) that are hosted in a graphical user interface (GUI)
container; and register the JVM and type libraries). (Applicable only for Windows.)
8
• jnbridge: Files for .NET Integration Services.
• lib: JAR, XML, property, and other files that are the foundation of ColdFusion, for functionality such as queries,
charting, mail, security, Solr, and system probes.
• logs: Repository for ColdFusion log files. JRE-specific log files are in the runtime/logs directory. Console outputs are
logged in to
coldfusion-out.log instead of cfserver.log.
• Mail: Repository for spooled mail and mail that cannot be delivered.
• META-INF: XML metadata for the ColdFusion Administrator.
• MonitoringServer: Contains crossdomain.xml used for multi-server monitoring.
• registry: (UNIX only) Flat file to store registry settings
• runtime: Programs and supporting files for the ColdFusion runtime. Also, contains the Tomcat libraries. The conf
directory in runtime contains all Tomcat configuration files.
• stubs: web services.
• wwwroot: Default web root directory for the built-in web server. When running on other web servers, this directory
contains the CFIDE and WEB-INF directories; do not remove this directory.
The following table shows the directories in ColdFusion 9 and the corresponding ones in ColdFusion 10:
Last updated 7/9/2012
INSTALLING COLDFUSION 10
Installing the Server Configuration
ColdFusion 9ColdFusion 10
cfrootcfusion
9
ColdFusion9\runtim
e\jre
ColdFusion9\uninst
all
ColdFusion9\runtim
e\lib\wsconfig
ColdFusion10\jre
ColdFusion10\uninstall
ColdFusion10\config\wsconfi
g
Note: The ColdFusion_install\cfusion\bin directory contains the Jvm.config file.
Using the built-in web server
ColdFusion provides in-built Tomcat application server that you can use to develop ColdFusion applications.
During the ColdFusion installation, choose a web server. If you select the built-in web server, your web root directory
is located in the cfroot/wwwroot directory. By default, the web server runs on port 8500. It means that to display a page
in your application, append:
http://localhost:8500/YourApp1/index.cfm. If the page does not appear, ensure that the document is located in the
built-in web server’s web root directory; for example, C:\ColdFusion10\cfusion\wwwroot\YourApp1\index.cfm.
Note: If port 8500 is in use, the installer checks up to 100 ports (starting with 8501) to find a port that is not used.
ColdFusion uses that port and displays a message to indicate the selected port.
If you select an external web server during installation, the built-in web server is deactivated.
8500 to the host name or IP address in the URL; for example,
Change the port of the built-in web server
1 Back up the server.xml file.
This file is in the cfroot\cfusion\runtime\conf directory.
2 Open the original server.xml file for editing.
3 Search for internal webserver start. Update the port number.
Note: To enable OS Symbolic links after switching to Tomcat, edit the context.xml file found in
/cfusion/runtime/conf/ to add allowLinking="true" attribute to the context element.
Starting, stopping, and restarting ColdFusion
On Windows
❖ At prompt, go to the directory cfroot\cfusion\bin and run the following command: coldfusion.exe -start -
console.
To stop ColdFusion, use the command coldfusion.exe -stop -console. To restart, use the command
coldfusion.exe -restart -console.
Alternatively, you could also start, stop, and restart ColdFusion server using Windows Services.
10
Note: Paused tasks misfire when restarting ColdFusion.
Note: As possible in previous versions of ColdFusion, you can also use the cfstart script to start/stop the ColdFusion sever.
Note: The -console argument is optional. If it is not provided, the logs are saved in the cfroot\cfusion\logs
directory.
On UNIX/Linux/Solaris/MAC OSX
❖ At prompt, go to the directory cfroot\cfusion\bin and run the following command: ./coldfusion start
To stop ColdFusion, use the command ./coldfusion stop. To restart, use the command ./coldfusion
restart.
Note: Paused tasks misfire when restarting ColdFusion.
Note: Use the status command to find the status of ColdFusion server.
Editing the JVM settings
To edit the JVM settings, open the cfroot\cfusion\bin\jvm.config file and update the following details:
• java.home: Java home. If not set, ColdFusion verifies the default JRE in the cfroot\jre folder, in the registry, or
AVA_HOME environment variable.
in the J
• java.args: Settings for -Xmx, ColdFusion classpath, and so on.
• java.library.path: Settings for library path.
• java.class.path: Additional classpath settings in a comma-separated list.
• application.home: Default is cfroot\cfusion
Last updated 7/9/2012
INSTALLING COLDFUSION 10
Installing the Server Configuration
Creating and editing a new ColdFusion instance
After installing ColdFusion in stand-alone mode, create an instance of ColdFusion using the ColdFusion
Administrator.
1 In the ColdFusion Administrator, go to Enterprise Manager > Instance Manager.
2 Click Add New Instance.
3 Enter the server name and server directory.
4 (Optional) Check Create Windows Service.
5 Click Submit.
In the Instance Manager, start, stop, restart, delete, access website, or access administrator.
6 Click the Edit icon to edit the instance manager.
7 Edit the internal webserver port and load balancing factor.
Load balancing factor represents the load the instance takes up. Load balancing factor is applicable only if the
instance is part of the cluster.
For example, the load balancing factor for the first instance is 1 and that of the second instance is 2. The second
instance receives two times more requests.
11
8 Click Submit.
Registering a remote instance
Register a new remote instance of ColdFusion using the ColdFusion Administrator.
1 In the ColdFusion Administrator, click Enterprise Manager > Instance Manager > Register Remote Instance.
2 Specify the details such as instance name, remote host, remote port, http port, and JVM route.
Instance name is a string that is used to identify the instance. Remote port and HTTP port are displayed in the
Instance Manager page. These ports are provided in the
the instance. Remote port is the AJP port and the instance port is the connector port.
JVM route is the remote instance name. The JVM route is an attribute that acts as an identifier for a particular
Tomcat worker. JVM route is provided in the
For more information on JVM route, see
Note: A remote instance and a local instance cannot have the same JVM route if they are added in a cluster with sticky
session enabled.
3 If you want remote start and stop functionality over HTTP, enter Admin Component port, Admin Component
user name, and Admin Component password. The default Admin Component port is 8985.
Note: To enable this feature, install admin component on the remote host.
a In the remote host, open the ColdFusion_installtion\cfusion\jetty\etc\jetty.xml.
b Search for the string, org.mortbay.jetty.bio.SocketConnector.
c Update the host with the IP address of the remote host.
d Restart the jetty server.
server.xml file available in the runtime\conf folder of the instance.
server.xml file available in the runtime\conf folder of
Last updated 7/9/2012
INSTALLING COLDFUSION 10
Installing the Server Configuration
4 Click Submit.
Adding start and stop functionality to a remote instance
over HTTPS
You can start and stop a remote instance over HTTPS or HTTP. To enable this feature, install admin component while
installing ColdFusion. You can install Solr, admin component, or both while installing ColdFusion.
1 Do the following in the remote host.
a In the remote host, generate a private key in a keystore file. Provide the details at prompt.
c Register the remote instance using the ColdFusion Administrator. For more information, see “Registering a
remote instance” on page 11.
d In the Register Remote Instance page, enter the admin component port, admin component user name, and
admin component password (user name and password. These details you specified while installing the Remote
Instance Administrator). The default https port is 8443.
e Select the HTTPS check box.
f Click Submit.
Setting up remote start and stop functionality using
HTTPS in Server Manager
You can set up start and stop remote instance functionality in Server Manager. To enable this feature, install Remote
Instance Administrator while installing ColdFusion.
1 Do the following in the remote host.
a In the remote host, generate a private key in a keystore file. Provide the details at prompt.
3 Open wwwroot\CFIDE\ServerManager\ServerManager.air on the local host.
4 Specify the connection details.
5 Click Start/Stop Details.
6 Select HTTPS.
7 Provide the following information:
• App Server Username: User name for the admin component that you specified while installing ColdFusion.
Default value is admin.
• App Server Password: Password for the admin component.
• Port: ColdFusion remote instance’s HTTPS port.
• Server: ColdFusion remote instance name.
• ColdFusion Version: For ColdFusion, 10.
• Admin Server Port: Default https port is 8443. Port of the Jetty server.
• Context Root: Value is AdminServlet.
8 Click Apply.
14
Setting up remote start and stop functionality using
HTTP in Server Manager
You can set up start and stop remote instance functionality in Server Manager. To enable this feature, install Remote
Instance Administrator while installing ColdFusion.
1 Do the following in the remote host:
a In the remote host, open the ColdFusion_installtion\cfusion\jetty\etc\jetty.xml.
b Search for the string, org.mortbay.jetty.bio.SocketConnector.
c Update the host with the IP address of the remote host.
d Start the jetty server. Go to the ColdFusion_installation\cfusion\jetty directory and use jetty.exe.
You can also use the jetty services in the Windows services.
2 Open wwwroot\CFIDE\ServerManager\ServerManager.air on the local host.
3 Specify the connection details.
4 Click Start / Stop Details.
5 Select HTTP.
Last updated 7/9/2012
INSTALLING COLDFUSION 10
Installing the Server Configuration
6 Provide the following information:
• App Server Username: User name for the admin component that you specified while installing ColdFusion.
The default value is
admin.
• App Server Password: Password for the admin component.
• Port: ColdFusion remote instance’s HTTP port.
• Server: ColdFusion remote instance name.
• ColdFusion Version: For ColdFusion Zeus, 10.
• Admin Server Port: Default https port is 8985. Port of the Jetty server.
• Context Root: Value is AdminServlet.
7 Click Apply.
Managing clusters
Manage clusters using the ColdFusion Administrator.
1 In the ColdFusion Administrator, click Enterprise Manager > Cluster Manager.
2 Enter a cluster name and then click Add.
3 Click the cluster name and move the servers to the cluster based on the requirement.
4 (If necessary) Edit the multicast port.
Multicast port is used to group the cluster members together. Default value of multicast port is 45564. After you
create a cluster, the port is added in the
cfroot\config\cluster.xml file.
15
For more information on multicast port, see http://tomcat.apache.org/tomcat-7.0-doc/config/cluster-
membership.html.
5 Specify if you need sticky session.
Sticky session ensures that after a session is established on an instance, all future requests from the client are
mapped to that instance.
6 Click Submit.
Note: Restart the web server if cluster instances are modified.
Adding a remote instance to a cluster
To add a remote instance to a cluster, add the cluster block to the remote instance’s server.xml. Then, register the
remote instance and add the instance to the cluster. For more information on configuring clusters on Tomcat, see
SSL allows the browser and the server to communicate over a secured connection. Data that is sent is encrypted at one
side, transmitted, and then decrypted at the other end. For more information about SSL configuration on Tomcat, see
Note: If you do not provide a password, the default password for keystore and key is changeit. If you don’t want to
use the default password, ensure that you provide the same password for the keystore and the key.
Running this command creates a certificate.keystore in the following location:
• Windows: C:\Documents and Settings\user's_directory
• Linux: usr/home
2 Open the cfroot\cfusion\runtime\conf\server.xml file and search for the string Define a SSL HTTP/1.1.
3 Uncomment the connector details and update the section as follows: