5.5 Testing the connectivity of resource adapters
You use the connectivity test to verify the correctness of information set up in the resource adapters included in J2EE applications.
You execute the following command to test the connectivity of the resource adapters included in J2EE applications:
- Execution format
cjtestres [server-name] [-nameserver provider-URL] -name J2EE-application-name -type rar -resname display-name-of-resource-adapter
- Example of execution
cjtestres -name App1 -type rar -resname DB_Connector_for_Cosminexus_Driver
See the following description for the precautions that you must take while testing the connectivity of resource adapters included in J2EE applications:
-
Settings for connecting to the database (when the DB Connector is used)
-
Settings for connecting to the other resources (when other resource adapters are used)
For details on the cjtestres command, see cjtestres (execute resource connection test) in the uCosminexus Application Server Command Reference Guide.