Return-Path: Delivered-To: apmail-activemq-users-archive@www.apache.org Received: (qmail 81895 invoked from network); 23 Dec 2008 19:09:33 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 23 Dec 2008 19:09:33 -0000 Received: (qmail 44377 invoked by uid 500); 23 Dec 2008 19:09:32 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 44355 invoked by uid 500); 23 Dec 2008 19:09:32 -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 44338 invoked by uid 99); 23 Dec 2008 19:09:32 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 23 Dec 2008 11:09:32 -0800 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; Tue, 23 Dec 2008 19:09:23 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1LFCcp-0004YB-Dy for users@activemq.apache.org; Tue, 23 Dec 2008 11:09:03 -0800 Message-ID: <21149706.post@talk.nabble.com> Date: Tue, 23 Dec 2008 11:09:03 -0800 (PST) From: MaenXe To: users@activemq.apache.org Subject: Re: NPE: java.net.UnknownHostException after installing 5.2, same config as 5.1 In-Reply-To: <3a73c17c0812220314h5aca1fdfmf964750b97336a9a@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: matt@docmagic.com References: <3a73c17c0812220314h5aca1fdfmf964750b97336a9a@mail.gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org Yes this fixed it. Thanks! M@ Gary Tully wrote: > > You need to change the format for the uri to specify the group via a > parameter. This is the upshot of the resolution to > http://issues.apache.org/activemq/browse/AMQ-1489 - check out the > detail in the comments. > > The required change is of the form: > > - > + > > > 2008/12/18 MaenXe : >> >> Anyone else having this same issue? We have 4 different environments >> with 4 >> different broker networks setup, we can't use the same multicast name for >> all of them, and we'd prefer not to spell out each server name in the >> config >> file, it's not very flexible. This smells like a bug. >> >> M@ >> >> >> >> MaenXe wrote: >>> >>> I'm having an issue with my Network of Brokers configuration and an >>> upgrade to 5.2. The configuration we had in 5.1(which worked fine) was: >>> >>> >>> >> uri="multicast://dev-jms"/> >>> >>> >>> and >>> >>> >>> >> uri="tcp://dev-jms2:61616" >>> discoveryUri="multicast://dev-jms"/> >>> >>> >>> >>> Now in 5.2, it doesn't like the uri and/or discoveryUri and we get the >>> following errors logged and the broker does not start: >>> >>> ERROR BrokerService - Failed to start ActiveMQ JMS >>> Message Broker. Reason: java.net.UnknownHostException: dev-jms: dev-jms >>> >>> If I change the uri to "multicast://default" or "multicast://testing" it >>> seems to work just fine. Neither of those is a valid hostname, so I >>> don't >>> know why it doesn't like dev-jms. >>> >>> Any suggestions? >>> >>> M@ >>> >> >> -- >> View this message in context: >> http://www.nabble.com/NPE%3A-java.net.UnknownHostException-after-installing-5.2%2C-same-config-as-5.1-tp21026541p21079811.html >> Sent from the ActiveMQ - User mailing list archive at Nabble.com. >> >> > > > > -- > http://blog.garytully.com > > Open Source SOA > http://FUSESource.com > > -- View this message in context: http://www.nabble.com/Re%3A-NPE%3A-java.net.UnknownHostException-after-installing-5.2%2C-same-config-as-5.1-tp21126183p21149706.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.