DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=43641>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=43641

           Summary: Using the bind attribute for Membership tag causes
                    Multicast to break
           Product: Tomcat 6
           Version: 6.0.14
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P3
         Component: Cluster
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


Using the bind attribute for the Membership tag causes multicast to break. So
something like

   <Membership className="org.apache.catalina.tribes.membership.McastService"
               bind="123.123.123.123"
               address="228.0.0.4"
               port="45564"/>

causes a broken cluster.
The reason for this is that in the case that the bind parameter is set the 
MulticastSocket is bound to the multicast interface. This is wrong as it causes
the respective udp socket to be bound to this interface which stops multicast
from working (tested on Linux and Solaris). It can be tried to bind the
MulticastSocket to the multicast address itself. This does not work on all
platforms. In case it does not work it can be ignored silently and the
MulticastSocket only binds to the port. The attached patch fixes this.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to