Return-Path: Delivered-To: apmail-activemq-dev-archive@www.apache.org Received: (qmail 51786 invoked from network); 11 Dec 2009 16:06:16 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 11 Dec 2009 16:06:16 -0000 Received: (qmail 51477 invoked by uid 500); 11 Dec 2009 16:06:16 -0000 Delivered-To: apmail-activemq-dev-archive@activemq.apache.org Received: (qmail 51436 invoked by uid 500); 11 Dec 2009 16:06:15 -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 51426 invoked by uid 99); 11 Dec 2009 16:06:15 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 11 Dec 2009 16:06:15 +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, 11 Dec 2009 16:06:13 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id E5A11234C1E9 for ; Fri, 11 Dec 2009 08:05:52 -0800 (PST) Message-ID: <1619517369.1260547552938.JavaMail.jira@brutus> Date: Fri, 11 Dec 2009 08:05:52 -0800 (PST) From: "Dejan Bosanac (JIRA)" To: dev@activemq.apache.org Subject: [jira] Resolved: (AMQ-2518) QueueBrowser cause duplicate message delivery on network broker after restart In-Reply-To: <181401429.1259416612696.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-2518?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Dejan Bosanac resolved AMQ-2518. -------------------------------- Resolution: Duplicate Fix Version/s: 5.4.0 5.3.1 Fixed with https://issues.apache.org/activemq/browse/AMQ-2519 > QueueBrowser cause duplicate message delivery on network broker after restart > ----------------------------------------------------------------------------- > > Key: AMQ-2518 > URL: https://issues.apache.org/activemq/browse/AMQ-2518 > Project: ActiveMQ > Issue Type: Bug > Components: Broker > Affects Versions: 5.3.0 > Environment: Linux - Java 1.6 > Activemq 5.3.0 > JDBC Adapter Oracle 10G > Reporter: Giampaolo Tranchida > Priority: Critical > Fix For: 5.3.1, 5.4.0 > > > I find a strange critical bug using QueueBrowser in an application and same issue using HermesJMS. > 2 brokers in a network broker configured with static uri > Starting with clean oracle DB ACTIVEMQ_MSGS for broker 1 and broker 2 > 1) I send 10 messages in queue A on broker 1 > 2) checking the broker 1 DB, I find 10 rows and 0 rows on broker 2 DB -> OK > 3) I try to browse a first time the queue A on broker2 that return an empty list -> OK > 4) I try to browse 5 times the queue A on broker2 that finally return my 10 messages -> KO > 5) cheking the broker 1 DB, still 10 rows and 41 rows on broker 2 DB -> KO > 6) I consume messages from broker 2 that return 10 messages > 7) checking the broker 1 DB return 0 rows and still 41 rows on DB broker 2 -> KO > 8) I restart the broker 2 > 9) I try to consume messages from broker 2 and I receive again my 10 messages -> critical !!!! > 10 ) I restart again the broker 2 and I can consume again 10 messages, etc... until broker2 DB is empty. > I try to add dynamicOnly="true" and/or conduitSubscriptions="false" but I have always the same problem. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.