Overview


J2EE archives

Use this page to add or edit J2EE archives.

 

Add or edit a J2EE archive

  1. Specify settings, options, and directories, as shown in the following table.

  2. Click Create.

 

Option

Description

Archive Name

Specifies a name for the J2EE archive definition. This is also the name given to the EAR or WAR file.

Application Directory

Specifies the location of the CFM files to be included beneath the web root of the ColdFusion web application.

Distribution Directory

Specifies the directory where ColdFusion places the EAR or WAR file. ColdFusion uses the name archivename.ear or archivename.war, depending on the archive type.

Archive Type

Specifies whether ColdFusion creates a Web Application Archive (WAR) file or an Enterprise Application Archive (EAR) file.

Context Root (valid for EAR)

If you create an EAR file, you can optionally specify a context root for the ColdFusion web application. The default is an empty context root. For more information, see the J2EE Packaging overview.

 

If you create a WAR file, the context root is handled in an application-server-specific manner. In some application servers, the default context root is the name of the WAR file; in others, you specify the context root using the deploy tool or through a server-specific configuration file.

Serial Number

Specifies a valid serial number for ColdFusion Enterprise Edition.

Previous Serial Number (if upgrade)

Specify the serial number of the previous ColdFusion installation.

Include COM Support

Specifies whether to include the modules that provide COM support. Omitting COM support reduces the size of the archive by about 12 MB.

Disable Debugging

Specifies whether to disable debugging in the ColdFusion web application.

Include CFML Source

Specifies whether to use the original CFM files or to convert the pages to Java bytecode. Select this check box to use plain-text CFM files; clear this check box to use Java bytecode stored in the CFM files.

Include CF Administrator

Specifies whether to include the modules and directories for the ColdFusion Administrator (the CFIDE directory structure). Omitting the ColdFusion Administrator reduces the size of the archive by about 2 MB.

Configure Data Sources to be Included in Archive

Specifies the data sources to include in the J2EE archive. Use the Right and Left Arrow buttons to select and remove data sources. Use the Double Arrow buttons to select and remove all data sources with one click.

 

Related topics