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
- checks if the JMS service is up and running
jms-ping [--help] [-- target target]
The jms-ping subcommand checks if the Java Message Service (JMS) service (also known as the JMS provider) is up and running. When you start the GlassFish Server, the JMS service starts by default.
The jms-ping subcommand pings only the default JMS host within the JMS service. It displays an error message when it is unable to ping a built-in 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.
Specifies the target for which the operation is to be performed. Valid values are as follows:
Pings the JMS service for the default server instance. This is the default value
Pings the JMS service for all clusters using the specified configuration.
Pings the JMS service for the specified cluster.
Pings the JMS service for the specified server instance.
-
Example 1 Verifying that the JMS service is running
The following subcommand checks to see if the JMS service is running on the default server.
asadmin> jms-ping JMS-ping command executed successfully Connector resoure test_jms_adapter created. Command jms-ping executed successfully.
subcommand executed successfully
error in executing the subcommand