Return-Path: Delivered-To: apmail-activemq-dev-archive@www.apache.org Received: (qmail 97722 invoked from network); 15 Dec 2010 18:16:23 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 15 Dec 2010 18:16:23 -0000 Received: (qmail 72485 invoked by uid 500); 15 Dec 2010 18:16:22 -0000 Delivered-To: apmail-activemq-dev-archive@activemq.apache.org Received: (qmail 72448 invoked by uid 500); 15 Dec 2010 18:16:22 -0000 Mailing-List: contact dev-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@activemq.apache.org Delivered-To: mailing list dev@activemq.apache.org Received: (qmail 72440 invoked by uid 99); 15 Dec 2010 18:16:22 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 15 Dec 2010 18:16:22 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 15 Dec 2010 18:16:22 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id oBFIG2rV018514 for ; Wed, 15 Dec 2010 18:16:02 GMT Message-ID: <9864617.140331292436961998.JavaMail.jira@thor> Date: Wed, 15 Dec 2010 13:16:01 -0500 (EST) From: "Mark Gellings (JIRA)" To: dev@activemq.apache.org Subject: [jira] Updated: (AMQNET-294) durable subscription message loss when master broker fails to slave MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/AMQNET-294?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mark Gellings updated AMQNET-294: --------------------------------- Attachment: NMSLog.txt Tim I've attached a log file with NMS tracing enabled...You can see it gets to message 50, then no more. 2010-12-15 12:10:38,054 [16] [DEBUG] Apache.NMS.Tracer - Consumer: At message 50 2010-12-15 12:10:38,054 [16] [DEBUG] Apache.NMS.Tracer - *** Failoving broker connection now! *** Maybe you could compare my log with a log of your own to see if there are any differences. > 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, 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.