Hitachi

uCosminexus Application Server Application Setup Guide


4.3.4 Deploying the resource adapter

If you deploy a resource adapter, you can use it as a J2EE resource adapter.

If you deploy a resource adapter imported by using the server management commands, that resource adapter becomes available to all the J2EE applications running on that J2EE server. Note that you can define the properties of the resource adapter after deploying the resource adapter. For details on how to define the properties, see 4.3.2 Defining the resource adapter properties (for Connector 1.0) or 4.3.3 Defining the resource adapter properties (for Connector 1.5) depending on the connector architecture specifications supported in resource adapters.

Execute the following command to deploy the resource adapter:

Execution format
cjdeployrar [server-name] [-nameserver provider-URL] -resname display-name-of-the-resource-adapter [-resname display-name-of-the-resource-adapter]
Example of execution
cjdeployrar MyServer -resname Rar1

For details on the cjdeployrar command, see cjdeployrar (deploy resource adapter) in the uCosminexus Application Server Command Reference Guide.

Note:

If you specify a resource adapter containing the runtime information of a running resource adapter, the resource adapter is started automatically after the deployment is complete. This J2EE resource adapter is not removed even if the auto start process fails.