Skip Headers
Oracle GlassFish Server Reference Manual
Release 3.1.2

Part Number E24938-01
Go to Documentation Home
Home
Go to Book List
Book List
Go to Table of Contents
Contents
Go to Feedback page
Contact Us

Go to previous page
Previous
Go to next page
Next
View PDF

list-jms-hosts

lists the existing JMS hosts

Synopsis

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

Description

The 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).

Options

--help
-?

Displays the help text for the subcommand.

--target

Restricts the listing to JMS hosts for a specified target. Valid values are as follows:

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 server instances in the specified cluster.

instance-name

Lists the JMS hosts for the specified server instance.

Examples

Example 1   Listing all JMS hosts

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.

Exit Status

0

subcommand executed successfully

1

error in executing the subcommand

See Also

create-jms-host(1), delete-jms-host(1), jms-ping(1)

asadmin(1M)