Return-Path: Delivered-To: apmail-activemq-dev-archive@www.apache.org Received: (qmail 25904 invoked from network); 9 Sep 2009 10:05:37 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 9 Sep 2009 10:05:37 -0000 Received: (qmail 49509 invoked by uid 500); 9 Sep 2009 10:05:37 -0000 Delivered-To: apmail-activemq-dev-archive@activemq.apache.org Received: (qmail 49432 invoked by uid 500); 9 Sep 2009 10:05:36 -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 49422 invoked by uid 99); 9 Sep 2009 10:05:36 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 Sep 2009 10:05:36 +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; Wed, 09 Sep 2009 10:05:33 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 4748F234C1EC for ; Wed, 9 Sep 2009 03:05:12 -0700 (PDT) Message-ID: <1475856627.1252490712290.JavaMail.jira@brutus> Date: Wed, 9 Sep 2009 03:05:12 -0700 (PDT) From: "Rob Davies (JIRA)" To: dev@activemq.apache.org Subject: [jira] Resolved: (AMQ-2270) Activemq lost messages on restart In-Reply-To: <153016344.1243553571240.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-2270?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Rob Davies resolved AMQ-2270. ----------------------------- Resolution: Fixed Fix Version/s: 5.3.0 Assignee: Rob Davies This is issue will be resolved in 5.3 by using the KahaDB > Activemq lost messages on restart > --------------------------------- > > Key: AMQ-2270 > URL: https://issues.apache.org/activemq/browse/AMQ-2270 > Project: ActiveMQ > Issue Type: Bug > Affects Versions: 5.2.0 > Reporter: madderla prem kumar > Assignee: Rob Davies > Fix For: 5.3.0 > > > Hi , > Have two brokers in network AMQ1 and AMQ2 and have lots of virtual topics configured , Some consumers exists on some queues on AMQ1 and vice versa . On some queues AMQ2 have a consumers with a selector and hence consume a certain percentage of messages and the queue gets filled up every time my test program runs . After a certain number of test runs when the queues on AMQ2 have about 2800 pending messages , I have observerd that the messages got forwarded over to AMQ1 though AMQ1 have no consumers on these queues . > After certain point producer cannot send any more messages to AMQ1 and dint see any exceptions on the producer side (no activity on Queues in admin console) . > Killed AMQ1 and tried to restart it , It took long time to restart and issued a kill command again and then restarted . > Now all my pending messages on AMQ1 have disappeared and this is what i see on console during start up . > INFO BrokerService - Using Persistence Adapter: AMQPersistenceAdapter(/home/prem/software/apache-activemq-5.2.0/data.1) > INFO AMQPersistenceAdapter - AMQStore starting using directory: /home/prem/software/apache-activemq-5.2.0/data.1 > INFO KahaStore - Kaha Store using data directory /home/prem/software/apache-activemq-5.2.0/data.1/kr-store/state > INFO AMQPersistenceAdapter - Active data files: [] > WARN AMQPersistenceAdapter - The ReferenceStore is not valid - recovering ... > INFO KahaStore - Kaha Store successfully deleted data directory /home/prem/software/apache-activemq-5.2.0/data.1/kr-store/data > INFO AMQPersistenceAdapter - Journal Recovery Started from: DataManager:(data-) > INFO KahaStore - Kaha Store using data directory /home/prem/software/apache-activemq-5.2.0/data.1/kr-store/data -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.