| Contents > Installing and Using ColdFusion MX > Installing the J2EE Configuration > ColdFusion MX J2EE deployment and configuration > Deployment |
|
|
|
|
||
The instructions at www.macromedia.com/go/cfmxj2ee-cert provide detailed, application-server-specific ColdFusion MX deployment instructions. Depending on your application server, the instructions describe deployment of an EAR file or WAR files in either a compressed archive or an expanded directory structure. When deploying ColdFusion MX on an existing version of JRun 4, you must expand the EAR file or WAR files manually before deployment.
The following procedures describe EAR and WAR deployment on an existing version of JRun 4.
Tip: The instructions for expanding cfusion.ear also apply when deploying ColdFusion MX on BEA WebLogic.
When deploying ColdFusion MX as an enterprise application on an existing JRun server, you must expand the EAR and the WARs it contains before deployment.
Note: If you are already using the default-ear application and can't delete it, you must use a context root other than / for cfusion-ear. If you specified / when installing ColdFusion MX 6.1, 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 deploying cfusion-ear, you access ColdFusion pages by specifying http://hostname:portnumber/contextroot/pagename.cfm.
If you are updating an existing deployment of ColdFusion MX for J2EE, you must undeploy ColdFusion MX for J2EE before deploying ColdFusion MX 6.1, as described in Updating from ColdFusion MX for J2EE.
md cfusion-ear (mkdir cfusion-ear on UNIX)
jar command:cd cfusion-ear java_home/bin/jar -xvf ../cfusion.earThis expands cfusion.ear into cfusion.war and rds.war (rds.war is not included if you specified a context root of / when running the installation wizard).
md cfusion-war (mkdir cfusion-war on UNIX)
jar command:cd cfusion-war java_root/bin/jar -xvf ../cfusion.warThis expands cfusion.war.
cd .. md rds-war (mkdir rds-war on UNIX)
jar command:cd rds-war java_root/bin/jar -xvf ../rds.warThis expands rds.war.
cd .. del cfusion.war (rm cfusion.war on UNIX) del rds.war (rm rds.war on UNIX)
web-uri element from cfusion.war to cfusion-war (or the name of the directory that contains the expanded cfusion.war file). Change the web-uri element for rds.war to rds-war. A directory name in the web-uri element cannot contain a dot.Although it is best to deploy ColdFusion MX as an enterprise application, you can also deploy ColdFusion MX as a web application. When deploying ColdFusion MX as a web application on an existing JRun server, you expand the cfusion.war file, deploy it, and optionally modify the context root. For complete information on deploying ColdFusion MX on JRun 4 as a WAR file, see www.macromedia.com/go/cfmxj2ee-cert.
|
|
||
| Contents > Installing and Using ColdFusion MX > Installing the J2EE Configuration > ColdFusion MX J2EE deployment and configuration > Deployment |
|
|
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.
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/instal16.htm
Comments
anuragmehta said on Aug 19, 2003 at 5:36 AM : anuragmehta said on Aug 19, 2003 at 7:08 AM : No screen name said on Oct 20, 2003 at 6:03 AM : drew_falkman said on Nov 10, 2003 at 10:53 AM : ke4pym said on Dec 11, 2003 at 11:10 AM : digitalparser said on Mar 14, 2004 at 8:30 AM : digitalparser said on Mar 14, 2004 at 8:49 AM : digitalparser said on Mar 14, 2004 at 8:53 AM :