From users-return-15784-apmail-activemq-users-archive=activemq.apache.org@activemq.apache.org Wed Sep 03 10:56:47 2008 Return-Path: Delivered-To: apmail-activemq-users-archive@www.apache.org Received: (qmail 15263 invoked from network); 3 Sep 2008 10:56:47 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 3 Sep 2008 10:56:47 -0000 Received: (qmail 29185 invoked by uid 500); 3 Sep 2008 10:56:44 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 29158 invoked by uid 500); 3 Sep 2008 10:56:44 -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 29146 invoked by uid 99); 3 Sep 2008 10:56:44 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Sep 2008 03:56:44 -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 (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; Wed, 03 Sep 2008 10:55:44 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1Kaq22-0000pb-KY for users@activemq.apache.org; Wed, 03 Sep 2008 03:56:14 -0700 Message-ID: <19286978.post@talk.nabble.com> Date: Wed, 3 Sep 2008 03:56:14 -0700 (PDT) From: NabiL To: users@activemq.apache.org Subject: Re: Master & Slave configuration In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: elaomari.nabil@gmail.com References: <19285414.post@talk.nabble.com> X-Virus-Checked: Checked by ClamAV on apache.org Thanks for our help. May the errors occured because I have 2 activemq servers on the same machine (win XP). I configure the master and slave with shared file system et i don't specify any Database for persistence !! plz see the confs Master = http://www.nabble.com/file/p19286978/activemq.xml activemq.xml Slave = http://www.nabble.com/file/p19286978/activemq.xml activemq.xml Questions : 1- Master&Slave are the recommended approach for clustering ? 2- Can configure persistence by using only Shared File System (no db) ? Thanks in advance. James.Strachan wrote: > > 2008/9/3 NabiL : >> >> it works fine !! >> >> I have a problem concerning Master Slave configuration. >> >> I successfully tested the Master and Slave configuration >> http://www.nabble.com/file/p19285414/activemq.xml activemq.xml , but i >> got >> errors when the slave >> grab the lock and begin to start all transports. plz you will find the >> log >> attached http://www.nabble.com/file/p19285414/log_slave.txt >> log_slave.txt > > Master/Slave with Shared JDBC doesn't work when each JVM uses an > embedded Derby database. > > Try switching to something like Postgresql, Oracle, MySQL > > -- > James > ------- > http://macstrac.blogspot.com/ > > Open Source Integration > http://open.iona.com > > -- View this message in context: http://www.nabble.com/Master---Slave-configuration-tp19285414p19286978.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.