You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Dhaval Jaiswal <dh...@via.com> on 2012/04/04 16:40:49 UTC
SEVERE: Unable to start cluster.
Hi List,
Below is the error we are facing while starting tomcats.
SEVERE: Unable to start cluster.
org.apache.catalina.tribes.ChannelException: java.net.SocketException: Not
a multicast address; No faulty members identified.
Our cluster setting is as below in server.xml
<Cluster className="org.apache.catalina.ha.tcp.SimpleTcpCluster"
channelSendOptions="6">
<Manager className="org.apache.catalina.ha.session.BackupManager"
expireSessionsOnShutdown="false"
notifyListenersOnReplication="true" mapSendOptions="6"/>
<Channel
className="org.apache.catalina.tribes.group.GroupChannel">
<Membership
className="org.apache.catalina.tribes.membership.McastService"
address="192.168.3.14"
port="45564"
frequency="500"
dropTime="30000"/>
<Receiver
className="org.apache.catalina.tribes.transport.nio.NioReceiver"
address="auto"
port="4000"
selectorTimeout="5000"
timeout="60000"
maxThreads="6"/>
<Sender
className="org.apache.catalina.tribes.transport.ReplicationTransmitter">
<Transport
className="org.apache.catalina.tribes.transport.nio.PooledParallelSender"
timeout="60000" keepAliveCount="0"/>
</Sender>
<Interceptor
className="org.apache.catalina.tribes.group.interceptors.TcpFailureDetector"/>
<Interceptor
className="org.apache.catalina.tribes.group.interceptors.MessageDispatch15Interceptor"/>
<Interceptor
className="org.apache.catalina.tribes.group.interceptors.ThroughputInterceptor"/>
</Channel>
<Valve className="org.apache.catalina.ha.tcp.ReplicationValve"
filter=".*\.gif|.*\.js|.*\.jpeg|.*\.jpg|.*\.png|.*\.htm|.*\.html|.*\.css|.*\.txt"/>
<Valve
className="org.apache.catalina.ha.session.JvmRouteBinderValve"/>
<ClusterListener
className="org.apache.catalina.ha.session.ClusterSessionListener"/>
<ClusterListener
className="org.apache.catalina.ha.session.JvmRouteSessionIDBinderListener"/>
</Cluster>
Note: 192.168.3.14 is the IP of backup manager with java & 192.168.3.9 is
the IP address of local tomcat where above server.xml is hosted.
Please guide us as to how to overcome the issue & please give us the sample
<cluster> </cluster> file if possible.
Re: SEVERE: Unable to start cluster.
Posted by Daniel Mikusa <dm...@vmware.com>.
----- Original Message -----
> Hi List,
>
> Below is the error we are facing while starting tomcats.
>
> SEVERE: Unable to start cluster.
> org.apache.catalina.tribes.ChannelException:
> java.net.SocketException: Not
> a multicast address; No faulty members identified.
>
The address you specified is not a multicast address. See the following link for info on multicast addresses.
https://en.wikipedia.org/wiki/Multicast_address
>
> Our cluster setting is as below in server.xml
>
>
> <Cluster className="org.apache.catalina.ha.tcp.SimpleTcpCluster"
> channelSendOptions="6">
> <Manager
> className="org.apache.catalina.ha.session.BackupManager"
> expireSessionsOnShutdown="false"
> notifyListenersOnReplication="true"
> mapSendOptions="6"/>
>
> <Channel
> className="org.apache.catalina.tribes.group.GroupChannel">
> <Membership
> className="org.apache.catalina.tribes.membership.McastService"
> address="192.168.3.14"
This is the address which is referenced from the error above. It's not a multicast address.
> port="45564"
> frequency="500"
> dropTime="30000"/>
> <Receiver
> className="org.apache.catalina.tribes.transport.nio.NioReceiver"
> address="auto"
> port="4000"
> selectorTimeout="5000"
> timeout="60000"
> maxThreads="6"/>
>
> <Sender
> className="org.apache.catalina.tribes.transport.ReplicationTransmitter">
> <Transport
> className="org.apache.catalina.tribes.transport.nio.PooledParallelSender"
> timeout="60000" keepAliveCount="0"/>
> </Sender>
> <Interceptor
> className="org.apache.catalina.tribes.group.interceptors.TcpFailureDetector"/>
> <Interceptor
> className="org.apache.catalina.tribes.group.interceptors.MessageDispatch15Interceptor"/>
> <Interceptor
> className="org.apache.catalina.tribes.group.interceptors.ThroughputInterceptor"/>
> </Channel>
> <Valve
> className="org.apache.catalina.ha.tcp.ReplicationValve"
>
> filter=".*\.gif|.*\.js|.*\.jpeg|.*\.jpg|.*\.png|.*\.htm|.*\.html|.*\.css|.*\.txt"/>
> <Valve
> className="org.apache.catalina.ha.session.JvmRouteBinderValve"/>
> <ClusterListener
> className="org.apache.catalina.ha.session.ClusterSessionListener"/>
> <ClusterListener
> className="org.apache.catalina.ha.session.JvmRouteSessionIDBinderListener"/>
> </Cluster>
>
>
>
> Note: 192.168.3.14 is the IP of backup manager with java &
> 192.168.3.9 is
> the IP address of local tomcat where above server.xml is hosted.
>
> Please guide us as to how to overcome the issue
Use a correct multicast address.
>& please give us the sample
See the section title "For the impatient".
https://tomcat.apache.org/tomcat-7.0-doc/cluster-howto.html
Dan
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org