Adobe 38043755 - ColdFusion Enterprise - Mac Installation Manual page 28

Installation guide
Hide thumbs Also See for 38043755 - ColdFusion Enterprise - Mac:
Table of Contents

Advertisement

INSTALLING COLDFUSION 10
Installing the J2EE Configuration
enterprise applications in these directory structures as-is or in compressed EAR files that contain these directory
structures. However, ColdFusion must run from an expanded directory structure:
cfusion-ear
META-INF
application.xml
cfusion-war
WEB-INF
web.xml
CFIDE
cfdocs
rds.war
WEB-INF
web.xml
If your J2EE application server supports enterprise applications, install and deploy the EAR file. For more information,
see
"Installing an EAR file or WAR
Context root
Because the J2EE environment supports multiple, isolated web applications running in a server instance, J2EE web
applications running in a server are each rooted at a unique base URL, called a context root (or context path). The J2EE
application server uses this initial portion of the URL (that is, the portion immediately following http://hostname) to
determine which web application services an incoming request.
For example, if you are running ColdFusion with a context root of cf10, you display the ColdFusion Administrator
using the URL http://localhost/cf10/CFIDE/administrator/index.cfm.
Most J2EE application servers allow one application in each server instance to use a forward slash (/) for the context
root. Setting the context root to / for the ColdFusion application is especially useful when serving CFM pages from the
web server, because it supports the functionality most similar to earlier ColdFusion versions. In addition, the RDS web
application is not required if you use a context root of /.
When you deploy the ColdFusion EAR file, it uses the context root that you specified when you ran the installation
wizard, which copied your specification to the
you deploy ColdFusion as a WAR file, you use application-server-specific functionality to define the context root.
Multiple instances
When you use the J2EE configuration, you can define multiple server instances on a single computer, each running
ColdFusion. Running multiple instances of ColdFusion has the following advantages:
You deploy an independent application to each server instance. Each server instance has
Application isolation
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
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.
files" on page 25.
context-root
You deploy the same application to each server instance and add the instances to a
Last updated 7/9/2012
element of the META-INF/application.xml file. When
24

Advertisement

Table of Contents
loading

This manual is also suitable for:

Coldfusion 10

Table of Contents