20.3.5 Starting and stopping the DB Connector for a root resource adapter
- Organization of this subsection
(1) Starting the DB Connector for a root resource adapter
Execute the following command to start the DB Connector for the root resource adapter:
- Execution format
cjstartrar [server-name] [-nameserver provider-URL] -resname Display-name-of-DB-Connector-for-the-root-resource-adapter
- Example of execution
cjstartrar MyServer -resname DB_Connector_for_ClusterPool_Root
For details on the cjstartrar command, see cjstartrar (start resource adapter) in the uCosminexus Application Server Command Reference Guide.
- Note:
-
Start the member resource adapter belonging to the root resource adapter and then start the root resource adapter.
(2) Stopping the DB Connector for a root resource adapter
Execute the following command to stop the DB Connector for the root resource adapter:
- Execution format
cjstoprar [server-name] [-nameserver provider-URL] -resname Display-name-of-DB-Connector-for-the-root-resource-adapter
- Example of execution
cjstoprar MyServer -resname DB_Connector_for_ClusterPool_Root
For details on the cjstoprar command, see cjstoprar (stop resource adapter) in the uCosminexus Application Server Command Reference Guide.
- Note:
-
If a J2EE resource in the J2EE application references the DB Connector for the root resource adapter, stop the J2EE application and then stop the DB Connector for the root resource adapter.