Defining Additional Server Instances; Deploying Coldfusion Mx - MACROMEDIA COLDFUSION MX 61 - CONFIGURING AND ADMINISTERING COLDFUSION MX Manual

Hide thumbs Also See for COLDFUSION MX 61 - CONFIGURING AND ADMINISTERING COLDFUSION MX:
Table of Contents

Advertisement

File location considerations
In the J2EE configuration, you can store CFM pages either under the external web server root or
under the ColdFusion web application root. ColdFusion MX first looks for CFM files in the web
application root and then looks in the external web server root.
The discussions in this chapter assume that you are using an external web server and that you
store your CFM pages under the external web server root.

Defining additional server instances

A single installation of JRun supports multiple server instances (also called JRun servers) running
on the same machine. Each server instance has associated with it a separate running Java Virtual
Machine (JVM), which executes all ColdFusion pages for that instance. The JVM, also known as
the Java Runtime Environment (JRE), is the software implementation of a CPU. It contains
everything necessary to run programs written for the Java platform. Additionally, you can define
classpaths, data sources, and other resources for each application at the server instance level.
You use the J2EE application server's management console to define and manage server instances.
For JRun, this is the JRun Management Console (JMC). For more information on the JMC, see
Getting Started with JRun in the JRun documentation set.
To define a server instance:
Ensure that the admin JRun server is running by starting the JRun Launcher (jrun_root/bin/
1
jrun.exe in Windows, jrun_root/bin/jrun on UNIX). Start the admin server if it is not running.
Open the JMC by typing http://hostname:8000 in a browser. You are prompted for the user
2
name and password specified during the installation.
Select Create New Server, and specify a host name, server name, and server directory. In most
3
cases you can accept the suggested host name and server directory.
Click Create Server. JRun shows the ports to be used by the new server instance.
4
(Optional) Specify different port numbers and click Update Port Numbers. The JMC
5
automatically looks for unused ports so you don't typically change the suggested port numbers.
Make a note of the JRun web server (JWS) port number; you use it later in this procedure to
ensure a successful server startup.
Click Finish. JRun creates a server that includes a default enterprise application.
6
Start the server instance using the JMC, the JRun Launcher, or the command line (jrun_root
7
bin jrun start
Ensure that the server instance is running by typing http://hostname:jwsportnumber/index.jsp in
8
a browser. A Welcome page appears.

Deploying ColdFusion MX

After you create the new server instance, you must deploy the ColdFusion MX application. When
using JRun, you must deploy an expanded directory structure. If you already have ColdFusion
MX deployed on a JRun server, you can copy the ColdFusion application to the new JRun server
and it will deploy automatically. Depending on your requirements, you might have to modify
server settings, such as the data sources defined to each server instance.
For more information on deploying ColdFusion MX, see Installing and Using ColdFusion MX.
76
Chapter 6: Using Multiple Server Instances
servername).
/

Advertisement

Table of Contents
loading

This manual is also suitable for:

Coldfusion mx

Table of Contents