Sun GlassFish Enterprise Server v3 Release Notes

Cannot send JMS messages between systems (Issue 11254)

Description

By default, the default host name for the JMS service on Enterprise Server is localhost. To access the JMS service from another system, however, you must change the host name. You can change it to either the actual host name or to 0.0.0.0.

For more information, see Issue report.

Workaround

To make the change, do one of the following:

  1. Use the Administration Console: Expand the Configuration, Java Message Service, and JMS Hosts nodes, select default_JMS_host, and edit the Host field, or

  2. Use an asadmin subcommand such as the following:

    asadmin set server-config.jms-service.jms-host.default_JMS_host.host="0.0.0.0", or

    asadmin set server-config.jms-service.jms-host.default_JMS_host.host="hostname"