[jboss-user] [JBoss Messaging] - Jboss Messaging 1.4.3 GA; cluster node restart problem

vineet badoni do-not-reply at jboss.com
Tue Oct 30 10:43:32 EDT 2012


vineet badoni [https://community.jboss.org/people/vineetbadoni] created the discussion

"Jboss Messaging 1.4.3 GA; cluster node restart problem"

To view the discussion, visit: https://community.jboss.org/message/772999#772999

--------------------------------------------------------------
    Hi,
We are using Jboss 5.1.0 GA cluster which uses Jboss Messaging (1.4.3 GA default version shipped with Jboss 5.1.0 GA). We have a situation after few restarts of the cluster nodes only one node picks up the messages from the Queue.

Details
- We have 2 nodes cluster let us say Node 1(N1) and Node 2(N2).
- We have clustered queues deployed on both the nodes N1 and N2.
- We use clustered XA connection factory to post message in the Queue.
- We have MDBs which pick up the messages from the Queue.

Our product engine puts the messages in the local queue and Office load balances the messages to the cluster node and failover also work fine.

After sometime when we restart a cluster nodes one by one then we get into a state when only one node of the cluster(MDB) picks up the  message from the Queue. But we verified that during restart there were no exceptions and errors in the server logs. 

After googling over web we found this 

 https://issues.jboss.org/browse/JBMESSAGING-1931 https://issues.jboss.org/browse/JBMESSAGING-1931

and which suggests that re-starting the MDB container brings back the MDBs live and they start picking up the messages

The problems which we are facing with the proposed solution

- This solution does not work for us because we cannot monitor and wait for this state manually and re-start the MDB container. Is there a programmatic way of doing this? Meaning an intelligent way to decide that the system is in such kind of state and we have to restart the MDB containers.

The bigger problem is we really do not understand what is the reason for this? What is making the cluster to in this state.

Please suggest some clean solution.

Thanks.
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/772999#772999]

Start a new discussion in JBoss Messaging at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2042]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20121030/03a438f8/attachment.html 


More information about the jboss-user mailing list