Return-Path: Delivered-To: apmail-activemq-users-archive@www.apache.org Received: (qmail 52294 invoked from network); 19 Feb 2009 12:42:39 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 19 Feb 2009 12:42:39 -0000 Received: (qmail 77299 invoked by uid 500); 19 Feb 2009 12:42:38 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 77270 invoked by uid 500); 19 Feb 2009 12:42:37 -0000 Mailing-List: contact users-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@activemq.apache.org Delivered-To: mailing list users@activemq.apache.org Received: (qmail 77259 invoked by uid 99); 19 Feb 2009 12:42:37 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 19 Feb 2009 04:42:37 -0800 X-ASF-Spam-Status: No, hits=2.6 required=10.0 tests=DNS_FROM_OPENWHOIS,SPF_HELO_PASS,SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of lists@nabble.com designates 216.139.236.158 as permitted sender) Received: from [216.139.236.158] (HELO kuber.nabble.com) (216.139.236.158) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 19 Feb 2009 12:42:28 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1La8EB-0005HO-K9 for users@activemq.apache.org; Thu, 19 Feb 2009 04:42:07 -0800 Message-ID: <22099571.post@talk.nabble.com> Date: Thu, 19 Feb 2009 04:42:07 -0800 (PST) From: aklochkov To: users@activemq.apache.org Subject: Re: Pure mater/slave is not working in 5.2.0 In-Reply-To: <3a73c17c0902180700w3dd4560dy3f7bc5a5c38e197f@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: aklochkov@griddynamics.com References: <22076698.post@talk.nabble.com> <3a73c17c0902180700w3dd4560dy3f7bc5a5c38e197f@mail.gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org I tried 5.3-SNAPSHOT and got exactly the same problems. Gary Tully wrote: > > could you try your scenario against a 5.3-SNAPSHOT[1], there is a > known issue but it occurs with multiple consumers only. see: > https://issues.apache.org/activemq/browse/AMQ-2102 > > [1] > http://people.apache.org/repo/m2-snapshot-repository/org/apache/activemq/apache-activemq/5.3-SNAPSHOT/ > > > 2009/2/18 aklochkov : >> >> I got master/slave configs from the svn: >> >> svn co >> http://svn.apache.org/repos/asf/activemq/trunk/activemq-core/src/test/resources/org/apache/activemq/broker/ft/ >> >> Then started master and slave with the following commands: >> >> activemq.bat xbean:file:master.xml >> activemq.bat xbean:file:slave.xml >> >> Then I produced messages with the producer from the examples: >> >> ant producer >> -Durl="failover://(tcp://localhost:62001,tcp://localhost:62002)?randomize=false" >> >> And then I tried to consume them: >> >> ant consumer >> -Durl="failover://(tcp://localhost:62001,tcp://localhost:62002)?randomize=false" >> >> I got a lot of messages like this one both in logs of master and slave: >> >> javax.jms.JMSException: Unmatched acknowledege: MessageAck {commandId = >> 3417, responseRequired = true, ackType = 2, consumerId = >> ID:DIGNOTE-3459-1234955291656-0:0:1:1, firstMessageId = >> ID:DIGNOTE-3451-1234955280437-0:0:1:1:201, lastMessageId = >> ID:DIGNOTE-3451-1234955280437-0:0:1:1:201, destination = >> queue://TEST.FOO, >> transactionId = null, messageCount = 1}; Could not find Message-ID >> ID:DIGNOTE-3451-1234955280437-0:0:1:1:201 in dispatched-list (start of >> ack) >> at >> org.apache.activemq.broker.region.PrefetchSubscription.assertAckMatchesDispatched(PrefetchSubscription.java:438) >> at >> org.apache.activemq.broker.region.PrefetchSubscription.acknowledge(PrefetchSubscription.java:188) >> at >> org.apache.activemq.broker.region.AbstractRegion.acknowledge(AbstractRegion.java:373) >> at >> org.apache.activemq.broker.region.RegionBroker.acknowledge(RegionBroker.java:462) >> at >> org.apache.activemq.broker.TransactionBroker.acknowledge(TransactionBroker.java:194) >> at >> org.apache.activemq.broker.BrokerFilter.acknowledge(BrokerFilter.java:74) >> at >> org.apache.activemq.broker.BrokerFilter.acknowledge(BrokerFilter.java:74) >> at >> org.apache.activemq.broker.MutableBrokerFilter.acknowledge(MutableBrokerFilter.java:85) >> at >> org.apache.activemq.broker.TransportConnection.processMessageAck(TransportConnection.java:456) >> at >> org.apache.activemq.command.MessageAck.visit(MessageAck.java:205) >> >> This is a master config: >> >> > deleteAllMessagesOnStartup="true" >> xmlns="http://activemq.apache.org/schema/core"> >> >> >> >> >> > jmxDomainName="test.domain"/> >> >> >> >> And it's a slave config: >> >> > masterConnectorURI="tcp://localhost:62001" >> xmlns="http://activemq.apache.org/schema/core"> >> >> >> >> >> > jmxDomainName="test.domain"/> >> >> >> >> >> I've heard that current activemq is suitable for the simplest tasks only >> and >> the first thing I tried just doesn't work out of the box. Am I missing >> something? Please help to clear this 'cause we don't want to mess with a >> big >> heavy-weight commercial provider. >> -- >> View this message in context: >> http://www.nabble.com/Pure-mater-slave-is-not-working-in-5.2.0-tp22076698p22076698.html >> Sent from the ActiveMQ - User mailing list archive at Nabble.com. >> >> > > > > -- > http://blog.garytully.com > > Open Source SOA > http://FUSESource.com > > -- View this message in context: http://www.nabble.com/Pure-mater-slave-is-not-working-in-5.2.0-tp22076698p22099571.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.