Installing the J2EE configuration with JRun
37
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 CD or download the setup file from the Macromedia website.
8
If the installation wizard does not start automatically when you insert the CD, locate setup.exe
on the CD and double-click it. If you are installing from a network or a downloaded file, locate
the ColdFusion MX 6.1 installation executable file (coldfusion-61-win.exe) and double-click it.
The installation wizard starts.
9
Follow the instructions in the installation wizard. Be sure to start by selecting Install New
Version of ColdFusion MX, then J2EE Configuration (ColdFusion MX with JRun 4).
Tip:
The installation wizard disables the ColdFusion MX with JRun 4 option if JRun 4 is already
installed on the computer.
After the Pre-Installation Summary pane, the files are copied to your computer.
10
Open the ColdFusion MX Administrator in a browser, using http://localhost/
context-
root
/CFIDE/administrator/index.cfm (external web server) or http://localhost:8300/
context-
root
/CFIDE/administrator/index.cfm (built-in JRun web server). Because opening the
ColdFusion MX Administrator for the first time automatically invokes the Configuration
Wizard, it is best to open the Administrator at this time.
Note:
If you are accessing ColdFusion MX 6.1 from a remote computer, use the previous URL with
the host name or IP address of the remote computer instead of
localhost
.
11
Answer the questions asked by the Configuration Wizard.
Completion of the Configuration Wizard and display of the ColdFusion MX Administrator
indicates a successful install of ColdFusion MX.
12
Configure and manage your system, as described in
Chapter 4, “Configuring Your System,”
on page 49
.
Tip:
If you do not plan on using the default JRun server, you can conserve system resources by
opening the Services control panel and setting the Macromedia JRun default server service to
Manual or Disabled.
13
Code and test ColdFusion MX 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, localhost, or 127.0.0.1.
■
contextroot
The context root for the ColdFusion MX web application. For more
information, see
“Context root” on page 33
.
■
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\cfusion-
war\eisapp\index.cfm using the built-in JRun web server and a context root of cfmx, you
specify the URL as http://127.0.0.1:8300/cfmx/eisapp/index.cfm.
Installing the J2EE configuration with JRun on UNIX
This section explains how to install Macromedia JRun 4 and the ColdFusion MX 6.1 J2EE
configuration on UNIX.
Содержание COLDFUSION MX 61 - CONFIGURING AND ADMINISTERING COLDFUSION...
Страница 1: ...Installing and Using ColdFusion MX...
Страница 6: ...6 Introduction...
Страница 30: ...30 Chapter 2 Installing the Server Configuration...
Страница 48: ...48 Chapter 3 Installing the J2EE Configuration...
Страница 70: ...70 Index...