Oracle GlassFish Server 3.1 Section 1: asadmin Utility Subcommands
create-connector-connection-pool(1)
create-connector-security-map(1)
create-connector-work-security-map(1)
create-jdbc-connection-pool(1)
create-message-security-provider(1)
create-resource-adapter-config(1)
delete-connector-connection-pool(1)
delete-connector-security-map(1)
delete-connector-work-security-map(1)
delete-jdbc-connection-pool(1)
delete-message-security-provider(1)
delete-resource-adapter-config(1)
disable-http-lb-application(1)
disable-secure-admin-internal-user(1)
disable-secure-admin-principal(1)
enable-secure-admin-internal-user(1)
enable-secure-admin-principal(1)
list-connector-connection-pools(1)
list-connector-security-maps(1)
list-connector-work-security-maps(1)
list-message-security-providers(1)
list-resource-adapter-configs(1)
list-secure-admin-internal-users(1)
list-secure-admin-principals(1)
list-supported-cipher-suites(1)
unfreeze-transaction-service(1)
update-admin-server-coordinates(1)
update-admin-server-local-coordinates(1)
update-connector-security-map(1)
update-connector-work-security-map(1)
Oracle GlassFish Server 3.1 Section 1M: Utility Commands
Oracle GlassFish Server 3.1 Section 5ASC: GlassFish Server Concepts
- lists the JMS resources
list-jms-resources [--help] [--restype type] [target]
The list-jms-resources subcommand lists the existing Java Message Service (JMS) resources (destination and connection factory resources).
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.
The JMS resource type can be javax.jms.Topic, javax.jms.Queue, javax.jms.ConnectionFactory, javax.jms.TopicConnectionFactory, or javax.jms.QueueConnectionFactory.
Restricts the listing to resources for a specified target. Valid values are as follows:
Lists the resources for the default server instance. This is the default value.
Lists the resources for the domain.
Lists the resources for every server instance in the specified cluster.
Lists the resources for the specified server instance.
Example 1 Listing all JMS resources
The following subcommand lists all JMS resources.
asadmin> list-jms-resources jms/Queue jms/ConnectionFactory jms/DurableConnectionFactory jms/Topic Command list-jms-resources executed successfully.
Example 2 Listing JMS resources of a specified type
The following subcommand lists all javax.jms.ConnectionFactory resources.
asadmin> list-jms-resources --restype javax.jms.ConnectionFactory jms/ConnectionFactory jms/DurableConnectionFactory Command list-jms-resources executed successfully.
subcommand executed successfully
error in executing the subcommand