Return-Path: Delivered-To: apmail-activemq-users-archive@www.apache.org Received: (qmail 29794 invoked from network); 22 Jun 2007 18:36:14 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 22 Jun 2007 18:36:14 -0000 Received: (qmail 41761 invoked by uid 500); 22 Jun 2007 18:36:16 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 41735 invoked by uid 500); 22 Jun 2007 18:36:16 -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 41726 invoked by uid 99); 22 Jun 2007 18:36:16 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 22 Jun 2007 11:36:16 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of james.strachan@gmail.com designates 66.249.82.224 as permitted sender) Received: from [66.249.82.224] (HELO wx-out-0506.google.com) (66.249.82.224) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 22 Jun 2007 11:36:12 -0700 Received: by wx-out-0506.google.com with SMTP id i28so987401wxd for ; Fri, 22 Jun 2007 11:35:51 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=leM72auQS6scDmRpsoWWjukxzBP8YE32npO35VObFEM57Zhg6yogBC9L+KGgQPaRL0rfv83n1cvHPKCBxg8DCB95k5vMJM0sB+ge5IqSdF0Ti0FI6Po0bVcWvn00IAW7OsAu3QeQvbk93wQUTXObv5ZP+36bvRi/aC5nIkp0VKE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=eKnR/g7tG0JKau5KlzxM2pbJULQx7O6/BPbROmL2YkjeTsvnkEriWn5aN8vJq4ZbY1ZpyUKFlKarZffmw7yLE4Jf4N9atFY8+JQ1jwwXg729GGGy+SPydjOWA/3JNiB0OAycJ4Gq2wrwedd7tpVkhYR/0Vr9LMTcoD+FYAUPMgo= Received: by 10.90.74.1 with SMTP id w1mr3005351aga.1182537351404; Fri, 22 Jun 2007 11:35:51 -0700 (PDT) Received: by 10.90.63.14 with HTTP; Fri, 22 Jun 2007 11:35:51 -0700 (PDT) Message-ID: Date: Fri, 22 Jun 2007 19:35:51 +0100 From: "James Strachan" To: users@activemq.apache.org Subject: Re: ActiveMQ, Clustered JBoss and JDBC Master/Slave In-Reply-To: <11256485.post@talk.nabble.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <6105885.post@talk.nabble.com> <6107815.post@talk.nabble.com> <6113785.post@talk.nabble.com> <11256485.post@talk.nabble.com> X-Virus-Checked: Checked by ClamAV on apache.org Why do you need more than one broker BTW? A single broker can happily load balance messages across a cluster of MDBs. For HA use a pair of Master/Slave brokers On 6/22/07, sambit wrote: > > Hi Thiago, > We were also trying to use a similar set up with Jboss and ActiveMQ > Embedded broker. We are facing same issues as you have mentioned. I'm > wondering could you finally able to resolve this and can you suggest what is > the best practice to use ActiveMQ broker, Jboss, MDB for a highly scalable > and performant requirement. > > Regards > -Sambit > > dooart wrote: > > > > The other one is identical, except for the brokerName, that is > > brokderDELL07VM1. > > > > Thanks, > > > > Thiago > > > > > > rajdavies wrote: > >> > >> Hi Thiago, > >> > >> there only seems to be one broker config file - for broker - > >> brokerDELL07. > >> Could you send the other one too please ? > >> > >> cheers, > >> > >> Rob > >> > >> On 2 Sep 2006, at 00:29, dooart wrote: > >> > >>> > >>> Oops... I forgot to attach the configuration files: > >>> http://www.nabble.com/user-files/235843/configuration_files.zip > >>> configuration_files.zip > >>> > >>> Thiago Duarte > >>> > >>> > >>> dooart wrote: > >>>> > >>>> I am trying to setup an environment with a clustered JBoss and > >>>> ActiveMQ in > >>>> JDBC Master/Slave mode. I'm going to use JMS in our application to > >>>> help in > >>>> some issues with clustering, like indexing and local files > >>>> synchronization. > >>>> > >>>> I have only two machines to run the entire environment and I want > >>>> to run > >>>> an embedded ActiveMQ broker per application server to help in > >>>> application > >>>> maintenance, so the final environment will be something like this: > >>>> > >>>> At first it seemed to be working fine, but when I started to test the > >>>> behaviour of the environment shutting down the nodes and > >>>> restarting them, > >>>> I started to have some problems with message duplication and lost > >>>> messages. Here are the results of some tests I made (errors are > >>>> marked > >>>> with red color): > >>>> > >>>> ... > >>>> > >>>> I've run the first test with MySQL 5.0 and the second test with MSSQL > >>>> Server 2000 as datasources for JDBC Master/Slave, but both > >>>> configurations > >>>> failed as you can see at the two tables above. I'm almost sure > >>>> that the > >>>> steps 4 and 5 from the second test failed not because of MSSQL, but > >>>> because the instability of the entire environment. > >>>> > >>>> Does anyone have a clue of what can be wrong? I don't know if this > >>>> helps, > >>>> but I've attached my configuration files here. > >>>> > >>>> I'm using JBoss 4.0.4 GA and ActiveMQ 4.1 (I was using 4.0.1 > >>>> before, but > >>>> it didn't work too). > >>>> > >>>> > >>>> Thanks, > >>>> > >>>> Thiago Duarte > >>>> > >>> > >>> -- > >>> View this message in context: http://www.nabble.com/ActiveMQ%2C- > >>> Clustered-JBoss-and-JDBC-Master-Slave-tf2204736.html#a6107815 > >>> Sent from the ActiveMQ - User forum at Nabble.com. > >>> > >> > >> > >> > > > > > > -- > View this message in context: http://www.nabble.com/ActiveMQ%2C-Clustered-JBoss-and-JDBC-Master-Slave-tf2204736s2354.html#a11256485 > Sent from the ActiveMQ - User mailing list archive at Nabble.com. > > -- James ------- http://macstrac.blogspot.com/