Use the delete-connector-resource subcommand in remote mode to remove a connector resource by specifying the JNDI name.
Before deleting a resource, all associations with the resource must be removed.
Ensure that the server is running.
Remote subcommands require a running server.
List the connector connection pools by using the list-connector-resources(1) subcommand.
If necessary, notify users that the connector resource is being deleted.
Delete the connector resource by using the delete-connector-resource(1) subcommand.
This example deletes the jms/qConnFactory connector resource.
asadmin> delete-connector-resource jms/qConnFactory Command delete-connector-resources executed successfully
You can also view the full syntax and options of the subcommand by typing asadmin help delete-connector-resource at the command line.