|Oracle GlassFish Server Reference Manual
Part Number E24938-01
removes a JMS host
delete-jms-host [--help] [--target target] jms_host_name
delete-jms-host subcommand removes the specified Java Message Service (JMS) host.
This subcommand is supported in remote mode only. Remote
asadmin subcommands require a running domain administration server (DAS).
Deleting the default JMS host, named
default_JMS_host, is not recommended.
Displays the help text for the subcommand.
Deletes the JMS host only from the specified target. Valid values are as follows:
Deletes the JMS host from the default server instance. This is the default value.
Deletes the JMS host from the specified configuration.
Deletes the JMS host from every server instance in the specified cluster.
Deletes the JMS host from the specified server instance.
The name of the host to be deleted.
The following subcommand deletes the JMS host named
asadmin> delete-jms-host MyNewHost Command delete-jms-host executed successfully.
subcommand executed successfully
error in executing the subcommand