users@glassfish.java.net

Re: Glassfish cluster not working with JMS

From: <forums_at_java.net>
Date: Fri, 8 Jul 2011 12:25:12 -0500 (CDT)

When you say "both nodes started normally", are you sure? Did you look in the
broker logs?

You reported this error:

javax.resource.NotSupportedException: MQRA:EC:Error creating Remote Message
Consumer: [CREATE_DESTINATION_REPLY(35)] [C4036]: A broker error occurred.
:[503] [B4286]: Auto-creation of destination queue.incomingDF is not allowed
on service jms because service restriction [NO_SYNC_WITH_MASTERBROKER] is in
effect. user=guest, broker=localhost:37676(57505) at
com.sun.messaging.jms.ra.EndpointConsumer.createRemoteMessageConsumer(EndpointConsumer.java:588)
This error means that the broker (which by default will be running in the
same JVM as the GlassFish instance) didn't start propertly. It tried to
connect to the "master broker" but couldn't. The master broker is the one
associated with the first configured GlassFish instance, as Satish said.

If you look at the broker log
at<gf-instance-home>/imq/<MQ-instance>/logs/log.txt) you'll see a message
explaining this, and stating that because of this a service restriction would
be in effect, which is what caused the exception above.

Nigel

 


--
[Message sent by forum member 'nigeldeakin']
View Post: http://forums.java.net/node/819927