activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark Gellings (JIRA)" <jira+amq...@apache.org>
Subject [jira] Commented: (AMQNET-294) durable subscription message loss when master broker fails to slave
Date Thu, 16 Dec 2010 03:57:01 GMT

    [ https://issues.apache.org/jira/browse/AMQNET-294?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12971957#action_12971957
] 

Mark Gellings commented on AMQNET-294:
--------------------------------------

For completion's sake here is what the broker spits out when running on XP:

 INFO | Started SelectChannelConnector@0.0.0.0:8161
 INFO | Transport failed: java.io.EOFException
 WARN | Async error occurred: javax.jms.JMSException: Unmatched acknowledge: Mes
sageAck {commandId = 53, responseRequired = false, ackType = 2, consumerId = ID:
msie6-1158-634280387557703303-0:2:1:1, firstMessageId = ID:msie6-1158-6342803875
57703303-0:1:1:1:50, lastMessageId = ID:msie6-1158-634280387557703303-0:1:1:1:50
, destination = topic://DurableConsumerTest-TopicId, transactionId = null, messa
geCount = 1}; Could not find Message-ID ID:msie6-1158-634280387557703303-0:1:1:1
:50 in dispatched-list (start of ack)
javax.jms.JMSException: Unmatched acknowledge: MessageAck {commandId = 53, respo
nseRequired = false, ackType = 2, consumerId = ID:msie6-1158-634280387557703303-
0:2:1:1, firstMessageId = ID:msie6-1158-634280387557703303-0:1:1:1:50, lastMessa
geId = ID:msie6-1158-634280387557703303-0:1:1:1:50, destination = topic://Durabl
eConsumerTest-TopicId, transactionId = null, messageCount = 1}; Could not find M
essage-ID ID:msie6-1158-634280387557703303-0:1:1:1:50 in dispatched-list (start
of ack)
        at org.apache.activemq.broker.region.PrefetchSubscription.assertAckMatch
esDispatched(PrefetchSubscription.java:436)
        at org.apache.activemq.broker.region.PrefetchSubscription.acknowledge(Pr
efetchSubscription.java:207)
        at org.apache.activemq.broker.region.AbstractRegion.acknowledge(Abstract
Region.java:383)
        at org.apache.activemq.broker.region.RegionBroker.acknowledge(RegionBrok
er.java:544)
        at org.apache.activemq.broker.BrokerFilter.acknowledge(BrokerFilter.java
:77)
        at org.apache.activemq.broker.BrokerFilter.acknowledge(BrokerFilter.java
:77)
        at org.apache.activemq.broker.TransactionBroker.acknowledge(TransactionB
roker.java:197)
        at org.apache.activemq.broker.MutableBrokerFilter.acknowledge(MutableBro
kerFilter.java:87)
        at org.apache.activemq.broker.TransportConnection.processMessageAck(Tran
sportConnection.java:469)
        at org.apache.activemq.command.MessageAck.visit(MessageAck.java:214)
        at org.apache.activemq.broker.TransportConnection.service(TransportConne
ction.java:311)
        at org.apache.activemq.broker.TransportConnection$1.onCommand(TransportC
onnection.java:185)
        at org.apache.activemq.transport.TransportFilter.onCommand(TransportFilt
er.java:69)
        at org.apache.activemq.transport.WireFormatNegotiator.onCommand(WireForm
atNegotiator.java:113)
        at org.apache.activemq.transport.InactivityMonitor.onCommand(InactivityM
onitor.java:228)
        at org.apache.activemq.transport.TransportSupport.doConsume(TransportSup
port.java:83)
        at org.apache.activemq.transport.tcp.TcpTransport.doRun(TcpTransport.jav
a:220)
        at org.apache.activemq.transport.tcp.TcpTransport.run(TcpTransport.java:
202)
        at java.lang.Thread.run(Unknown Source)
 WARN | Failed to register MBean: org.apache.activemq:BrokerName=localhost,Type=
Subscription,persistentMode=Durable,subscriptionID=DurableConsumerTest-Subscript
ionId,destinationType=Topic,destinationName=DurableConsumerTest-TopicId,clientId
=DurableConsumerTest-ClientId
 INFO | Transport failed: java.io.EOFException
 WARN | Async error occurred: javax.jms.JMSException: Unmatched acknowledge: Mes
sageAck {commandId = 53, responseRequired = false, ackType = 2, consumerId = ID:
msie6-1166-634280389518422679-0:2:1:1, firstMessageId = ID:msie6-1166-6342803895
18422679-0:1:1:1:50, lastMessageId = ID:msie6-1166-634280389518422679-0:1:1:1:50
, destination = topic://DurableConsumerTest-TopicId, transactionId = null, messa
geCount = 1}; Could not find Message-ID ID:msie6-1166-634280389518422679-0:1:1:1
:50 in dispatched-list (start of ack)
javax.jms.JMSException: Unmatched acknowledge: MessageAck {commandId = 53, respo
nseRequired = false, ackType = 2, consumerId = ID:msie6-1166-634280389518422679-
0:2:1:1, firstMessageId = ID:msie6-1166-634280389518422679-0:1:1:1:50, lastMessa
geId = ID:msie6-1166-634280389518422679-0:1:1:1:50, destination = topic://Durabl
eConsumerTest-TopicId, transactionId = null, messageCount = 1}; Could not find M
essage-ID ID:msie6-1166-634280389518422679-0:1:1:1:50 in dispatched-list (start
of ack)
        at org.apache.activemq.broker.region.PrefetchSubscription.assertAckMatch
esDispatched(PrefetchSubscription.java:436)
        at org.apache.activemq.broker.region.PrefetchSubscription.acknowledge(Pr
efetchSubscription.java:207)
        at org.apache.activemq.broker.region.AbstractRegion.acknowledge(Abstract
Region.java:383)
        at org.apache.activemq.broker.region.RegionBroker.acknowledge(RegionBrok
er.java:544)
        at org.apache.activemq.broker.BrokerFilter.acknowledge(BrokerFilter.java
:77)
        at org.apache.activemq.broker.BrokerFilter.acknowledge(BrokerFilter.java
:77)
        at org.apache.activemq.broker.TransactionBroker.acknowledge(TransactionB
roker.java:197)
        at org.apache.activemq.broker.MutableBrokerFilter.acknowledge(MutableBro
kerFilter.java:87)
        at org.apache.activemq.broker.TransportConnection.processMessageAck(Tran
sportConnection.java:469)
        at org.apache.activemq.command.MessageAck.visit(MessageAck.java:214)
        at org.apache.activemq.broker.TransportConnection.service(TransportConne
ction.java:311)
        at org.apache.activemq.broker.TransportConnection$1.onCommand(TransportC
onnection.java:185)
        at org.apache.activemq.transport.TransportFilter.onCommand(TransportFilt
er.java:69)
        at org.apache.activemq.transport.WireFormatNegotiator.onCommand(WireForm
atNegotiator.java:113)
        at org.apache.activemq.transport.InactivityMonitor.onCommand(InactivityM
onitor.java:228)
        at org.apache.activemq.transport.TransportSupport.doConsume(TransportSup
port.java:83)
        at org.apache.activemq.transport.tcp.TcpTransport.doRun(TcpTransport.jav
a:220)
        at org.apache.activemq.transport.tcp.TcpTransport.run(TcpTransport.java:
202)
        at java.lang.Thread.run(Unknown Source)

> durable subscription message loss when master broker fails to slave
> -------------------------------------------------------------------
>
>                 Key: AMQNET-294
>                 URL: https://issues.apache.org/jira/browse/AMQNET-294
>             Project: ActiveMQ .Net
>          Issue Type: Bug
>          Components: NMS
>    Affects Versions: 1.4.1
>         Environment: Windows 7 (client), Windows Server 2008 64-bit (server brokers run
on), Sql Server 2008 (database)
>            Reporter: Mark Gellings
>            Assignee: Jim Gomes
>             Fix For: 1.5.0
>
>         Attachments: Apache.NMS.Test (2).zip, Apache.NMS.Test.zip, DurableConsumerTest.cs,
DurableSubscriberFailoverTest.java, NMSLog.txt, NMSLogLocalFreshCannedActiveMQ542Broker.txt,
TimsTestRevisedSlightly.zip
>
>
> We are seeing message loss on a durable subscription when using NMS ActiveMQ v1.4.1 and
ActiveMQ v5.4.1.
> Please run the included NUnit test and watch the console output.  When it says "Failover
the broker now!" do as it says.  About 75% of the time less than half of the expected 250
messages come through.
> Using version 1.1 of NMS the majority of the time the test passes.  I have seen it fail
only a few times with this earlier version, and when it does there are only a couple messages
that don't come through.
> In the zip file will be the unit test, and a config directory containing the master and
slave activemq configurations.  We are using JDBC master/slave.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message