Using The Cfcompile Utility - Adobe 38043755 - ColdFusion Enterprise - Mac Administration Manual

Configuring and administering
Hide thumbs Also See for 38043755 - ColdFusion Enterprise - Mac:
Table of Contents

Advertisement

CONFIGURING AND ADMINISTERING COLDFUSION 10
Deploying ColdFusion Applications
Deployment considerations
After the archive file is created, you deploy by using standard ColdFusion J2EE configuration deployment techniques.
For more information, see Installing an EAR file or WAR files in Installing the J2EE Configuration of Installing
ColdFusion.
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:
The ColdFusion mappings in the archived application refer to directories on the original computer. If those
Mappings
directories do not exist on the deployment computer, modify the ColdFusion mappings by using the ColdFusion
Administrator or the Administrator API.
J2EE deployment is a ColdFusion Enterprise feature. To upgrade to the Enterprise Edition, use the
Serial number
ColdFusion Administrator or the Administrator API to enter a serial number.
For more information on the Administrator API, see

Using the cfcompile utility

You can use the
cfcompile
Precompiling ColdFusion pages
ColdFusion does not have to compile CFM pages.
Create CFM pages as Java bytecode. You can deploy these CFM pages instead of CFML source
Sourceless distribution
code.
The
utility is located in the cf_root/bin (server configuration) or cf_webapp_root/WEB-INF/cfusion/bin
cfcompile
(J2EE configuration) directory.
Before you can use the cfcompile utility in the J2EE configuration, set the CFUSION_HOME, J2EEJAR, and WEBINF
variables in the cfcompile.sh/cfcompile.bat file.
Precompiling ColdFusion pages
You can use the
cfcompile
initial page loading time at runtime.
Use the following command to compile ColdFusion pages into Java classes:
cfcompile webroot [directory-to-compile]
The following table describes these parameters:
Parameter
webroot
directory-to-compile
"Administrator
utility for the following purposes:
Precompile your application's CFM pages into Java class files. At runtime,
utility to precompile ColdFusion pages (CFM, CFC, and CFR files). This can enhance
Description
Fully qualified path to the web server root; for example, C:\Inetpub\wwwroot or
C:\coldfusion10\cfusion\wwwroot.
Fully qualified path to the directory where the files to be compiled are located. This directory must be
under the web root directory. If not specified, all ColdFusion templates in the web root directory are
compiled.
Last updated 7/9/2012
API" on page 65.
108

Advertisement

Table of Contents
loading

This manual is also suitable for:

Coldfusion 10

Table of Contents