activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Timothy Bish (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMQ-3901) ActiveMq hangs with jms exception
Date Thu, 05 Jul 2012 17:56:35 GMT

    [ https://issues.apache.org/jira/browse/AMQ-3901?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13407331#comment-13407331
] 

Timothy Bish commented on AMQ-3901:
-----------------------------------

Can you provide some more information here like broker versions, what the client's are doing
around the time you see this etc.  
                
> 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 
>
> 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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message