Specifications

© 2013 Adobe Systems Incorporated and its licensors. All rights reserved.
2.
1.
2.
3.
4.
5.
6.
7.
8.
Note
If you are already using an application with context root of /, use a context root
other than / for the cfusion-ear file. If you specified / when you installed ColdFusion,
you can change it by opening the cfusion-ear/META-INF/application.xml file in a
text editor and modifying the context-root element. After you deploy the cfusion-ear
file, you access ColdFusion pages by specifying http://hostname:portnumbe
.r/contextroot/pagename.cfm
If you are updating an existing deployment of ColdFusion, undeploy it for J2EE before you deploy
ColdFusion 10.
When you deploy ColdFusion on an existing version of JBoss, expand the EAR file or WAR files
manually before deployment.
This document uses the following conventions:
JBOSS_HOME Directory where JBoss is installed, for example, C:\jboss-as-7.1.1.Final in Windows or
/usr/local/jboss-as-7.1.1.Final on UNIX
JBOSS_DEPLOY_DIR Application deployment directory in JBoss, for example,
C:\jboss-as-7.1.1.Final\standalone\deployments in Windows
CF_WEBAPP_ROOT Directory where ColdFusion is deployed, for example:
C:\jboss-as-7.1.1.Final\standalone\deployments\cfusion.ear\cfusion.war
TEMP_LOCATION Temporary location where you extract the cfusion.ear file.
Deploy ColdFusion on JBoss
Set JAVA_HOME to the appropriate JDK.
Install ColdFusion by using the J2EE deployment option and selecting to create an EAR file (the
default). The installation program creates the cfusion.ear file in the install directory.
Extract the cfusion.ear file into a TEMP_LOCATION\cfusion.ear folder. This step creates cfusion.war
and rds.war files and a META-INF folder in the cfusion.ear folder.
In the cfusion.ear folder, extract the cfusion.war and rds.war files into folders named cfusion and rds,
respectively.
Delete the compressed cfusion.war and rds.war files.
Rename the cfusion and rds folders to cfusion.war and rds.war, respectively.
Stop JBoss if it is running.
Copy or move the {{TEMP_LOCATION\cfusion.ear }}folder into the {{JBOSS_DEPLOY_DIR }}folder.
For JBoss 7, place the exploded ear in the {{JBOSS_HOME/standalone/deployments }}directory and
create an empty file cfusion.ear.dodeploy (if your EAR directory name is cfusion.ear.) The resulting
directory structure will appear as follows: