Return-Path: Delivered-To: apmail-geronimo-activemq-users-archive@www.apache.org Received: (qmail 64621 invoked from network); 26 Sep 2006 15:38:27 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 26 Sep 2006 15:38:27 -0000 Received: (qmail 73766 invoked by uid 500); 26 Sep 2006 15:38:27 -0000 Delivered-To: apmail-geronimo-activemq-users-archive@geronimo.apache.org Received: (qmail 73752 invoked by uid 500); 26 Sep 2006 15:38:26 -0000 Mailing-List: contact activemq-users-help@geronimo.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: activemq-users@geronimo.apache.org Delivered-To: mailing list activemq-users@geronimo.apache.org Received: (qmail 73743 invoked by uid 99); 26 Sep 2006 15:38:26 -0000 Received: from idunn.apache.osuosl.org (HELO idunn.apache.osuosl.org) (140.211.166.84) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 26 Sep 2006 08:38:26 -0700 Authentication-Results: idunn.apache.osuosl.org smtp.mail=lists@nabble.com; spf=pass X-ASF-Spam-Status: No, hits=0.0 required=5.0 tests= Received-SPF: pass (idunn.apache.osuosl.org: domain nabble.com designates 72.21.53.35 as permitted sender) Received: from [72.21.53.35] ([72.21.53.35:41564] helo=talk.nabble.com) by idunn.apache.osuosl.org (ecelerity 2.1.1.8 r(12930)) with ESMTP id 8C/60-13339-07949154 for ; Tue, 26 Sep 2006 08:38:25 -0700 Received: from [72.21.53.38] (helo=jubjub.nabble.com) by talk.nabble.com with esmtp (Exim 4.50) id 1GSF0l-0004KL-Ps for activemq-users@geronimo.apache.org; Tue, 26 Sep 2006 08:38:19 -0700 Message-ID: <6509442.post@talk.nabble.com> Date: Tue, 26 Sep 2006 08:38:19 -0700 (PDT) From: lweisz To: activemq-users@geronimo.apache.org Subject: Re: duplicate messages on failover of activeMq 4.0.1 In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: lara.weisz@ubiquity.it References: <6508914.post@talk.nabble.com> X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N JOnAS and activemq are connected via the JCA connector activemq-ra-4.0.1.rar. My consumers are classes that extends javax.jmx.MessageListener that connect to the different queues via JNDI. In fact several queues exist everyone with one or more listeners on it. But I'm putting messages in only one and testing persistence. I'm using file and jdbc persistence on Oracle. I use this kind of application with activemq 3.2.2 and everythink is ok. Thanks, Lara James.Strachan wrote: > > Could you try help us to reproduce your problem? What kind of consumer > are you using? Are you sure you are using a single queue - as ActiveMQ > load balances queue messages across the available consumers > > On 9/26/06, lweisz wrote: >> >> >> Hi, >> I'm doing some tests to upgrade from versione 3.2.2 to version 4.0.1. >> I'm using activemq with JOnAS 6_6_6 application server. My webapp runs >> under >> jonas with two listener listening on the same queue. >> I do the following test: >> 1- put 1000 messages in the queue >> 2- let about 200 messages being consumed >> 3- kill activemq >> 4- stop jonas >> 5- start activemq >> 6- start jonas with my webapp in autoload >> >> What I see is that the remaining messages are delivered twice. >> If do the same test with 3 listeners on the queue the remaining messages >> are >> delivered three times >> if I use just one listener everyting is ok. >> If i monitoro the queue with the jconsole I see the correct numbre of >> messages but then they are consumed more than once. >> If I don't kill activemq multiple listener are ok. >> >> Thanks in advance for help. >> >> Lara >> -- >> View this message in context: >> http://www.nabble.com/duplicate-messages-on-failover-of-activeMq-4.0.1-tf2339038.html#a6508914 >> Sent from the ActiveMQ - User mailing list archive at Nabble.com. >> >> > > > -- > > James > ------- > http://radio.weblogs.com/0112098/ > > -- View this message in context: http://www.nabble.com/duplicate-messages-on-failover-of-activeMq-4.0.1-tf2339038.html#a6509442 Sent from the ActiveMQ - User mailing list archive at Nabble.com.