启动tomcat集群的时候出现以下报错,导致集群没办法启动:
java.net.SocketException: No such device; No faulty members identified.
SEVERE: Unable to start cluster.
org.apache.catalina.tribes.ChannelException: java.net.SocketException: No such device; No faulty members identified.at org.apache.catalina.tribes.group.ChannelCoordinator.internalStart(ChannelCoordinator.java:177)at org.apache.catalina.tribes.group.ChannelCoordinator.start(ChannelCoordinator.java:98)at org.apache.catalina.tribes.group.ChannelInterceptorBase.start(ChannelInterceptorBase.java:160)at org.apache.catalina.tribes.group.interceptors.MessageDispatchInterceptor.start(MessageDispatchInterceptor.java:157)at org.apache.catalina.tribes.group.ChannelInterceptorBase.start(ChannelInterceptorBase.java:160)at org.apache.catalina.tribes.group.ChannelInterceptorBase.start(ChannelInterceptorBase.java:160)at org.apache.catalina.tribes.group.GroupChannel.start(GroupChannel.java:419)at org.apache.catalina.ha.tcp.SimpleTcpCluster.startInternal(SimpleTcpCluster.java:690)at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:1106)at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:816)at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1575)at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1565)at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)at java.util.concurrent.FutureTask.run(FutureTask.java:166)at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)at java.lang.Thread.run(Thread.java:722)
Caused by: java.net.SocketException: No such deviceat java.net.PlainDatagramSocketImpl.join(Native Method)at java.net.AbstractPlainDatagramSocketImpl.join(AbstractPlainDatagramSocketImpl.java:168)at java.net.MulticastSocket.joinGroup(MulticastSocket.java:302)at org.apache.catalina.tribes.membership.McastServiceImpl.start(McastServiceImpl.java:253)at org.apache.catalina.tribes.membership.McastService.start(McastService.java:444)at org.apache.catalina.tribes.group.ChannelCoordinator.internalStart(ChannelCoordinator.java:162)... 18 more
尝试设置一下组播的路由:
route add -net 224.0.0.0 netmask 240.0.0.0 dev eth0
使用命令查看:
route -en
转载请注明出处http://www.itcai.info