Author: markt
Date: Thu May 30 20:15:15 2013
New Revision: 1487993
URL: http://svn.apache.org/r1487993
Log:
Finally figured out how t get multicast working locally on my mac. Document it.
Modified:
tomcat/trunk/test/org/apache/catalina/tribes/TesterMulticast.java
Modified: tomcat/trunk/test/org/apache/catalina/tribes/TesterMulticast.java
URL:
http://svn.apache.org/viewvc/tomcat/trunk/test/org/apache/catalina/tribes/TesterMulticast.java?rev=1487993&r1=1487992&r2=1487993&view=diff
==============================================================================
--- tomcat/trunk/test/org/apache/catalina/tribes/TesterMulticast.java (original)
+++ tomcat/trunk/test/org/apache/catalina/tribes/TesterMulticast.java Thu May
30 20:15:15 2013
@@ -24,6 +24,23 @@ import java.net.UnknownHostException;
/**
* A simple multicast test that replicates the core elements of Tomcat's
* multicast membership. If this works then multicast membership should work.
+ * Useful notes for various operating systems follow.<p>
+ * OSX
+ * <ul>
+ * <li>Multicast is not routed by default.</li>
+ * <li>Check if multicast is routed by looking at the routing table via
+ * <code>netstat -nr</code>. If there is no line the output for 228.0.0.4
+ * then multicast will not work.</li>
+ * <li>Add a route for multicast using
+ * <code>sudo route -nv add -net 228.0.0.4 -interface en0</code></li>
+ * <li>The firewall blocks multicast bewteen processes on the local machine so
+ * you will need to disable the OSX forewall before the test below will
+ * work.</li>
+ * </ul>
+ * Windows Server 2008
+ * <ul>
+ * <li>This works out of the box</li>
+ * </ul>
*/
public class TesterMulticast {
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]