Return-Path: Delivered-To: apmail-activemq-users-archive@www.apache.org Received: (qmail 47801 invoked from network); 20 Oct 2009 08:09:43 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 20 Oct 2009 08:09:43 -0000 Received: (qmail 12711 invoked by uid 500); 20 Oct 2009 08:09:42 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 12647 invoked by uid 500); 20 Oct 2009 08:09:42 -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 12637 invoked by uid 99); 20 Oct 2009 08:09:42 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 20 Oct 2009 08:09:42 +0000 X-ASF-Spam-Status: No, hits=-2.6 required=5.0 tests=AWL,BAYES_00 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; Tue, 20 Oct 2009 08:09:39 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1N09mQ-0007YL-JY for users@activemq.apache.org; Tue, 20 Oct 2009 01:09:18 -0700 Message-ID: <25971259.post@talk.nabble.com> Date: Tue, 20 Oct 2009 01:09:18 -0700 (PDT) From: forda To: users@activemq.apache.org Subject: Re: Getting Error while trying to achieve the Master/Slave config In-Reply-To: <36e91d9d0910200054j573b11acne0f68d4d21a3dc75@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: daniel.forberg@bredband.net References: <25960809.post@talk.nabble.com> <25970251.post@talk.nabble.com> <36e91d9d0910200054j573b11acne0f68d4d21a3dc75@mail.gmail.com> Thank you, i will try that instead. Cheers Daniel Dejan Bosanac wrote: > > Fir the shared master/slave setup you don't need to define any network > connectors, but just simply point both brokers to the same database. > > Cheers > -- > Dejan Bosanac - http://twitter.com/dejanb > > Open Source Integration - http://fusesource.com/ > ActiveMQ in Action - http://www.manning.com/snyder/ > Blog - http://www.nighttale.net > > > On Tue, Oct 20, 2009 at 8:20 AM, forda > wrote: > >> >> I forgot to provide the logs. >> >> Host1 >> http://www.nabble.com/file/p25970251/activemq.txt activemq.txt >> http://www.nabble.com/file/p25970251/wrapper.txt wrapper.txt >> >> Host2 >> http://www.nabble.com/file/p25970251/activemq.txt activemq.txt >> http://www.nabble.com/file/p25970251/wrapper.log wrapper.log >> >> >> Daniel >> >> >> forda wrote: >> > >> > Hello ! >> > >> > Currently i am working for a customer to setup a ActiveMQ production >> alike >> > environment, >> > designed for failover on the client or the server. Our first approach >> is >> > to use failover on >> > the client and using a shared database building a Master/Slave scenario >> > having a database >> > cluster. It works in way that is described and in another not, getting >> > errors. I have carefully >> > consulted various documentation on the internet, fusesource and the >> > ActiveMQ in action book. >> > These documentation are good, but sometimes a link is missing. >> > >> > In this case i tested out the >> > Master/Slave approach first with static discovery and the failover >> > property set to true. In 5.20 >> > version of ActiveMQ the log says the failover property does not exist >> > error in BeanCreation for >> > DiscoveryNetworkConnector, had a look in the reference for Java and XML >> > and couldn'nt so i >> > skipped it. Though it seem to work while the first broker gets the lock >> > and act as a master and >> > the slaves waiting for acquire the lock. Then one of the brokers >> shutdown >> > one of the slaves took over. >> > >> > But when i looked in the logfiles i found som Error logs: connection >> > refused to unknown. It doesent >> > seem to be normal. Or ? I will attach the logs with this thread. >> > >> > Second i tried to use the multicast discovery isntead of using default >> i >> > wanted to define >> > another name for the group, but unknown host exception. How do i manage >> to >> > define another >> > name than default to delimit the acess to group on the network? With >> > default it's work. >> > >> > Am i missing something here to get the whole thing working. I am >> gratful >> > for all advices. >> > Thanks in advance. >> > >> > Regards, >> > >> > Daniel >> > >> >> -- >> View this message in context: >> http://www.nabble.com/Getting-Error-while-trying-to-achieve-the-Master-Slave-config-tp25960809p25970251.html >> Sent from the ActiveMQ - User mailing list archive at Nabble.com. >> >> > > > ----- > Dejan Bosanac > > Open Source Integration - http://fusesource.com/ > ActiveMQ in Action - http://www.manning.com/snyder/ > Blog - http://www.nighttale.net > -- View this message in context: http://www.nabble.com/Getting-Error-while-trying-to-achieve-the-Master-Slave-config-tp25960809p25971259.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.