|Oracle GlassFish Server Reference Manual
Part Number E24938-01
lists the existing JMS hosts
list-jms-hosts [--help] [--target target]
list-jms-hosts subcommand lists the existing Java Message Service (JMS) hosts for the JMS service.
This subcommand is supported in remote mode only. Remote
asadmin subcommands require a running domain administration server (DAS).
Displays the help text for the subcommand.
Restricts the listing to JMS hosts for a specified target. Valid values are as follows:
Lists the JMS hosts for the default server instance. This is the default value.
Lists the JMS hosts for the specified configuration.
Lists the JMS hosts for all server instances in the specified cluster.
Lists the JMS hosts for the specified server instance.
The following subcommand lists the JMS hosts for the JMS service.
asadmin> list-jms-hosts default_JMS_host MyNewHost Command list-jms-hosts executed successfully.
subcommand executed successfully
error in executing the subcommand