Use the JMS Service page to configure settings to be used by all JMS connections.
For more information about configuring the JMS service, see Chapter 17, Using the Java Message Service, in Oracle GlassFish Server 3.1 Application Development Guide.
The JMS Service page opens.
The JMS service is started in the same JVM machine as the GlassFish Server. Lazy initialization starts the default embedded broker on the first access of JMS services rather than at GlassFish Server startup. This is the default type of JMS Service.
The JMS service is started along with the GlassFish Server.
If you choose REMOTE, the JMS service is not started by the GlassFish Server the next time the server starts. Instead, the JMS service is started and managed by Message Queue, so you must start the Message Queue broker separately. For information about starting the broker, see the Starting Brokers in Oracle GlassFish Message Queue 4.5 Administration Guide. If you choose this value and are using a remote host, follow the instructions in To Edit a JMS Host to specify the name of the remote host.
On a slow or overloaded system, increase the value from the default. The default value is 60.
Use any arguments available through the as-install-parent/mq/bin/imqbrokerd command.
This option is enabled by default.
This interval applies for attempts on each address in the AddressList and for successive addresses in the list. If it is too short, this time interval does not give a broker time to recover. If it is too long, the reconnect might represent an unacceptable delay. The default value is 5 seconds.
A value of -1 indicates that the number of reconnect attempts is unlimited (the client runtime attempts to connect to the first address until it succeeds). The default value is 3.
The default value is default_JMS_host.
If there are many clients attempting a connection using the same connection factory, specify random to prevent them from all being connected to the same address. This option is the default.
A value of -1 indicates that the number of attempts is unlimited. The default value is 3.
See MQ Scheme and MQ Service Address Syntax for syntax information.
For information on available properties, see Properties Specific to the JMS Service.
If the JMS service is up and running, a message reports that the ping succeeded.
Tip - To return to the default settings, click the Load Defaults button, then click Save.
Changing the provider and host to a remote system causes all JMS applications to run on the remote server. To use both the local server and one or more remote servers, create a connection factory resource with the AddressList property to create connections that access remote servers. See To Create a JMS Connection Factory Resource.
Equivalent asadmin commandjms-ping