Adobe® ColdFusion™ Installing and Using ColdFusion for AIX®, Linux®, Mac OS, Solaris™, UNIX®, and Windows®.
If thi s gui de is di str ibu ted wit h so ftw are t hat inc lude s an end use r ag ree men t, t his g ui de, a s we ll a s th e so ftw are des cri bed in it, is furnished under license
and may be used or copied only in accordance with the terms of such license. Except as permitted by any such license, no part of this guide may be
reproduced, stored in a retrieval system, or transmitted, in any form or by any means, electronic, mechanical, recording, or otherwise, without the prior
written permission of Adobe Systems Incorporated. Please note that the content in this guide is protected under copyright law even if it is not distributed
with software that includes an end user license agreement.
The content of this guide is furnished for informational use only, is subject to change without notice, and should not be construed as a commitment by
Adobe Systems Incorporated. Adobe Systems Incorporated assumes no responsibility or liability for any errors or inaccuracies that may appear in the
informational content contained in this guide.
Any references to company names in sample templates are for demonstration purposes only and are not intended to refer to any actual organization.
Adobe, the Adobe logo, Adobe PDF, ColdFusion, Dreamweaver, Flash, Flex Builder, HomeSite, and LiveCycle are either registered trademarks or
trademarks of Adobe Systems Incorporated in the United States and/or other countries.
AIX and IBM are trademarks of International Business Machines Corporation in the United States, other countries, or both. Java is a trademark or
registered trademark of Sun Microsystems, Inc. in the United States and other countries. Linux is the registered trademark of Linus Torvalds in the U.S.
and other countries. Apple, Macintosh, and Mac OS are trademarks of Apple Inc., registered in the United States and other countries. Solaris is a
trademark or registered trademark of Sun Microsystems, Inc. in the United States and other countries. UNIX is a trademark of The Open Group in the
US and other c ountries. Microsoft i s either a registered t rademark or a tradem ark of Microsoft Corp oration in the United States and/ or other countries.
Red Hat is a trademark or registered trademark of Red Hat, Inc. in the United States and other countries. Sun is a trademark or registered trademark of
Sun Microsystems, Inc. in the United States and other countries. SUSE is a trademark of Novell, Inc. All other trademarks are the property of their
respective owners.
This product includes software developed by the Apache Software Foundation (http://www.apache.org/)
This product contains either BISAFE and/or TIPEM software by RSA Data Security, Inc.
Portions include technology used under license from Autonomy, and are copyrighted.
Verity and TOPIC are registered trademarks of Autonomy.Adobe Systems Incorporated, 345 Park Avenue, San Jose, California 95110, USA.
Not ice t o U.S. Gove rnme nt En d User s. Th e So ftwa re and Doc umen tati on ar e “Com merc ial Items ,” as t hat t erm is de fine d at 4 8 C.F.R . §2.101, consisting
of “Commercial Computer Software” and “Commercial Computer Software Documentation,” as such terms are used in 48 C.F.R. §12.212 or 48 C.F.R.
§227.7202, as applicable. Consistent with 48 C.F.R. §12.212 or 48 C.F.R. §§227.7202-1 through 227.7202-4, as applicable, the Commercial Computer
Softw are and Commercial C omputer Softw are Document ation are being licensed to U.S. Gover nment end use rs (a) only as Commercial Items and (b)
with only those rights as are granted to all other end users pursuant to the terms and conditions herein. Unpublished-rights reserved under the
copyright laws of the United States. For U.S. Government End Users, Adobe agrees to comply with all applicable equal opportunity laws including, if
appropriate, the provisions of Executive Order 11246, as amended, Section 402 of the Vietnam Era Veterans Readjustment Assistance Act of 1974 (38
USC 4212), and Section 503 of the Rehabilitation Act of 1973, as amended, and the regulations at 41 CFR Parts 60-1 through 60-60, 60-250, and 60-
741. The affirmative action clause and regulations contained in the preceding sentence shall be incorporated by reference.
Installing and Using ColdFusion is intended for anyone who installs and configures Adobe ColdFusion.
About ColdFusion documentation
The ColdFusion documentation is designed to provide support for the complete spectrum of participants.
Documentation set
BookDescription
1
Installing and Using ColdFusion
Configuring and Administering ColdFusion
ColdFusion Developer’s
Guide
CFML ReferenceProvides descriptions, syntax, usage, and code examples for all ColdFusion tags, func-
Describes system installation and basic configuration for Windows, Macintoch, Solaris,
Linux, and AIX.
Part 1 describes how to manage the ColdFusion environment, including connecting
to your data sources, configuring security for your applications, and monitoring server
activity. Part 2 describes Verity search tools and utilities that you can use for configuring the Verity Search Server engine, as well as creating, managing, and troubleshooting Verity collections.
Describes how to develop your dynamic web applications, including retrieving and
updating your data, using structures, and forms.
tions, and variables.
Viewing online documentation
All ColdFusion documentation is available online in HTML and Adobe Acrobat Portable Document Format
(PDF) files. Go to the documentation home page for ColdFusion on the Adobe website:
www.adobe.com/support/documentation/en/coldfusion/. Also, you can view the documentation in LiveDocs,
which lets you add comments to pages and view the latest comments added by Adobe, by going to
www.adobe.com/go/livedocs_cf8docs.
CHAPTER 1
2
Introduction
Chapter 2: Preparing to Install
ColdFusion
Before installing Adobe ColdFusion 8, you should review ColdFusion product editions, system requirements, and
other high-level considerations.
ColdFusion provides a powerful and flexible installation and upgrade process. The ColdFusion installation
process includes the following phases:
3
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:
New installation Install ColdFusion on a computer with no earlier ColdFusion installation.
Upgrade installation You can upgrade from ColdFusion MX, ColdFusion MX 6.1, and ColdFusion MX 7. When
upgrading from ColdFusion MX, ColdFusion MX 6.1, or ColdFusion MX 7, the installer preserves the existing
settings and installs in a new directory, automatically assigning ports that do not conflict with the existing installation.
CHAPTER 2
4
Preparing to Install ColdFusion
You can install ColdFusion 8 in any of the following configurations:
Server configuration Lets you install one instance of ColdFusion 8 with an embedded J2EE server. This configu-
ration most closely resembles the ColdFusion MX base release and other releases prior to ColdFusion MX, such
as ColdFusion 5 and ColdFus ion 4.5. This was for merly known as the stand-alone configuration. For information
on installing the server configuration, see “Installing the Server Configuration” on page 7.
Multiserver configuration (Enterprise Edition only) Installs Macromedia® JRun™ from Adobe and automatically
deploys ColdFusion 8 in a separate JRun server instance. This configuration supports server instance creation and
ColdFusion deployment in the ColdFusion Administrator and lets you manage ColdFusion 8 deployments on
multiple JRun servers. For information on installing the multiserver configuration, see “Installing the Multiserver
Configuration” on page 17.
J2EE configuration (Enterprise Edition only) Lets you deploy ColdFusion 8 as a Java application running on a Java
2 Enterprise Edition (J2EE) application server, using the bundled license of JRun or a third-party J2EE server, such
as IBM WebSphere or BEA WebLogic. When you use the J2EE configuration, you can deploy ColdFusion 8
multiple times on a single computer. For information on installing the J2EE configuration, see “Installing the J2EE
Configuration” on page 25.
ColdFusion 8 product editions
The ColdFusion 8 product editions are available on the Adobe website. To view the product editions, go to
www.adobe.com/go/cf8_editions/.
System requirements
The ColdFusion 8 system requirements are available on the Adobe website. To view the system requirements,
including a list of supported J2EE application servers, go to www.adobe.com/
Installation considerations
Before installing ColdFusion 8, 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 88.
ADOBE COLDFUSION 8
Installing and Using ColdFusion
Installation considerations for all platforms
The following are installation considerations for all platforms:
• Adobe supports installing ColdFusion 8 side-by-side with ColdFusion MX 7, ColdFusion MX 6.1 and
ColdFusion MX.
• If you installed a Beta version of ColdFusion 8, you must uninstall it before you install the release version.
• Adobe recommends using the built-in (internal port-based) web server for development, but not in a
production environment.
• Earlier versions of ColdFusion, including ColdFusion MX 6.1, can coexist with ColdFusion 8; however, you
cannot install ColdFusion 8 in the directory where the earlier version resides.
You can switch to use a different web server for ColdFusion 8 after the installation, by following the instructions for your platform and the web server in “Configuring web servers” on page 79.
• During installation of the server configuration, if you select the built-in web server, your web root directory is
C:/ColdFusion8/wwwroot by default. This web server runs on the 8500 port. To display a page, append 8500 to
the end of the host name or IP address; for example, http://localhost:8500/MyApp.cfm. If the page still does not
appear, ensure that the document is located in the ColdFusion 8 web root directory; for example,
C:/ColdFusion8/wwwroot\MyApp.cfm. For more information, see “Using the built-in web server” on page 13.
• ColdFusion 8 is built in Java. By default, ColdFusion installs and runs on JDK 1.6. If you install ColdFusion 8
on any J2EE server that is not running on JRE 1.6, you must replace the tools.jar file in the lib directory with
the tools.jar file from the appropriate JRE.
• In an optimal production environment, each ColdFusion application is hosted on a dedicated server; database,
mail, and other servers are not on the same computer.
• Before you install ColdFusion 8, you should shut down ColdFusion MX 7 Verity to ensure proper migration of
Veri t y col lec t io n s .
5
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 2000 or Microsoft Windows 2003 stand-alone systems.
Stand-alone servers can participate in a network or domain.
CHAPTER 2
6
Preparing to Install ColdFusion
• Windows 2000 Professional or Microsoft Windows 2003 handles only ten TCP/IP connections concurrently.
Therefore, Adobe does not recommend using this operating system in a production environment; use
Windows 2000 Server or Microsoft Windows 2003 Server instead.
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_8_InstallLog.log. If you contact AdobeTechnical Support for installation
support, you must send them this file.
• If you are deploying the J2EE configuration on a platform other than Linux or Solaris, use the coldfusion-80-
other.jar installer. This Java-only installer does not include features that require platform-specific binary files,
such as Verity and C++ CFX support.
Chapter 3: Installing the Server
Configuration
The ColdFusion server configuration contains an embedded copy of Macromedia JRun from Adobe 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:\ColdFusion8 in
Windows, and /opt/coldfusion8 in UNIX.
Gathering information necessary to install the server
configuration
Although the ColdFusion 8 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 8.
Serial number for Adobe LiveCycle Data
Services Enterprise Suite (ES)? (Only if you
selected to install the Enterprise Edition of
LiveCycle Data Services ES)
If you leave this blank, the installer installs
the Express Edition. For information on
upgrading to the Enterprise Edition after
completing the ColdFusion installation, see
the LiveCycle Data Services ES documentation.
Configure web server or use built-in web
server?
Web server to configure? (Only if you do not
use the built-in web server.)
Configuration directory? (Apache and
SunONE)
Path to server binary? (Apache) ___________________________________________________
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?___________________________________
Installing ColdFusion using the server configuration
Once you have determined the answers to the questions in the section “Gathering information necessary to install
the server configuration” on page 7, you can then do the following, as applicable:
9
• Installing ColdFusion server configuration in Windows
• Installing the ColdFusion server configuration in UNIX
Installing ColdFusion server configuration in Windows
Note: The Windows installer requires a computer that supports at least 256 colors.
Install ColdFusion in Windows
Read the online version of the Release Notes for any late-breaking information or updates. For more infor-
1
mation, see www.adobe.com/go/cf8_releasenotes.
2 Ensure that your operating system meets the system requirements described on the Adobe website at
www.adobe.com/go/cf8_sysreqs.
3 Review “Installation considerations for Windows” on page 5 and “Installation considerations for all platforms”
on page 5.
4 Determine the answers to the questions in the table in “Gathering information necessary to install the server
configuration” on page 7.
5 Close any applications that are currently running on your computer.
CHAPTER 3
10
Installing the Server Configuration
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 setup.exe file on the
DVD and double-click it. If you are installing from a network or a downloaded file, locate the ColdFusion installation executable file (coldfusion-80-win.exe) and double-click it.
9 Follow the instructions in the installation wizard, and let it run to completion.
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 67.
12 Configure and manage your system, as described in “Configuring Your System” on page 75.
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 de fault, C oldFusi on installs into the /opt/cold fusion8 directory. To instal l it into a d iffer ent d irector y, you must
create that directory before you run the installation.
Note: The default user is nobody for the UNIX installer running ColdFusion.
Install the ColdFusion server configuration in UNIX
Read the online version of the Release Notes for any late-breaking information or updates. For more infor-
1
mation, see www.adobe.com/go/cf8_releasenotes.
2 Ensure that your operating system meets the system requirements described on the Adobe website at
www.adobe.com/go/cf8_sysreqs.
3 Review “Installation considerations for UNIX” on page 6 and “Installation considerations for all platforms” on
page 5.
4 Determine the answers to the questions in the section “Gathering information necessary to install the server
configuration” on page 7.
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.
ADOBE COLDFUSION 8
Installing and Using ColdFusion
The following installation files are those for the supported server configuration platforms:
•coldfusion-80-lin.bin
•coldfusion-80-sol64.bin
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-80-sol64.bin
10 Start the installation with the following command:
./<filename>
Note: To run the UNIX installer in GUI mode, type ./<filename> -i gui.
11 Follow the prompts in the installation program, and let it run to completion.
Note: For security reasons, it is crucial that you do not use root for the run-time user.
12 Start ColdFusion with the following command:
/cf_root/bin/coldfusion start
11
If you specified the use of an external web server when you ran the installer, ColdFusion automatically runs
the cf_root/bin/cfmx-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/bin/connectors, as appropriate.
To stop ColdFusion, use the following command:
/cf_root/bin/coldfusion stop
For more information on managing processes, see “Managing the ColdFusion process in UNIX” on page 77.
13 Open ColdFusion Administrator to run the Configuration Wizard.
14 Configure and manage your system, as described in “Configuring Your System” on page 75.
15 To install any other integrated Adobe or third-party technologies, see “Installing Integrated Technologies” on
page 67.
16 To learn about ColdFusion, read the documentation, which is accessible through the Documentation link on
the Resources page of the ColdFusion Administrator.
CHAPTER 3
12
Installing the Server Configuration
ColdFusion server configuration directory structure
The following table describes the directories under the cf_root directory when you install the server configuration
of ColdFusion:
DirectoryDescription
binPrograms for starting, stopping, and viewing information for ColdFusion, and to run Crystal
cacheRepository for temporary files from ColdFusion.
cfxSample C++ and Java CFX files with their supporting files. You can also store your CFX files in this
chartingFiles for the ColdFusion graphing and charting engine.
CustomTagsRepository for your custom tags.
dbThe sample Apache Derby databases for all platforms.
gatewayFiles for ColdFusion event gateways.
jintegraJIntegra programs, libraries, and other supporting files (for example, to integrate Java and COM
jnbridgeFiles for .NET Integration Services.
libJAR, XML, property, and other files that are the foundation of ColdFusion, for functionality such
logsRepository for ColdFusion log files.
MailRepository for spooled mail and mail that cannot be delivered.
META-INFXML metadata for the ColdFusion Administrator.
Reports (Windows only).
directory (although you can put them in any location that is defined in your classpath).
code; manage access to ActiveX controls (OCXs) that are hosted in a graphical user interface (GUI)
container; and register the JVM and type libraries).
as queries, charting, mail, security, Verity searches, and system probes.
JRE-specific log files are in the runtime/logs directory.
registry(UNIX only) Flat file to store registry settings
runtimePrograms and supporting files for the ColdFusion run time.
In Windows, the files for the bundled JRE are in runtime\jre.
runtime/jreFiles for the Java Runtime Environment (JRE) that is bundled with ColdFusion.
DirectoryDescription
uninstallFiles to uninstall ColdFusion.
verityVerity collections, configurations, and services directories.
ADOBE COLDFUSION 8
Installing and Using ColdFusion
13
wwwrootDefault web root directory for the built-in web server. When running on other web servers, this
directory contains only the WEB-INF directory; do not remove this directory.
Using the built-in web server
ColdFusion has its own web server that you can use to develop ColdFusion applications, without depending on
an external web server, such as Internet Information Server (IIS), Apache, or SunONE. Adobe does not
recommend using the built-in web server in a production environment. However, it is more than suitable for
development, allowing you to create virtual directories and set the default document (for example, default.cfm or
index.cfm).
During the ColdFusion installation, you must choose a web server. If you select the built-in web server, your web
root directory is located in the cf_root/wwwroot directory. By default, the web server runs on port 8500. This
means that to display a page in your application, you must append :8500 to the host name or IP address in the
URL; for example,
http://localhost:8500/YourApp1/index.cfm. (If the page still does not appear, ensure that the document is located
in the built-in web server’s web root directory; for example, C:\ColdFusion8\wwwroot\YourApp1\index.cfm.)
Note: If you install the server configuration of ColdFusion with the built-in server and port 8500 is in use, for example
by ColdFusion MX, ColdFusion MX 6.1, or ColdFusion MX 7, the installer starts with port 8501 and looks at up to
100 ports to find one that is not being used by an application that is running. ColdFusion uses that port and displays
a message to indicate which port it selected.
If you select an external web server, the built-in web server is deactivated.
Switching the port for the built-in web server
You can change the port on which the built-in web server runs.
Change the port for the built-in web server
1
Back up the jrun.xml file.
CHAPTER 3
14
Installing the Server Configuration
This file is in the cf_root\runtime\servers\coldfusion\SERVER-INF directory in Windows, and in the
cf_root/runtime/servers/coldfusion/SERVER-INF directory in UNIX.
2 Open the original jrun.xml file for editing.
3 Change the port number specified in the WebService port attribute (near the bottom of the file):
Note: Ensure that the deactivated attribute is set to false.
4 Save the file, and restart ColdFusion.
Switching from another web server
You can sw itch from an e xternal web server to th e built- in ColdFusion web server with out reinst alling, e ven if you
did not select it during installation.
Switch from an external web server to the built-in web server
1 Back up the jrun.xml file.
This file is in the cf_root\runtime\servers\default\SERVER-INF directory in Windows, and in the
cf_root/runtime/servers/default/SERVER-INF directory in UNIX.
2 Open the original jrun.xml file for editing.
3 Locate the WebService service and set the deactivated attribute to false:
6 Copy the CFM pages in your web root directory (including the CFIDE and cfdocs directories) to the
ColdFusion cf_root/wwwroot directory, and use appropriate URL references (for example,
http://localhost:8500/YourApp1/index.cfm). If you switch from the built-in web server to an external web server,
you must copy the contents of the cf_root/wwwroot directory to your web server root. If you are using Adobe
Dreamweaver, ensure that you reconfigure any sites that you move from one server to another.
7 Restart ColdFusion.
To switch to another web server, follow the instructions for the appropriate web server on your platform in
“Configuring web servers” on page 79.
15
Uninstalling ColdFusion
Uninstalling ColdFusion deletes all program files and related components from your computer.
Uninstall ColdFusion from Windows
1 Select Start > Settings > Control Panel > Add/Remove Programs > Adobe ColdFusion 8.
2 Click Change/Remove.
3 When the program completes, remove any remaining files and directories in the cf_root directory.
4 In some cases, the uninstall program may require you to restart the computer.
ColdFusion is deleted from your server.
Uninstall ColdFusion from UNIX
Log in as root.
1
2 Enter the following command to go to the cf_root/uninstall directory:
cd cf_root/uninstall
CHAPTER 3
16
Installing the Server Configuration
3 Enter the following command:
./uninstall.sh
4 When the program completes, remove any remaining files and directories in the cf_root directory.
ColdFusion is deleted from your server.
Chapter 4: Installing the Multiserver
Configuration
The multiserver configuration deploys and configures ColdFusion on its own JRun server.
Gathering information necessary to install the
multiserver configuration
17
Although the ColdFusion 8 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 multiserver configuration of
ColdFusion 8.
Serial number for Adobe LiveCycle Data
Services ES? (Only if you selected to install
the Enterprise Edition of LiveCycle Data
Services ES)
If you leave this blank, the installer installs
the Express Edition. For information on
upgrading to the Enterprise Edition after
completing the ColdFusion installation, see
the LiveCycle Data Services ES documentation.
Configure web server or use built-in web
server?
Web server to configure? (Only if you do not
use the built-in web server.)
Configuration directory? (Apache and
SunONE)
Path to server binary? (Apache) ___________________________________________________
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?___________________________________
About multiserver configuration
When you install ColdFusion using the multiserver configuration, the installation wizard automatically deploys
and configures ColdFusion on its own JRun server. This configuration supports server instance creation in the
ColdFusion Administrator and lets you manage ColdFusion deployments on multiple JRun servers.
19
If you already have JRun 4 installed and you want to use the server instance creation feature of ColdFusion, you
must uninstall it before you install the multiserver configuration of ColdFusion.
When you use the multiserver configuration, you can use the ColdFusion Administrator to define multiple server
instances on a single computer, each running ColdFusion. Running multiple instances of ColdFusion has the
following advantages:
Application isolation You deploy an independent application to each server instance. Each server instance has
separate settings, and because each server instance runs in its own instance of the JVM, problems encountered by
one application have no effect on other applications.
Load balancing and failover You deploy the same application to each server instance and add the instances to
a cluster. The web server connector optimizes performance and stability by automatically balancing load and by
switching requests to another server instance when a server instance stops running.
For more information on configuring ColdFusion on multiple server instances, including detailed information
for configuring multiple server instances when running on JRun 4, see Configuring and Administering ColdFusion.
For more information about J2EE servers, see “ColdFusion and J2EE application servers” on page 27.
CHAPTER 4
20
Installing the Multiserver Configuration
Installing ColdFusion using the multiserver
configuration
You must install ColdFusion using the multiserver configuration on a computer that has no earlier versions of
JRun.
During the multiserver installation procedure, the installation wizard performs the following actions:
• Installs JRun 4.
• Creates a JRun server named cfusion (in addition to the admin and samples JRun servers).
• (Windows) Creates and starts Windows services for the admin and cfusion JRun servers.
• Configures the jrun_root/bin/jvm.config file, as appropriate for the platform.
• (Optional) Configures the JRun cfusion server for use with an external web server. In Windows, the installation
wizard runs the Web Server Configuration Tool. In UNIX, the installation wizard creates a shell script that you
can run to execute the Web Server Configuration Tool with the settings specified in the installation wizard.
Note: The default JRun web server port for the cfusion server is 8300. However, if you install the multiserver configuration of ColdFusion with the built-in ser ver and port 8300 is in use, the installer starts with port 8301 and looks at
up to 100 ports to find one that is not being used by an application that is running. ColdFusion uses that port and
displays a message to indicate which port it selected.
Installing the multiserver configuration in Windows
Note: The Windows installer requires a computer that supports at least 256 colors.
Install the multiserver configuration in Windows
1 Read the online version of the Release Notes for any late-breaking information or updates. For more infor-
mation, see www.adobe.com/go/cf8_releasenotes.
2 Ensure that your operating system meets the system requirements described on the Adobe website at
www.adobe.com/go/cf8_sysreqs.
3 Review the “Installation considerations for Windows” on page 5 and “Installation considerations for all
platforms” on page 5.
4 Determine the answers to the questions in the section “Gathering information necessary to install the multi-
server configuration” on page 17.
5 Close any applications that are currently running on your computer.
ADOBE COLDFUSION 8
Installing and Using ColdFusion
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 setup.exe file on the
DVD and double-click it. If you are installing from a network or a downloaded file, locate the ColdFusion installation executable file (coldfusion-80-win.exe) and double-click it.
9 Follow the instructions in the installation wizard and let it run to completion. Ensure that you select Multi-
server configuration.
Note: The installation wizard disables the multiserver configuration option if JRun 4 is already installed on the
computer.
10 Open the ColdFusion Administrator to configure the server.
11 Configure and manage your system, as described in “Configuring Your System” on page 75.
12 To install any other integrated Adobe or third-party technologies, see “Installing Integrated Technologies” on
page 67.
13 To learn about ColdFusion, read the documentation, which is accessible through the Documentation link on
the Resources page of the ColdFusion Administrator.
14 Code CFM pages.
If you configured an external web server, store CFM pages under your web root directory. If you are using the
built-in web server, store CFM pages under the web application root (jrun_root/servers/cfusion/cfusion-
ear/cfusion-war) and access these pages using a URL of the form http://hostname:8300/context-root/filename.cfm,
as follows:
21
• hostname The machine name, IP address, or localhost.
• contextroot The context root for the ColdFusion web application. For more information, see “Context root”
on page 28.
• 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 C:/JRun4/servers/cfusion/cfusion-ear/cfusionwar/eisapp/index.cfm using the built-in JRun web server and a context root of cfmx, you specify the URL as
http://localhost:8300/cfusion/eisapp/index.cfm.
CHAPTER 4
22
Installing the Multiserver Configuration
Installing the multiserver configuration in UNIX
Install the multiserver configuration in UNIX
1 Read the online version of the Release Notes for any late-breaking information or updates. For more infor-
mation, see www.adobe.com/go/cf8_releasenotes.
2 Ensure that your operating system meets the system requirements described on the Adobe website at
www.adobe.com/go/cf8_sysreqs.
3 Review the “Installation considerations for UNIX” on page 6 and “Installation considerations for all platforms”
on page 5.
4 Determine the answers to the questions in the section “Gathering information necessary to install the multi-
server configuration” on page 17.
5 Log in as root.
6 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:
•coldfusion-80-lin.bin
•coldfusion-80-sol.bin
7 Using the cd command, go to the directory that contains the installation file.
8 Start the installation with the following command:
./<filename> -i console
The installation program starts.
Note: To run the UNIX installer in GUI mode, type
9 Follow the instructions in the installation wizard. Ensure that you select Multiserver configuration.
./<filename> -i gui.
Note: For security reasons, it is crucial that you do not use root for the run-time user.
10 When the installation completes successfully, start the JRun cfusion server:
jrun_root/bin/jrun -start cfusion
11 If you specified external web server settings when you ran the installation wizard, run the jrun_root/bin/cfmx-
connectors.sh shell script. The script runs the Web Server Configuration Tool, which configures the web server
for use with ColdFusion. The web server should also be running.
ADOBE COLDFUSION 8
Installing and Using ColdFusion
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 using the scripts in
jrun_root/bin/connectors, or through java -jar jrun_root/lib/wsconfig.jar, as appropriate.
Note: This step is important, because if you specified the use of an external web server when you ran the installation wizard, the CFIDE and cfdocs directories are placed under that web server’s root directory, and you must
successfully configure the web server before you open the ColdFusion Administrator.
12 Open ColdFusion Administrator to run the configuration wizard.
13 Configure and manage your system, as described in “Configuring Your System” on page 75.
14 To learn about ColdFusion, read the documentation, which is accessible through the Documentation link on
the Resources page of the ColdFusion Administrator.
15 Code ColdFusion CFM pages.
If you configured an external web server, store CFM pages under your web root directory. If you are using the
built-in web server, store CFM pages under the web application root (jrun_root/servers/cfusion/cfusion-
ear/cfusion-war) and access these pages using a URL of the form http://hostname:8300/context-root/filename.cfm,
as follows:
• hostname The machine name, IP address, or localhost.
• contextroot The context root for the ColdFusion web application. For more information, see “Context root”
on page 28.
• filename The directory path and file to display. The path is relative to the cfusion-war directory.
23
For example, to display a CFM file located at /opt/jrun4/servers/cfusion/cfusion-ear/cfusionwar/eisapp/index.cfm using the built-in JRun web server and a context root of cfmx, you specify the URL as
http://localhost:8300/cfmx/eisapp/index.cfm.
Configuration
In addi tion to e nabl ing s andb ox sec ur ity in the ColdF usi on Ad min istr ato r, the app lica tion ser ver mus t be r un nin g
a security manager (
java.lang.SecurityManager) and you must define the following JVM arguments:
CHAPTER 4
24
Installing the Multiserver Configuration
You configure these settings by using a text editor to modify the jrun_root/bin/jvm.config file. or through the
Settings panel of the JRun Management Console (JMC).
Uninstalling ColdFusion
The steps for uninstalling ColdFusion depend on your operating system.
Uninstall ColdFusion from Windows
1 Select Start > Settings > Control Panel > Add/Remove Programs > Adobe ColdFusion 8 with JRun 4.
2 Click Change/Remove.
3 When the program completes, remove any remaining files and directories in the cf_webapp_root directory.
4 In some cases, the uninstall program may require you to restart the computer.
ColdFusion is deleted from your server.
Uninstall ColdFusion from UNIX
1 Log in as root.
2 Enter the following command to go to the cf_webapp_root/uninstall directory:
cd cf_webapp_root/uninstall
3 Enter the following command:
./uninstall.sh
4 When the program completes, remove any remaining files and directories in the cf_webapp_root directory.
ColdFusion is deleted from your server.
Chapter 5: Installing the J2EE
Configuration
Follow the instructions in this topic to install, deploy, and undeploy Adobe ColdFusion Enterprise Edition in the
J2EE configuration. Also follow the specific instructions for installing Macromedia JRun 4 from Adobe (which
automatically deploys and configures ColdFusion), and general instructions for installing all J2EE application
servers.
Gathering information necessary to install the J2EE
configuration
Although the ColdFusion 8 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 J2EE configuration of ColdFusion 8.
Serial number for ColdFusion?___________________________________________________
Type of installation?___ Server configuration
___ Multiserver configuration
_X_ J2EE configuration
CHAPTER 5
26
Installing the J2EE Configuration
QuestionAnswer
EAR or WAR file?___ EAR
___ WAR
Subcomponents to install?___ ColdFusion 8 ODBC Services
___ ColdFusion 8 Search Services
___ .NET Integration Services
___ ColdFusion 8 Documentation
___ LiveCycle Data Services ES
Installation directory for EAR or WAR file?___________________________________________________
Serial number for Adobe LiveCycle Data
Services ES? (Only if you selected to install
the Enterprise Edition of LiveCycle Data
Services ES)
If you leave this blank, the installer installs
the Express Edition. See the LiveCycle Data
Services ES documentation for information
on upgrading to the Enterprise Edition after
completing the ColdFusion installation.
Whether the EAR/WAR is to be used with
WebSphere (Only if you selected to install
LiveCycle Data Services ES.)
Context root for ColdFusion (EAR file only,
default=cfusion)?