Hitachi

uCosminexus Application Server Application Setup Guide


9.2.1 Setting procedure

You can acquire the HITACHI Application Integrated Property File by using the server management commands and collectively edit the contents of specific attribute files.

The specific attribute file elements included in the HITACHI Application Integrated Property File are described below:

For details on the HITACHI Application Integrated Property File, see 3.1 HITACHI Application Integrated Property file in the uCosminexus Application Server Application and Resource Definition Reference Guide.

The following sections describe the procedures for setting the J2EE application properties by using the HITACHI Application Integrated Property File:

Organization of this subsection

(1) Acquiring the HITACHI Application Integrated Property File

To acquire the HITACHI Application Integrated Property File, specify the path of the HITACHI Application Integrated Property File and execute the cjgetappprop command.

Execution Format
cjgetappprop server-name -name J2EE application-name -type all -c path-of-the-HITACHI Application Integrated Property File
Example of execution
cjgetappprop Myserver -name App1 -type all -c App1prop.xml

(2) Editing the property settings

Edit the HITACHI Application Integrated Property File that is output in (1) above with a text editor. For the items to be edited in the J2EE application properties, see 9.1 Overview of the property settings of J2EE applications. The items edited in the HITACHI Application Integrated Property File are the same as the items edited in the specific attribute files.

(3) Setting the application attributes

To apply the items specified in the HITACHI Application Integrated Property File to the application attributes, execute the cjsetappprop command.

Execution Format
cjsetappprop server-name -name J2EE application-name -type all -c path-of-the-HITACHI Application Integrated Property File
Example of execution
cjsetappprop MyServer -name App1 -type all -c App1Prop.xml