Return-Path: Delivered-To: apmail-activemq-users-archive@www.apache.org Received: (qmail 10361 invoked from network); 26 Oct 2010 16:02:09 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 26 Oct 2010 16:02:09 -0000 Received: (qmail 97577 invoked by uid 500); 26 Oct 2010 16:02:09 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 97491 invoked by uid 500); 26 Oct 2010 16:02:08 -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 97483 invoked by uid 99); 26 Oct 2010 16:02:08 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 26 Oct 2010 16:02:08 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [69.19.250.34] (HELO tech4learning.com) (69.19.250.34) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 26 Oct 2010 16:02:00 +0000 Received: from [192.168.21.106] by tech4learning.com (MDaemon PRO v11.0.3) with ESMTP id md50003667672.msg for ; Tue, 26 Oct 2010 09:01:34 -0700 X-Spam-Processed: tech4learning.com, Tue, 26 Oct 2010 09:01:34 -0700 (not processed: message from trusted or authenticated source) X-Authenticated-Sender: michael@tech4learning.com X-MDRemoteIP: 75.143.66.241 X-Return-Path: michael@tech4learning.com X-Envelope-From: michael@tech4learning.com X-MDaemon-Deliver-To: users@activemq.apache.org Message-ID: <4CC6FB5E.5040507@tech4learning.com> Date: Tue, 26 Oct 2010 11:01:34 -0500 From: Michael Brewer-Davis User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.2.11) Gecko/20101013 Lightning/1.0b2 Thunderbird/3.1.5 MIME-Version: 1.0 To: users@activemq.apache.org Subject: Re: Problem with simple peer-configuration, my config or AMQ issue? References: <1288079610288-3013268.post@n4.nabble.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org On 10/26/2010 4:24 AM, Gary Tully wrote: > That looks like a bug in the peer transport factory. I uses > localhost:0 as the tcp transport url, but localhost maps to the > loopback address since 5.3[1] so the connection is refused. > The peer transport factory should use the wildcard address, 0.0.0.0 For me, the problem has been a little more complicated than this. Switching PeerTransportFactory to using 0.0.0.0 sends my message, but sends my non-DNS computer name as the target host, so the alive message is: %localhost%Michael-Dell:49225 If I comment out that section of TcpTransportServer, I can get 0.0.0.0 instead of Michael-Dell, but that's not much more helpful. If I commit to a network interface, I can get the discovery message to be useful, but I'm not aware of a "right" way to pick the network interface when several are available. Is there a reason why the MulticastDiscoveryAgent doesn't consider the source IP of a discovery message? michael > > Can you raise a jira issue for this? It is an easy fix, so we can get > it quickly into a new snapshot. > > As a work around, you would need to use an xml configuration file for > each broker and the xbean > url scheme: http://activemq.apache.org/broker-xbean-uri.html > > [1] https://issues.apache.org/activemq/browse/AMQ-2094 >