[ https://issues.apache.org/jira/browse/AMQ-3901?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16397981#comment-16397981 ]
Tim Bain commented on AMQ-3901: ------------------------------- This issue appears to be the same symptoms as AMQ-6902. > ActiveMq hangs with jms exception > --------------------------------- > > Key: AMQ-3901 > URL: https://issues.apache.org/jira/browse/AMQ-3901 > Project: ActiveMQ > Issue Type: Improvement > Reporter: Praveen Kumar > Priority: Major > > Whenever the below error is encountered in active mq. It goes to hang state > and a restart is required everytime and whenever i restart all messages are > getting lost. > Please find the errors below > 2012-06-15 12:50:21,887 | WARN | Async error occurred: > javax.jms.JMSException: Unmatched acknowledege: MessageAck {commandId = 64, > responseRequired = false, ackType = 2, consumerId = > ID:ICTSMSG1-51093-1339753812786-1:0:3:1, firstMessageId = null, lastMessageId > = ID:ICTSMSG1-59199-1339671592468-1:523:1:1:1, destination = queue://sms.so, > transactionId = null, messageCount = 1}; Expected message count (1) differs > from count in dispatched-list (2) | > org.apache.activemq.broker.TransportConnection.Service | ActiveMQ Transport: > tcp:///127.0.0.1:46332 > javax.jms.JMSException: Unmatched acknowledege: MessageAck {commandId = 64, > responseRequired = false, ackType = 2, consumerId = > ID:ICTSMSG1-51093-1339753812786-1:0:3:1, firstMessageId = null, lastMessageId > = ID:ICTSMSG1-59199-1339671592468-1:523:1:1:1, destination = queue://sms.so, > transactionId = null, messageCount = 1}; Expected message count (1) differs > from count in dispatched-list (2) > at > org.apache.activemq.broker.region.PrefetchSubscription.assertAckMatchesDispatched(PrefetchSubscription.java:448) > at > org.apache.activemq.broker.region.PrefetchSubscription.acknowledge(PrefetchSubscription.java:208) > at > org.apache.activemq.broker.region.AbstractRegion.acknowledge(AbstractRegion.java:369) > at > org.apache.activemq.broker.region.RegionBroker.acknowledge(RegionBroker.java:470) > at > org.apache.activemq.broker.TransactionBroker.acknowledge(TransactionBroker.java:194) > at > org.apache.activemq.broker.BrokerFilter.acknowledge(BrokerFilter.java:74) > at > org.apache.activemq.broker.BrokerFilter.acknowledge(BrokerFilter.java:74) > at > org.apache.activemq.broker.MutableBrokerFilter.acknowledge(MutableBrokerFilter.java:85) > at > org.apache.activemq.broker.TransportConnection.processMessageAck(TransportConnection.java:449) > at org.apache.activemq.command.MessageAck.visit(MessageAck.java:205) > at > org.apache.activemq.broker.TransportConnection.service(TransportConnection.java:297) > at > org.apache.activemq.broker.TransportConnection$1.onCommand(TransportConnection.java:175) > at > org.apache.activemq.transport.TransportFilter.onCommand(TransportFilter.java:68) > at > org.apache.activemq.transport.WireFormatNegotiator.onCommand(WireFormatNegotiator.java:113) > at > org.apache.activemq.transport.InactivityMonitor.onCommand(InactivityMonitor.java:210) > at > org.apache.activemq.transport.TransportSupport.doConsume(TransportSupport.java:84) > at > org.apache.activemq.transport.tcp.TcpTransport.doRun(TcpTransport.java:203) > at > org.apache.activemq.transport.tcp.TcpTransport.run(TcpTransport.java:185) > at java.lang.Thread.run(Thread.java:595) -- This message was sent by Atlassian JIRA (v7.6.3#76005)