just to make sure

1. you are using 6.0.18
and
2. the IP you are trying to bind to is valid
and
3. could you be using linux?

this is the code that is telling you about the failure

186 :     fhanik     586228      if (mcastBindAddress != null) {
187 :                 try {
188 : log.info("Attempting to bind the multicast socket to "+address+":"+port); 189 : socket = new MulticastSocket(new InetSocketAddress(address,port));
190 :                 } catch (BindException e) {
191 :                 /*
192 : * On some plattforms (e.g. Linux) it is not possible to bind 193 : * to the multicast address. In this case only bind to the
194 :                 * port.
195 :                 */
196 : log.info("Binding to multicast address, failed. Binding to port only.");
197 :                 socket = new MulticastSocket(port);
198 :                 }

Mike Wannamaker wrote:
I'm having an issue with clustering in tomcat and tribes.

I get this output, I'm not sure why Tribes can't bind to the multicast
address?  It then binds to localhost which doesn't allow machines to see
each other.

Any help is appreciated.

19-Nov-2008 3:30:23 PM org.apache.catalina.tribes.transport.ReceiverBase
bind
INFO: Receiver Server Socket bound to:/10.6.2.89:4000
19-Nov-2008 3:30:23 PM
org.apache.catalina.tribes.membership.McastServiceImpl setupSocket
INFO: Attempting to bind the multicast socket to /239.176.50.121:45566
19-Nov-2008 3:30:23 PM
org.apache.catalina.tribes.membership.McastServiceImpl setupSocket
INFO: Binding to multicast address, failed. Binding to port only.
19-Nov-2008 3:30:23 PM
org.apache.catalina.tribes.membership.McastServiceImpl setupSocket
INFO: Setting multihome multicast interface to:localhost/127.0.0.1
19-Nov-2008 3:30:23 PM
org.apache.catalina.tribes.membership.McastServiceImpl setupSocket
INFO: Setting cluster mcast soTimeout to 500
19-Nov-2008 3:30:23 PM
org.apache.catalina.tribes.membership.McastServiceImpl waitForMembers
INFO: Sleeping for 1000 milliseconds to establish cluster membership,
start level:4
19-Nov-2008 3:30:24 PM
org.apache.catalina.tribes.membership.McastServiceImpl waitForMembers
INFO: Done sleeping, membership established, start level:4
19-Nov-2008 3:30:24 PM
org.apache.catalina.tribes.membership.McastServiceImpl waitForMembers
INFO: Sleeping for 1000 milliseconds to establish cluster membership,
start level:8
19-Nov-2008 3:30:25 PM
org.apache.catalina.tribes.membership.McastServiceImpl waitForMembers
INFO: Done sleeping, membership established, start level:8
Initializing 3rdParty Loggers

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to