The remote delete-jdbc-connection-pool command enables you to delete an existing JDBC connection pool. Deleting a JDBC connection pool is a dynamic event and does not require server restart.
Before deleting a JDBC connection pool, all associations to the resource must be removed.
Ensure that the server is running.
Remote commands require a running server.
Obtain the exact name of the JDBC connection pool that you are deleting.
To list the existing JDBC connection pools:
asadmin list-jdbc-connection-pools |
If necessary, notify users that the JDBC connection pool is being deleted.
Delete the connection pool by using the delete-jdbc-connection-pool(1) command.
The following example command deletes the JDBC connection pool named DerbyPool:
asadmin delete-jdbc-connection-pool jdbc/DerbyPool |
Information similar to the following is displayed if the connection pool is usable:
Command delete-jdbc-connection-pool executed successfully. |
To see the full syntax and options of the command, type asadmin delete-jdbc-connection-pool --help at the command line.