Sun GlassFish Enterprise Server v3 Administration Guide

ProcedureTo Delete an Administered Object

Use the delete-admin-object subcommand to delete an administered objects.

  1. List the administered objects by using the list-admin-objects(1) subcommand.

  2. If necessary, notify users that the administered object is being deleted.

  3. Delete an administered object by using the delete-admin-object(1) subcommand.


Example 15–22 Deleting an Administered Object

This example deletes the administered object with the JNDI name jms/samplequeue.


asadmin> delete-admin-object jms/samplequeue
Command delete-admin-object executed successfully

See Also

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