Return-Path: Delivered-To: apmail-activemq-dev-archive@www.apache.org Received: (qmail 47741 invoked from network); 20 Jul 2010 23:45:17 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 20 Jul 2010 23:45:17 -0000 Received: (qmail 73253 invoked by uid 500); 20 Jul 2010 23:45:17 -0000 Delivered-To: apmail-activemq-dev-archive@activemq.apache.org Received: (qmail 73231 invoked by uid 500); 20 Jul 2010 23:45:17 -0000 Mailing-List: contact dev-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@activemq.apache.org Delivered-To: mailing list dev@activemq.apache.org Received: (qmail 73223 invoked by uid 99); 20 Jul 2010 23:45:17 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 20 Jul 2010 23:45:17 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 20 Jul 2010 23:45:14 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o6KNiq7I005640 for ; Tue, 20 Jul 2010 23:44:53 GMT Message-ID: <28461474.47971279669492274.JavaMail.jira@thor> Date: Tue, 20 Jul 2010 19:44:52 -0400 (EDT) From: "John McCarthy (JIRA)" To: dev@activemq.apache.org Subject: [jira] Updated: (AMQ-2842) Multicast discovery failure due to "alive" heartbeats not received on some multihomed systems In-Reply-To: <21927477.47951279669251772.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: ae95407df07c98740808b2ef9da0087c X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/activemq/browse/AMQ-2842?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] John McCarthy updated AMQ-2842: ------------------------------- Original Estimate: (was: 1 day) Remaining Estimate: (was: 1 day) > Multicast discovery failure due to "alive" heartbeats not received on some multihomed systems > --------------------------------------------------------------------------------------------- > > Key: AMQ-2842 > URL: https://issues.apache.org/activemq/browse/AMQ-2842 > Project: ActiveMQ > Issue Type: Improvement > Components: Connector > Affects Versions: 5.3.2 > Environment: Windows 2008, multiple NICs / IP addresses > Reporter: John McCarthy > Priority: Minor > Attachments: MulticastDiscoveryAgent_joinNetworkInterface.patch > > > Ocassionaly, on some multihomed Windows 2008 systems, brokers cannot be discovered using multicast discovery. After investigating, it was determined that the broker "alive" heartbeats were not being received by the MulticastDiscoveryAgent. This was traced back to issues with joining the multicast group using the default network interface. As Windows socket documentation states, > bq. It is recommended that a local IPv4 address or interface index always be specified in the imr_interface member of the ip_mreq structure, rather than use the default interface. This is particularly important on computers with multiple network interfaces and multiple public IPv4 addresses. ([source|http://msdn.microsoft.com/en-us/library/ms738695%28v=VS.85%29.aspx]) > [AMQ-2381] was submitted with similar issues for multihomed Windows systems. It was resolved by adding network interface parameters that plumbed through to {{MulticastSocket.setNetworkInterface(NetworkInterface)}} and {{MulticastSocket.setInterface(InetAddress)}}. However, this set only affects what network interface the multicast traffic is sent on. Another parameter is also needed to control what network interface multicast traffic is received on, plumbed through to {{MulticastSocket.join(SocketAddress, NetworkInterface)}}. (The same {{networkInterface}} parameter could be overloaded, but this could be troublesome for backwards compatibility with the current URI specification.) > The attached patch is a proposal to add a new {{joinNetworkInterface}} parameter plumbed through to {{MulticastSocket.join(SocketAddress, NetworkInterface)}}. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.