Hello All, I actually sent this yesterday, but never saw it show up in the archive or in my inbox so trying again. Sorry if y'all are getting this twice.
I'm having a problem setting up clustering in Tomcat 6.0 on RedHat ES 4. I'm hoping someone can help me with this. I'm using a very vanilla multicast clustering implementation. The problem is that the 2 machines I want to cluster are on different subnets with 4 hops between them. Because of this I need to up the Membership multicast ttl. Unfortunately for some reason it doesn't appear that setting the ttl is having any effect for me. I have verified that I can change the multicast address, port, and frequency and those settings seem to work. It is only the ttl that doesn't seem to change. (I've reverted all of those changes back to default now). Here is my clustering set up from server.xml <Cluster className="org.apache.catalina.ha.tcp.SimpleTcpCluster" channelSendOptions="8"> <Manager className="org.apache.catalina.ha.session.DeltaManager" expireSessionsOnShutdown="false" 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" ttl="15" frequency="500" dropTime="3000"/> <Sender className="org.apache.catalina.tribes.transport.ReplicationTransmitter"> <Transport className="org.apache.catalina.tribes.transport.nio.PooledParallelSender"/> </Sender> <Receiver className="org.apache.catalina.tribes.transport.nio.NioReceiver" address="auto" port="4000" autoBind="100" selectorTimeout="5000" maxThreads="6"/> <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=""/> <Valve className="org.apache.catalina.ha.session.JvmRouteBinderValve"/> <ClusterListener className="org.apache.catalina.ha.session.JvmRouteSessionIDBinderListener"/> <ClusterListener className="org.apache.catalina.ha.session.ClusterSessionListener"/> </Cluster> As you can see I've changed the Membership ttl to 15. However, when I start up apache and run a tcpdump it appears that the TTL is still set to 1. Our network admins have also verified from their end that it appears the ttl on the multicast traffic is 1. [ root on godofwar ] tcpdump host 228.0.0.4 -v tcpdump: listening on eth0, link-type EN10MB (Ethernet), capture size 96 bytes 17:32:45.852847 IP (tos 0xc0, ttl 1, id 63038, offset 0, flags [none], proto 2, length: 28) mp3-1n14-c1-e-gw-vlan-1329.natinst.com > reserved-multicast-range-not-delegated.example.com: igmp query v2 [max resp time 10] [gaddr reserved-multicast-range-not-delegated.example.com] 17:32:50.560751 IP (tos 0xc0, ttl 1, id 0, offset 0, flags [DF], proto 2, length: 32, optlength: 4 ( RA )) godofwar.natinst.com > reserved-multicast-range-not-delegated.example.com: igmp v2 report reserved-multicast-range-not-delegated.example.com 17:32:51.583260 IP (tos 0x0, ttl 1, id 0, offset 0, flags [DF], proto 17, length: 97) godofwar.natinst.com.45564 > reserved-multicast-range-not-delegated.example.com.45564: UDP, length 69 17:32:51.585935 IP (tos 0x0, ttl 1, id 0, offset 0, flags [DF], proto 17, length: 97) godofwar.natinst.com.45564 > reserved-multicast-range-not-delegated.example.com.45564: UDP, length 69 17:32:52.087227 IP (tos 0x0, ttl 1, id 0, offset 0, flags [DF], proto 17, length: 97) godofwar.natinst.com.45564 > reserved-multicast-range-not-delegated.example.com.45564: UDP, length 69 17:32:52.589311 IP (tos 0x0, ttl 1, id 0, offset 0, flags [DF], proto 17, length: 97) godofwar.natinst.com.45564 > reserved-multicast-range-not-delegated.example.com.45564: UDP, length 69 17:32:53.091522 IP (tos 0x0, ttl 1, id 0, offset 0, flags [DF], proto 17, length: 97) godofwar.natinst.com.45564 > reserved-multicast-range-not-delegated.example.com.45564: UDP, length 69 Does anybody have any ideas on why this is? Thanks in advance ~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~ Mark Osborne Web Systems Engineer [EMAIL PROTECTED] (512) 683-5019 ~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~