Oracle GlassFish Server 3.0.1 Administration Guide

ProcedureTo Delete a Connector Resource

Use the delete-connector-resource subcommand in remote mode to remove a connector resource by specifying the JNDI name.

Before You Begin

Before deleting a resource, all associations with the resource must be removed.

  1. Ensure that the server is running.

    Remote subcommands require a running server.

  2. List the connector connection pools by using the list-connector-resources(1) subcommand.

  3. If necessary, notify users that the connector resource is being deleted.

  4. Delete the connector resource by using the delete-connector-resource(1) subcommand.


Example 15–6 Deleting a Connector Resource

This example deletes the jms/qConnFactory connector resource.


asadmin> delete-connector-resource jms/qConnFactory 
Command delete-connector-resources executed successfully

See Also

You can also view the full syntax and options of the subcommand by typing asadmin help delete-connector-resource at the command line.