|Oracle GlassFish Server Reference Manual
Part Number E24938-01
checks if the JMS service is up and running
jms-ping [--help] [-- target target]
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.
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.
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