Return-Path: Delivered-To: apmail-activemq-users-archive@www.apache.org Received: (qmail 14355 invoked from network); 11 Sep 2007 20:17:16 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 11 Sep 2007 20:17:16 -0000 Received: (qmail 53570 invoked by uid 500); 11 Sep 2007 20:17:10 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 53272 invoked by uid 500); 11 Sep 2007 20:17:09 -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 53250 invoked by uid 99); 11 Sep 2007 20:17:09 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 11 Sep 2007 13:17:09 -0700 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 (nike.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; Tue, 11 Sep 2007 20:18:38 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1IVCA6-0002pQ-4v for users@activemq.apache.org; Tue, 11 Sep 2007 13:16:42 -0700 Message-ID: <12622765.post@talk.nabble.com> Date: Tue, 11 Sep 2007 13:16:42 -0700 (PDT) From: Joe Kislo To: users@activemq.apache.org Subject: MasteSlave does not appear to work in 4.1.1 or 5.0-snapshot MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: joe@k12s.phast.umass.edu X-Virus-Checked: Checked by ClamAV on apache.org Hi, I am trying to get a Master/Slave configuration of ActiveMQ working, but havn't had any luck on 4.1.1 or 5.0. When I use the 4.1.1 release, I run into this bug: https://issues.apache.org/activemq/browse/AMQ-1257 Which appears to simply make Master/Slaves not work. The bugfix is against 5.0, so does that mean 4.1.1 does not work at all for Master Slave? So I tried the 5.0-snapshot from yesterday, and when I configure master/slave, I get this on the slave when the master fails: WARN BrokerService - Master Failed - starting all connectors ERROR BrokerService - Failed to startAllConnectors INFO TransportConnector - Connector vm://coral Stopped WARN AbstractRegion - A duplicate subscription was detected. Clients may be misbehaving. Later warnings you may see about subscription removal are a consequence of this. WARN AbstractRegion - A duplicate subscription was detected. Clients may be misbehaving. Later warnings you may see about subscription removal are a consequence of this. WARN AbstractRegion - A duplicate subscription was detected. Clients may be misbehaving. Later warnings you may see about subscription removal are a consequence of this. WARN AbstractRegion - A duplicate subscription was detected. Clients may be misbehaving. Later warnings you may see about subscription removal are a consequence of this. WARN AbstractRegion - A duplicate subscription was detected. Clients may be misbehaving. Later warnings you may see about subscription removal are a consequence of this. WARN AbstractRegion - A duplicate subscription was detected. Clients may be misbehaving. Later warnings you may see about subscription removal are a consequence of this. And then my queue consumer doesn't work, despite outputting to stderr that it failed over to the slave. If I restart the consumer, then everything seems fine (the producer works, and the topic producer/consumer seem fine). Is this a known issue? Is 5.0 my best bet for pure Master/Slave combination? Is there something I can do to help debug this? Here is may master config: Here is the diff between master and slave config: - + And I sync the master to the slave before starting both by doing: tar -czvf datafiles.tar.gz data activemq-data Thoughts? -Joe -- View this message in context: http://www.nabble.com/MasteSlave-does-not-appear-to-work-in-4.1.1-or-5.0-snapshot-tf4425028s2354.html#a12622765 Sent from the ActiveMQ - User mailing list archive at Nabble.com.