activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michal Singer <Michal.Sin...@expand.com>
Subject AMQ fails to process messages after a faulty restart
Date Tue, 29 Mar 2011 12:58:38 GMT
Hi, i am using AMQ 5.2.0 on a multi process application to communicate between processes.
I am configuring AMQ using Spring version 2.5.6

I am NOT using persistent AMQ.

Sometimes after a faulty restart such as: kill java, electric power down - after raise, there
are errors:

ActiveMQ Transport: tcp:///127.0.0.1:1138 [] 2011-03-22 11:24:21,640 ERROR [org.apache.activemq.broker.TransportConnection.Service]
Async error occurred: javax.jms.JMSException: Could not correlate acknowledgment with dispatched
message: MessageAck {commandId = 15, responseRequired = false, ackType = 0, consumerId = ID:EV-1134-1300785825140-0:1:2:1,
firstMessageId = ID:EV-1034-1300785740343-2:11:1:1:1, lastMessageId = ID:EV-1034-1300785740343-2:11:1:1:1,
destination = queue://destinationAgentQueue, transactionId = null, messageCount = 0}
javax.jms.JMSException: Could not correlate acknowledgment with dispatched message: MessageAck
{commandId = 15, responseRequired = false, ackType = 0, consumerId = ID:EV-1134-1300785825140-0:1:2:1,
firstMessageId = ID:EV-1034-1300785740343-2:11:1:1:1, lastMessageId = ID:EV-1034-1300785740343-2:11:1:1:1,
destination = queue://destinationAgentQueue, transactionId = null, messageCount = 0}
        at org.apache.activemq.broker.region.PrefetchSubscription.acknowledge(PrefetchSubscription.java:304)
        at org.apache.activemq.broker.region.AbstractRegion.acknowledge(AbstractRegion.java:373)
        at org.apache.activemq.broker.region.RegionBroker.acknowledge(RegionBroker.java:462)
        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:456)
        at org.apache.activemq.command.MessageAck.visit(MessageAck.java:205)
        at org.apache.activemq.broker.TransportConnection.service(TransportConnection.java:305)
        at org.apache.activemq.broker.TransportConnection$1.onCommand(TransportConnection.java:179)
        at org.apache.activemq.transport.TransportFilter.onCommand(TransportFilter.java:68)
        at org.apache.activemq.transport.WireFormatNegotiator.onCommand(WireFormatNegotiator.java:143)
        at org.apache.activemq.transport.InactivityMonitor.onCommand(InactivityMonitor.java:206)
        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(Unknown Source)

Thanks, Michal

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message