![MACROMEDIA COLFUSION MX 7 - INSTALLING AND USING COLDFUSION... Manual Download Page 82](http://html1.mh-extra.com/html/macromedia/colfusion-mx-7-installing-and-using-coldfusion/colfusion-mx-7-installing-and-using-coldfusion_manual_3307073082.webp)
82
Chapter 5: Deploying ColdFusion Applications
Deployment considerations
Once the archive file is created, you deploy using standard ColdFusion MX J2EE configuration
deployment techniques. For more information, see “Installing an EAR file or WAR files” in
Chapter 4, “Installing the J2EE Configuration” of
Installing and Using ColdFusion MX
.
Post-deployment considerations
Depending on your application, the resources that it uses, and the environment in which it is
deployed, you may need to perform post-deployment configuration, as follows:
Mappings
The ColdFusion mappings in the archived application refer to directories on the
original computer. If those directories do not exist on the deployment computer, modify the
ColdFusion mappings using the ColdFusion MX Administrator or the Administrator API.
Verity
You must ensure that the Verity server settings on the original computer are appropriate
for the deployment computer. If not, you must modify the Verity server settings using the
ColdFusion MX Administrator or the Administrator API.
Serial number
J2EE deployment is a ColdFusion MX Enterprise feature. To upgrade to the
Enterprise Edition, enter a serial number using the ColdFusion MX Administrator or the
Administrator API.
For more information on the Administrator API, see
“Administrator API” on page 39
.
Using the cfcompile utility
You can use the
cfcompile
utility for the following purposes:
Precompiling ColdFusion pages
Precompile your application’s CFM pages into Java class files.
At runtime, ColdFusion MX does not have to compile CFM pages.
Sourceless distribution
Create CFM pages as Java bytecode. You can deploy these CFM pages
instead of CFML source code.
The
cfcompile
utility is located in the
cf_root
/bin (server configuration) or
cf_webapp_root
/WEB-INF/cfusion/bin (multiserver and J2EE configuration) directory.
Precompiling ColdFusion pages
You can use the
cfcompile
utility to precompile ColdFusion pages (CFM, CFC, and CFR files).
This can enhance initial page loading time at runtime.
Use the following command to compile ColdFusion pages into Java classes:
cfcompile
webroot
[
directory-to-compile
]
Summary of Contents for COLFUSION MX 7 - INSTALLING AND USING COLDFUSION...
Page 1: ...COLDFUSION MX7 Configuring and Administering ColdFusion MX ...
Page 6: ...6 Contents ...
Page 10: ......
Page 78: ...78 Chapter 4 Web Server Management ...
Page 84: ...84 Chapter 5 Deploying ColdFusion Applications ...
Page 102: ...102 Chapter 7 Using Multiple Server Instances ...
Page 104: ......
Page 108: ...108 Chapter 8 Introducing Verity and Verity Tools ...