Oracle GlassFish Server Reference Manual Release 3.1.2 Part Number E24938-01 |
|
|
View PDF |
removes the administered object with the specified JNDI name.
delete-admin-object [--help] [--target target] jndi_name
The delete-admin-object
subcommand removes an administered object with the specified JNDI name.
This subcommand is supported in remote mote only.
--help
-?
Displays the help text for the subcommand.
--target
This is the name of the targets for which the administered object is to be deleted. Valid values are:
Note:
Resources are always created for a domain as a whole but are only active for targets for which a <resource-ref>
has been created using the --target
option when the resource was created. This means that deleting a resource only deletes the <resource-ref>
element for the specified --target
, and does not delete the resource from the domain as a whole unless domain
is specified as the --target
for the deletion.
server
Deletes the administered object for the default server instance server
and is the default value.
Deletes the administered object for the specified configuration.
Deletes the administered object for the specified cluster.
Deletes the administered object for a particular server instance.
JNDI name of the administered object to be deleted.
This example deletes the administered object named jms/samplelqueue
.
asadmin> delete-admin-object jms/samplequeue
Command delete-admin-object executed successfully
subcommand executed successfully
error in executing the subcommand