uCosminexus Application Server, Application Setup Guide
Define the properties of resource adapters compliant with Connector 1.0 specifications. You can also define the properties of the resource adapter after deploying the J2EE resource adapter. Note that if you want to change the properties of a resource adapter that is already set, change the properties when the applicable resource adapter is not running.
For an overview of the property setup procedures, see 3.5 Property settings using the property file. The following subsections define the resource adapter properties:
HITACHI Connector Property file
Execute the following command to acquire the HITACHI Connector Property file of the resource adapter:
cjgetresprop [server-name] [-nameserver provider-URL] -type rar -resname display-name-of-the-resource-adapter -c path-of-Connector-attribute-file |
cjgetresprop MyServer -type rar -resname Rar1 -c AccountProp.xml
Execute the following command to apply the values of the Connector attribute file:
cjsetresprop [server-name] [-nameserver provider-URL] -type rar -resname display-name-of-the-resource-adapter -c path-of-Connector-attribute-file |
cjsetresprop MyServer -type rar -resname Rar1 -c AccountProp.xml
The property settings for the resource adapter are described below:
The following table describes the settings for general information (<outbound-resourceadapter> tag) of the resource adapter:
| Items | Mandatory | Corresponding tags |
|---|---|---|
| Transaction support level | Y | <transaction-support> |
| Scope of re-authentication support | Y | <reauthentication-support> |
For details on the property settings, see 4.1.1 Contents of the HITACHI Connector Property file in the uCosminexus Application Server Application and Resource Definition Reference Guide.
The following table describes the settings for the configuration properties (<outbound-resourceadapter> - <connection-definition> - <config-property> tag) of the resource adapter:
| Items | Corresponding tags |
|---|---|
| Configuration property name | <config-property-name> |
| Configuration property data type | <config-property-type> |
| Configuration property value | <config-property-value> |
Repeat the above settings for all the configuration properties that you want to define.
For the configuration property name (<config-property-name>) to be defined, see 4.2.2 Defining the DB Connector properties.
The following table describes the settings for runtime properties (<property> tag) of the resource adapter:
| Items | Corresponding tags |
|---|---|
| Property name | <property-name> |
| Property data type | <property-type> |
| Property value | <property-value> |
Repeat the above settings for all the properties that you want to define.
For details on the runtime property names (<property-name>) to be defined and operations and precautions for the connection pool, see 4.2.2 Defining the DB Connector properties.
The following table describes the settings for optional name information (<outbound-resourceadapter> - <connection-definition> - <connector-runtime> - <resource-external-property> tag) of the resource adapter:
| Items | Mandatory | Corresponding tags |
|---|---|---|
| Optional name of the resource | Y | <optional-name> |
| Resource authentication method | O | <res-auth> |
| Scope of resource sharing | O | <res-sharing-scope> |
For details on the property settings, see 4.1.1 Contents of the HITACHI Connector Property file in the uCosminexus Application Server Application and Resource Definition Reference Guide.
For details on how to use the optional name of the resource adapter, see 4.8 Referencing and changing the resource adapter names registered in the JNDI name space.
All Rights Reserved. Copyright (C) 2013, Hitachi, Ltd.