uCosminexus Application Server, Application Setup Guide

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

5.4 Defining resource adapter properties

You specify the settings of the resource adapters included in J2EE applications.

Set up the resource adapter properties when the J2EE application including resource adapters is not running.

For details on the property settings, see 3.5 Property settings using the property file.

Organization of this section
(1) Property files to be edited
(2) Acquiring property files to be edited and setting up the attributes
(3) Attribute settings to be edited

(1) Property files to be edited

You can set up the properties of the resource adapters included in J2EE applications using one of the following property files:

With the property settings of the components configuring J2EE applications, you can use the HITACHI Connector Property file and the HITACHI Application Integrated Property File individually and also in combination.

This section describes the property settings using the HITACHI Connector Property file. For details on the procedure of property settings using the HITACHI Application Integrated Property File, see 9.2 Property settings using the HITACHI Application Integrated Property File.

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

Acquiring property files

Execute the following command to acquire a resource adapter property file:

Execution format
 
cjgetappprop [server-name] [-nameserver provider-URL] -name J2EE-application-name -type rar -resname display-name-of-resource-adapter -c path-of-the-HITACHI-Connector-Property-file
 

Example of execution
cjgetappprop MyServer -name App1 -type rar -resname account-rar -c AccountProp.xml
Setting up the attributes

Execute the following command to apply the values of resource adapter property files:

Execution format
 
cjsetappprop [server-name] [-nameserver provider-URL] -name J2EE-application-name -type rar -resname display-name-of-resource-adapter -c path-of-the-HITACHI-Connector-Property-file
 

Example of execution
cjsetappprop MyServer -name App1 -type rar -resname account-rar -c AccountProp.xml
 

(3) Attribute settings to be edited

Define the properties according to the resource adapter type.