I am using JBoss 4.2.3.GA, and am using JBoss messaging queue in my application. It is giving me the following error:
2012-06-06 16:24:42,227 ERROR -> (main) [org.jboss.messaging.util.ExceptionUtil] Queue[null, name=ARRIncoming] startService
java.lang.IllegalStateException: Did not load correct number of messages, wanted:10518 but got:10498
at org.jboss.messaging.core.impl.PagingChannelSupport.processReferences(PagingChannelSupport.java:571)
at org.jboss.messaging.core.impl.PagingChannelSupport.doLoad(PagingChannelSupport.java:498)
at org.jboss.messaging.core.impl.PagingChannelSupport.load(PagingChannelSupport.java:211)
at org.jboss.jms.server.destination.QueueService.startService(QueueService.java:105)
at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
I have two nodes in my cluster, and this error happens when I take down one of the instances, and then try to bring it up. I tried looking online for any solutions to this problem, but I don't believe that I found any.
Does anyone have any ideas?