Hitachi

Hitachi Application Server V10 Command Reference Guide (For Windows® Systems)


2.19.8 list-jms-hosts

Lists the existing JMS hosts.

Synopsis

asadmin [asadmin-options] list-jms-hosts [--help] [--target target]

Storage location

Application Server installation directory/javaee/glassfish/bin

Function

The list-jms-hosts subcommand of asadmin lists the existing Java Message Service (JMS) hosts for the JMS service. This subcommand is supported in remote mode only.

Precondition

Domain Administration Server (DAS) is running.

Arguments

--help | -?

Displays the help text for the subcommand.

--target target

Restricts the listing to JMS hosts for a specified target.

Type: String

The following values can be specified:

  • server

    Lists the JMS hosts for the default server instance. This is the default value.

  • configuration-name

    Lists the JMS hosts for the specified configuration.

  • cluster-name

    Lists the JMS hosts for all the server instances in the specified cluster.

  • instance-name

    Lists the JMS hosts for the specified server instance.

Default value: server

Examples

The following example lists the JMS hosts for the JMS service on the server instance instance1.

asadmin list-jms-hosts --target instance1

Exit Status

Exit Status

Explanation

0

subcommand executed successfully.

1

error in executing the subcommand.