View comments | RSS feed
Contents > Configuring and Administering ColdFusion MX > Using Multiple Server Instances > Defining additional server instances PreviousNext

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:

  1. Ensure that the admin JRun server is running by starting the JRun Launcher (jrun_root/bin/jrun.exe in Windows, jrun_root/bin/jrun on UNIX). Start the admin server if it is not running.
  2. Open the JMC by typing http://hostname:8000 in a browser. You are prompted for the user name and password specified during the installation.
  3. Select Create New Server, and specify a host name, server name, and server directory. In most cases you can accept the suggested host name and server directory.
  4. Click Create Server. JRun shows the ports to be used by the new server instance.
  5. (Optional) Specify different port numbers and click Update Port Numbers. The JMC 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.
  6. Click Finish. JRun creates a server that includes a default enterprise application.
  7. Start the server instance using the JMC, the JRun Launcher, or the command line (jrun_root/bin jrun start servername).
  8. Ensure that the server instance is running by typing http://hostname:jwsportnumber/index.jsp in a browser. A Welcome page appears.

Contents > Configuring and Administering ColdFusion MX > Using Multiple Server Instances > Defining additional server instances PreviousNext

ColdFusion 9 | ColdFusion 8 | ColdFusion MX 7 | ColdFusion MX 6.1 | ColdFusion MX | Forums | Developer Center | Bug Reporting

Version 6.1

Comments are no longer accepted for ColdFusion MX 6.1. ColdFusion 8 is the current version.

Comments


jrunrandy said on Jul 9, 2004 at 7:31 AM :
For information on defining JRun server instances as windows services, see http://www.macromedia.com/support/coldfusion/ts/documents/autostart_multiple_instance.htm.

This is also explained in the Installing JRun manual, http://livedocs.macromedia.com/jrun/4/Installing_JRun/install5.htm#1129815

 

RSS feed | Send me an e-mail when comments are added to this page | Comment Report

Current page: http://livedocs.adobe.com/coldfusion/6.1/htmldocs/cluster3.htm