uCosminexus Application Server, Application Setup Guide
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.
HITACHI Application Integrated Property File
You execute the following command to acquire the HITACHI Application Integrated Property File:
cjgetappprop [server-name] [-nameserver provider-URL] -name J2EE-application-name -type all -c path-of-the-hitachi-application-integrated-property-file |
cjgetappprop MyServer -name account -type all -c C:\home\account.xml
You execute the following command to apply the values of the HITACHI Application Integrated Property File:
cjsetappprop [server-name] [-nameserver provider-URL] -name J2EE-application-name -type all -c path-of-the-hitachi-application-integrated-property-file |
cjsetappprop MyServer -name account -type all -c C:\home\account.xml
The attribute settings to be edited are as follows:
The individual settings are as follows:
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> |
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.
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> |
For details on the property settings, see 3.4.1 Contents of the Session Bean property file in the uCosminexus Application Server Application and Resource Definition Reference Guide.
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:
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 |
cjsetappprop [server-name] [-nameserver provider-URL] -name J2EE-application-name -c path-of-the-hitachi-application-property-file |
All Rights Reserved. Copyright (C) 2013, Hitachi, Ltd.