cjsuspendpool (suspend member connection pool)
Format
cjsuspendpool [server-name] [-nameserver provider-URL]
-resname resource-adapter-display-name
[-resname resource-adapter-display-name ...]
Function
This command suspends a member connection pool of the cluster connection pool. The command can suspend multiple member connection pools concurrently. The command attempts to suspend all specified member connection pools even if there are member connection pools for which suspension fails. If even one member connection pool cannot be suspended, the command terminates abnormally.
This command is effective only when it is executed in the 1.4 mode. If the command is executed in the basic mode, it terminates abnormally.
When this command is executed for a resource adapter that is running, the command sets the member connection pool to "blocked manually" status and terminates. Next, suspension processing is executed in the J2EE server. After suspension processing is completed, the member connection pool is set to "suspended manually" status.
When this command is executed for a resource adapter that is stopped, the command sets the member connection pool to "suspended manually reserved" status.
Arguments
protocol-name: : host-name: port-number
Member connection pool status | Command executability |
---|---|
Running status Running reserved status Suspended automatically status Suspended automatically reserved status | Can be executed |
Suspended manually status Suspended manually reserved status Restarting automatically status Restarting manually status Blocked automatically status Blocked manually status | Cannot be executed |
Input examples
cjsuspendpool MyServer -resname DB_Connector_for_Oracle_ClusterPool_Member
Return values
Notes