I am using two instances of tomcat 6.0.20 in the same window machine, the
second instance while starting up gives the following message :
----------------------------------------------------------------------------------
INFO: Attempting to bind the multicast socket to /228.0.0.4:45564
Apr 26, 2010 12:55:32 AM
org.apache.catalina.tribes.membership.McastServiceImpl
setupSocket
INFO: Binding to multicast address, failed. Binding to port only.
Apr 26, 2010 12:55:32 AM
org.apache.catalina.tribes.membership.McastServiceImpl
setupSocket
INFO: Setting multihome multicast interface to:/170.21.25.46
Apr 26, 2010 12:55:32 AM
org.apache.catalina.tribes.membership.McastServiceImpl
setupSocket
INFO: Setting cluster mcast soTimeout to 500
.
.
INFO: Manager [localhost#/mycontext]: skipping state transfer. No members
active in cluster group
-----------------------------------------------------------------------------------------------
I have followed the tomcat cluster howto guide closely, Given below is the
config (I have mentioned the changes between config of the two nodes where
ever applicable) :

<Cluster className="org.apache.catalina.ha.tcp.SimpleTcpCluster"
                 channelSendOptions="8">

         
          <Manager className="org.apache.catalina.ha.session.DeltaManager"
                   expireSessionsOnShutdown="true"
                                   useDirtyFlag="true" 
                   notifyListenersOnReplication="true"/>
         
          <Channel
className="org.apache.catalina.tribes.group.GroupChannel">
            <Membership
className="org.apache.catalina.tribes.membership.McastService"
                        address="228.0.0.4" 
                        port="45564"
                        frequency="500"
                        dropTime="3000"/>
            <Receiver
className="org.apache.catalina.tribes.transport.nio.NioReceiver"
                      address="auto"
                      port="4000"  (in second node it is 4001)
                      autoBind="100"
                      selectorTimeout="5000"
                      maxThreads="6"/>

            <Sender
className="org.apache.catalina.tribes.transport.ReplicationTransmitter">
              <Transport
className="org.apache.catalina.tribes.transport.nio.PooledParallelSender"/>
            </Sender>
            <Interceptor
className="org.apache.catalina.tribes.group.interceptors.TcpFailureDetector"/>
            <Interceptor
className="org.apache.catalina.tribes.group.interceptors.MessageDispatch15Interceptor"/>
          </Channel>

          <Valve className="org.apache.catalina.ha.tcp.ReplicationValve"
                
filter=".*\.gif;.*\.js;.*\.jpg;.*\.png;.*\.html;.*\.css;.*\.txt;"/>
          <Valve
className="org.apache.catalina.ha.session.JvmRouteBinderValve"
enabled="true" sessionIdAttribute="takeoverSessionid"/> 

          <ClusterListener
className="org.apache.catalina.ha.session.JvmRouteSessionIDBinderListener"/>
          <ClusterListener
className="org.apache.catalina.ha.session.ClusterSessionListener"/>
        </Cluster>    



What is the problem?? Any pointers, tips or outright solution would be
appreciated!!

-- 
View this message in context: 
http://old.nabble.com/Problem-with-tomcat-session-replication-tp28361225p28361225.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to