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