I am unable to get a 2 node cluster to work. I am using 5.5.15, as I saw in an email that prior versions are broken.
when i start node A i see the following written to the log: 1064 INFO [main] - Manager [localhost/cluster]: skipping state transfer. No members active in cluster group. I expect that. when i start node B (after A is started) I see the same snippet: 1219 INFO [main] - Manager [localhost/cluster]: skipping state transfer. No members active in cluster group. I do not expect that. Obviously the two nodes are not finding each other. I have pinged 228.0.0.4 from those servers, as well as 228.0.0.1, and receive responses from each of the servers, so I _believe_ Multicast is operating properly, though I am not a network guy. I am using the server.xml obtained from the documentation (attached below), and I have carefully followed all instructions in the clustering documentation, though perhaps not carefully enough ;-). My servers are not multi-homed, thus I have tried both with and without the mcastBindAddress attribute, but it makes no difference. Can anyone suggest what I may be missing here? cheers, Bradley McLain <Server port="8011" shutdown="SHUTDOWN" > <GlobalNamingResources> <Resource name="UserDatabase" auth="Container" type="org.apache.catalina.UserDatabase" description="User database that can be updated and saved" factory="org.apache.catalina.users.MemoryUserDatabaseFactory" pathname="conf/tomcat-users.xml" /> </GlobalNamingResources> <Service name="Catalina"> <Connector port="80" maxThreads="100" minSpareThreads="4" maxSpareThreads="4" /> <Engine name="Catalina" defaultHost="localhost" jvmRoute="node01" > <Realm className="org.apache.catalina.realm.UserDatabaseRealm" resourceName="UserDatabase" /> <Cluster className="org.apache.catalina.cluster.tcp.SimpleTcpCluster" doClusterLog="true" clusterLogName="clusterlog" manager.className="org.apache.catalina.cluster.session.DeltaManager" manager.expireSessionsOnShutdown="false" manager.notifyListenersOnReplication="false" manager.notifySessionListenersOnReplication="false" manager.sendAllSessions="false" manager.sendAllSessionsSize="500" manager.sendAllSessionsWaitTime="20"> <Membership className="org.apache.catalina.cluster.mcast.McastService" mcastAddr="228.0.0.4" mcastClusterDomain="d10" mcastPort="45564" mcastFrequency="1000" mcastDropTime="30000"/> <Receiver className="org.apache.catalina.cluster.tcp.ReplicationListener" tcpListenAddress="auto" tcpListenPort="9015" tcpSelectorTimeout="100" tcpThreadCount="6" /> <Sender className="org.apache.catalina.cluster.tcp.ReplicationTransmitter" replicationMode="fastasyncqueue" doTransmitterProcessingStats="true" doProcessingStats="true" doWaitAckStats="true" queueTimeWait="true" queueDoStats="true" queueCheckLock="true" ackTimeout="15000" waitForAck="true" keepAliveTimeout="80000" keepAliveMaxRequestCount="-1"/> <Valve className="org.apache.catalina.cluster.tcp.ReplicationValve" filter=".*\.gif;.* \.js;.*\.css;.*\.png;.*\.jpeg;.*\.jpg;.*\.html;.*\.txt;" primaryIndicator="true" /> <Valve className="org.apache.catalina.cluster.session.JvmRouteBinderValve" enabled="true" /> <ClusterListener className="org.apache.catalina.cluster.session.ClusterSessionListener" /> <ClusterListener className="org.apache.catalina.cluster.session.JvmRouteSessionIDBinderListener" /> <!-- <Deployer className="org.apache.catalina.cluster.deploy.FarmWarDeployer" tempDir="${catalina.base}/war-temp" deployDir="${catalina.base}/war-deploy/" watchDir="${catalina.base}/war-listen/" watchEnabled="true"/> --> </Cluster> <Host name="localhost" appBase="webapps"/> </Engine> </Service> </Server> --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]