Return-Path: Delivered-To: apmail-activemq-dev-archive@www.apache.org Received: (qmail 7103 invoked from network); 19 Jun 2009 13:58:59 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 19 Jun 2009 13:58:59 -0000 Received: (qmail 4031 invoked by uid 500); 19 Jun 2009 13:59:09 -0000 Delivered-To: apmail-activemq-dev-archive@activemq.apache.org Received: (qmail 3930 invoked by uid 500); 19 Jun 2009 13:59:08 -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 3855 invoked by uid 99); 19 Jun 2009 13:58:57 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 19 Jun 2009 13:58:57 +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.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 19 Jun 2009 13:58:55 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 6B514234C1ED for ; Fri, 19 Jun 2009 06:58:35 -0700 (PDT) Message-ID: <1949177056.1245419915438.JavaMail.jira@brutus> Date: Fri, 19 Jun 2009 06:58:35 -0700 (PDT) From: "Jim Taylor (JIRA)" To: dev@activemq.apache.org Subject: [jira] Commented: (AMQ-2052) unsubscribing a durable subscriber does not properly clean up undelivered messages In-Reply-To: <446331938.1230811925415.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: ae95407df07c98740808b2ef9da0087c X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/activemq/browse/AMQ-2052?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=52372#action_52372 ] Jim Taylor commented on AMQ-2052: --------------------------------- What is the work around after the store gets into this state? Is there one? > unsubscribing a durable subscriber does not properly clean up undelivered messages > ---------------------------------------------------------------------------------- > > Key: AMQ-2052 > URL: https://issues.apache.org/activemq/browse/AMQ-2052 > Project: ActiveMQ > Issue Type: Bug > Components: Message Store > Affects Versions: 5.3.0 > Reporter: David Jencks > Assignee: David Jencks > Fix For: 5.3.0 > > Attachments: AMQ-2052-test.patch > > > Working on the tck I found a lot of messages like > 2008-12-25 11:37:08,567 ERROR [RecoveryListenerAdapter] Message id ID:pb.local-56923-1230232035140-2:13:1:1:1 could not be recovered from the data store - already dispatched > in the log. I can reproduce this with the attached test case (It could probably be in a better module, but I started looking here.) > To see the error put a breakpoint at RecoveryListenerAdapter line 61 and run the test. The required steps to reproduce seem to be: > 1. create a durable subscriber on a topic. > 2. send a message to the topic. > 3. close the subscriber and unsubscribe. > 4. create a new durable subscriber on the same topic. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.