Sun GlassFish Enterprise Server 2.1 Release Notes

Solution

Set the following JVM option as follows: com.sun.enterprise.jms.CONNECT_MQ_LAZILY=true. After setting this JVM option, you can start Enterprise Server if the MQ broker is not started. However, it is recommended that you start MQ before starting the server.