Return-Path: Delivered-To: apmail-activemq-users-archive@www.apache.org Received: (qmail 83609 invoked from network); 9 Jul 2010 09:25:57 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 9 Jul 2010 09:25:57 -0000 Received: (qmail 56873 invoked by uid 500); 9 Jul 2010 09:25:57 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 56736 invoked by uid 500); 9 Jul 2010 09:25:54 -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 56728 invoked by uid 99); 9 Jul 2010 09:25:54 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 09 Jul 2010 09:25:54 +0000 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=FORGED_HOTMAIL_RCVD2,FREEMAIL_FROM,SPF_HELO_PASS,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL 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; Fri, 09 Jul 2010 09:25:48 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1OX9mk-0008CH-AB for users@activemq.apache.org; Fri, 09 Jul 2010 02:22:18 -0700 Message-ID: <29115810.post@talk.nabble.com> Date: Fri, 9 Jul 2010 02:22:18 -0700 (PDT) From: scow To: users@activemq.apache.org Subject: Re: some broker can't join network of brokers In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Nabble-From: zkzy2003@hotmail.com References: <29115245.post@talk.nabble.com> X-Virus-Checked: Checked by ClamAV on apache.org b2,b3,b4 have the same broker name 'dynamic-broker1', b1 and b5 get the broker name 'dynamic-broker1', if they all use the same broker name, the situation is the same, I have test it. Gary Tully wrote: >=20 > have they all got unique brokerName attributes? >=20 > On 9 July 2010 09:10, scow wrote: >> >> I have configured a network of brokers(cluster) use dynamic discovery. >> The >> typical configuration is >> >> =C2=A0 =C2=A0 =C2=A0 =C2=A0 >> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0dynamicOnly=3D"true" >> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0networkTTL=3D"3" >> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0prefetchSize=3D"1" >> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0decreaseNetworkConsumerPriority= =3D"true" /> >> =C2=A0 =C2=A0 =C2=A0 =C2=A0 >> >> =C2=A0 =C2=A0 =C2=A0 =C2=A0 >> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0> discoveryUri=3D"multicast://default?group=3Dcom" /> >> =C2=A0 =C2=A0 =C2=A0 =C2=A0 >> >> There are 5 brokers in the cluster. 3 brokers(b2-b4) work well, other >> two(b1 >> and b5) can't join the cluster, they are started like single broker. One >> of >> them seems can detect other three, it records in log: >> >> =C2=A0INFO | Network connection between vm://dynamic-broker2#0 and >> tcp://b4/172.28.16.139:61616(dynamic-broker1) has been established. >> =C2=A0INFO | Network connection between vm://dynamic-broker2#2 and >> tcp://b2/172.28.16.137:61616(dynamic-broker1) has been established. >> =C2=A0INFO | Network connection between vm://dynamic-broker2#4 and >> tcp://b3/172.28.16.138:61616(dynamic-broker1) has been established. >> =C2=A0WARN | Failed to register MBean: >> org.apache.activemq:BrokerName=3Ddynamic-broker2,Type=3DConnection,Conne= ctorName=3Dopenwire,Connection=3DNC_dynamic-broker1_outbound >> =C2=A0WARN | Failed to register MBean: >> org.apache.activemq:BrokerName=3Ddynamic-broker2,Type=3DConnection,Conne= ctorName=3Dopenwire,Connection=3DNC_dynamic-broker1_outbound >> =C2=A0INFO | dynamic-broker2 bridge to dynamic-broker1 stopped >> =C2=A0INFO | dynamic-broker2 bridge to dynamic-broker1 stopped >> =C2=A0INFO | Connector vm://dynamic-broker2 Stopped >> =C2=A0INFO | dynamic-broker2 bridge to dynamic-broker1 stopped >> >> The other one even can't discover other brokers or discovered by others. >> All >> the 5 brokers are in the same lan and can connect to each other. >> >> If I configured b1 and b5 with static uri, they can formed a cluster and >> work well. Do you have any experience over this situation, thanks. >> >> >> >> -- >> View this message in context: >> http://old.nabble.com/some-broker-can%27t-join-network-of-brokers-tp2911= 5245p29115245.html >> Sent from the ActiveMQ - User mailing list archive at Nabble.com. >> >> >=20 >=20 >=20 > --=20 > http://blog.garytully.com >=20 > Open Source Integration > http://fusesource.com >=20 >=20 --=20 View this message in context: http://old.nabble.com/some-broker-can%27t-joi= n-network-of-brokers-tp29115245p29115810.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.