MACROMEDIA COLDFUSION 4.5-ADMINISTRING COLDFUSION SERVER Specifications Page 32

  • Download
  • Add to my manuals
  • Print
  • Page
    / 112
  • Table of contents
  • TROUBLESHOOTING
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 31
CHAPTER 5
28
Installing the J2EE Configuration
Enterprise application archive file Contains the ColdFusion and RDS redirector web applications. An enter-
prise application archive (also called an EAR) uses a directory structure that contains a META-INF/appli-
cation.xml deployment descriptor, which defines the web applications that it contains. J2EE application servers
can deploy 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, you should install and deploy the EAR file. For
more information, see “Installing an EAR file or WAR files” on page 30.
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 cf8, you display the ColdFusion Administrator
using the URL http://localhost/cf8/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 instal-
lation wizard, which copied your specification to the
context-root element of the META-INF/application.xml
file. When you deploy ColdFusion as a WAR file, you use application-server-specific functionality to define the
context root.
Page view 31
1 2 ... 27 28 29 30 31 32 33 34 35 36 37 ... 111 112

Comments to this Manuals

No comments