| Contents > Installing and Using ColdFusion MX > Installing the J2EE Configuration > J2EE application servers > 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 MX with a context root of cfmx, you display the ColdFusion MX Administrator using the URL http://localhost/cfmx/CFIDE/administrator/index.cfm.
Most J2EE application servers allow one application in each server instance to use / (forward slash) for the context root. Setting the context root to / for the ColdFusion MX application is especially useful when serving CFM pages from the web server because it supports the functionality most similar to previous ColdFusion releases. In addition, the RDS web application is not required if you use a context root of /.
When you deploy the ColdFusion MX EAR file, it uses the context root specified when you ran the installation wizard (which copied your specification to the context-root element of the META-INF/application.xml file). When you deploy ColdFusion MX as a WAR file, you use application-server-specific functionality to define the context root.
Note: Each web application running in a server instance must have a unique context root. The JRun default web application uses / for a context root so if you want to use / for the ColdFusion MX context root when deploying on JRun, you must either delete the default-war application or change the default-war context root by editing the default-ear/META-INF/application.xml file.
|
|
||
| Contents > Installing and Using ColdFusion MX > Installing the J2EE Configuration > J2EE application servers > Context root |
|
|
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.
Send me an e-mail when comments are added to this page | Comment Report
Current page: http://livedocs.adobe.com/coldfusion/6.1/htmldocs/instala4.htm