Packaging applications in J2EE archive files
81
Application packaging
The J2EE Archive feature lets you quickly create an archive file that a J2EE administrator can use
to deploy your ColdFusion MX application.
To add a new archive definition and create an archive file:
1.
Open the ColdFusion MX Administrator.
2.
Specify a unique name for the archive file (no extension) in the Archive Name field.
3.
Click Add. The Add New Archive screen appears.
4.
Specify archive settings on the Add New Archive screen.
5.
Click Create. ColdFusion creates an EAR or WAR file in the specified application distribution
directory.
The following table describes the settings you make when creating or modifying archive:
Setting
Description
Archive Type
Select EAR or WAR.
Context Root (EAR
only)
Each J2EE web application running in a server is rooted at a unique base
URL, called a context root (or context path). The J2EE application server
uses the initial portion of the URL (that is, the portion immediately following
http://hostname) to determine which web application services an incoming
request.
For example, if you are running ColdFusion MX with a context root of
cfmx
,
you display the Administrator using the URL
http://
hostname
/cfmx/CFIDE/administrator/index.cfm. Most J2EE
application servers allow one application in each server instance to use a
forward slash (/) for the context root. The Remote Development Services
(RDS) web application is not required if you use a context root of /.
Serial Number
Specifies a ColdFusion MX Enterprise Edition serial number. If you do not
specify a valid ColdFusion MX Enterprise Edition serial number when
creating the archive file, it is deployed as an Enterprise Edition evaluation
version, which reverts to the Developer Edition after 30 days.
COM Support
If your application doesn’t use COM support, you can reduce the size of the
archive file by omitting the supporting files.
Debugging
If the current ColdFusion MX server is running with debugging enabled,
you can disable debugging in the application contained in the archive file.
Include CFML Source
You can optionally deploy Java bytecode instead of CFML source code.
For more information, see
“Sourceless distribution” on page 83
.
ColdFusion MX
Administrator
If your application does not require modification using the ColdFusion MX
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.
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 ...