uCosminexus Application Server, Application Setup Guide

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

9.15.1 Setting the invocation order for J2EE applications

Set the invocation order for the J2EE applications.

Organization of this subsection
(1) Attribute file to be edited
(2) Acquiring the attribute file to be edited and setting the attributes
(3) Attribute settings to be edited

(1) Attribute file to be edited

Application attribute file

(2) Acquiring the attribute file to be edited and setting the attributes

Acquiring the attribute file

Execute the following command to acquire an application attribute file:

Execution format
 
cjgetappprop [server-name] [-nameserver provider-URL] -name J2EE application-name -c path-of-the-application-attribute-file
 

Example of execution
cjgetappprop MyServer -name account -c C: \home\MyAccount.xml
 
Setting the attributes

Execute the following command to apply the values of the application attribute file:

Execution format
 
cjsetappprop [server-name] [-nameserver provider-URL] -name J2EE application-name -c path-of-the-application-attribute-file
 

Example of execution
cjsetappprop MyServer -name account -c C: \home\MyAccount.xml
 

(3) Attribute settings to be edited

The following table describes the invocation order settings for J2EE applications:

Item Mandatory Corresponding tag
Start and stop order# O <start-order>

Legend:
O: Optional

#
The smaller the value, the earlier the application will start and larger the value, the earlier the application will stop. Note that if you specify the same value for multiple J2EE applications, the invocation order between the applications may not be as desired.

For details on the property settings, see 3.2.1 Contents of the application property file in the uCosminexus Application Server Application and Resource Definition Reference Guide.