MACROMEDIA COLDFUSION 4.5-ADMINISTRING COLDFUSION SERVER Technical Information Page 78

  • Download
  • Add to my manuals
  • Print
  • Page
    / 174
  • Table of contents
  • TROUBLESHOOTING
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 77
73
CONFIGURING AND ADMINISTERING COLDFUSION 9
Deploying ColdFusion Applications
Last updated 2/21/2012
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:
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 by using the ColdFusion
Administrator or the Administrator API.
Verity Ensure that the Verity server settings on the original computer are appropriate for the deployment computer.
If they are not, use the ColdFusion Administrator or the appropriate tags to modify the Verity server settings.
Serial number J2EE deployment is a ColdFusion Enterprise feature. To upgrade to the Enterprise Edition, use the
ColdFusion Administrator or the Administrator API to enter a serial number.
For more information on the Administrator API, see “Administrator API” on page 30.
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 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.
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 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:
Include CFML Source You can optionally deploy Java bytecode instead of CFML source code. For more information, see
Sourceless distribution” on page 74.
ColdFusion Administrator If your application does not require modification by using the ColdFusion Administrator, you can reduce
archive size and reduce security issues by omitting the Administrator files.
Data sources Specifies the data source definitions to include in the archive file.
Setting Description
Page view 77
1 2 ... 73 74 75 76 77 78 79 80 81 82 83 ... 173 174

Comments to this Manuals

No comments