Hitachi

uCosminexus Application Server Application Setup Guide


9.14.1 Scheduling the J2EE applications

Specify the settings for integrating each J2EE application with CTM.

You must set up both the Application properties and Session Bean Properties. Hitachi recommends that you use the HITACHI Application Integrated Property File to specify the settings.

Organization of this subsection

(1) Attribute files to be edited

HITACHI Application Integrated Property File

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

(3) Attribute settings to be edited

The attribute settings to be edited are as follows:

The individual settings are as follows:

(a) Application properties

The following table describes the settings for integrating each J2EE application with CTM:

Items

Mandatory

Corresponding tags

Presence of CTM integration

Y

<managed-by-ctm>

Queue deployment model

Y

<scheduling-unit>

Queue name

Y

<scheduling> - <queue-name>

Number of threads

Y

<scheduling> - <parallel-count>

Queue length

O

<scheduling> - <queue-length>

Legend:

Y: Mandatory

O: Optional

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

(b) Session Bean attribute file

The following table describes the runtime attribute settings (<session-runtime>) for integrating each J2EE application with CTM.

Items

Mandatory

Corresponding tags

Settings for scheduling

Y

<enable-scheduling>

Legend:

Y: Mandatory

For details on the property settings, see 3.4.1 Specifications of the HITACHI Session Bean Property file in the uCosminexus Application Server Application and Resource Definition Reference Guide.

(4) Notes

If you specify the settings using the application property file and Session Bean property file without using the HITACHI Application Integrated Property File, you must specify the settings in the following order:

  1. Execute the following command to apply the values of the <enable-scheduling> tag in the Session Bean property file:

    cjsetappprop [server-name] [-nameserver provider-URL] -name J2EE-application-name -type ejb -resname display-name-of-EJB-JAR/ display-name-of-Stateless-Session-Bean -c path-of-the-hitachi-The Session Bean property file 
  2. Execute the following command to apply the values of the tags that exist under the <managed-by-ctm> tag, <scheduling-unit> tag, and <scheduling> tag of the application property file:

    cjsetappprop [server-name] [-nameserver provider-URL] -name J2EE-application-name -c path-of-the-hitachi-application-property-file