[jboss-user] [JBoss Messaging] - Queue client failover solution while jboss5.1 crashed

glenwood do-not-reply at jboss.com
Thu Jul 23 20:20:45 EDT 2009


As nobody answer my question on another post with different meaning subject,I created a new topic here.

I would like to implement this solution via JBM2 that we have a cluster with multiple nodes been connected each other,we deploy queue on every node with same queue name to form a messaging cluster,we deploy queue producer on several nodes and also deploy consumer on some nodes as well with messaging load balance(server side),our requirement is once one node down(Jboss5.1 completely crashed ) which has consumer ,the other consumers will consume the messaging sent to down server,once this server up ,it will reattched into the messaging cluster and resume to consume the queue messages as messages been load balanced to this node again. 

I have configured the messaging cluster and queue messaging redistribution,but seems it didn't work as I expected. 

For example we have 2 nodes configured to be a messaging cluster,server1 has one producer and one consumer,and server2 has one consumer.

Sometime,after I shutdown server2,and sent 10 messages to the queue,server1 only consume 5 of them,looks like redistribution failed.Once I restarted the server2,it got rest of 5 messages! 

I also keep getting this WARN message after I shutdown/restart 2nd server 3 times, 
WARNING [DiscoveryGroupImpl] There seem to be more than one broadcasters on the network broadcasting the same node id 

Any input will be highly appreciated.

View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4245707#4245707

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4245707



More information about the jboss-user mailing list