uCosminexus Application Server, Application Setup Guide

[Contents][Index][Back][Next]

8.1.1 Importing the J2EE applications that are in archive format

Execute the following command to import J2EE applications that are in archive format:

Execution format

cjimportapp [server-name] [-nameserver provider-URL] -f EAR-file-path
 

Execution example
cjimportapp MyServer -f C:\home\bank.ear
 

For details on the cjimportapp command, see cjimportapp (Importing J2EE applications) in the uCosminexus Application Server Command Reference Guide.

Organization of this subsection
(1) Precautions related to runtime information
(2) Precautions related to DDs of EARs
(3) Other precautions

(1) Precautions related to runtime information

The term runtime information references to the Cosminexus J2EE server-specific information. The runtime information includes the following information.

39,61

Table 8-1 List of runtime information

Items Information
Status of J2EE application Information about start or stop status
Various settings of J2EE applications
  • Runtime properties of Enterprise Beans
  • Mapping of each reference and J2EE resource
  • Mapping of CMP field database
Auto-generated implementation class
  • EJB home object
  • EJB object
stub class, tie class of the remote interface
  • EJB home object
  • EJB object

The following are the precautions to be taken when importing the EAR files that include the runtime information:

(2) Precautions related to DDs of EARs

You cannot import an EAR containing DDs not conforming to Java EE specifications.

If the DD version is old, the version is changed to as follows.

Table 8-2 Changing DD version

DD Version before importing Version after importing
application.xml 1.2 1.4
1.3
ejb-jar.xml 1.1 2.0
web.xml 2.2 2.3

(3) Other precautions