Hello, Hoping someone could help with this...
I have a tomcat 7.0.32 cluster, which isn't used at all for session persistence or load balancing (there is no apache http), but instead just for auto-deployments using FarmWarDeployer. It currently works, so I add my applications .war file to one, and it auto deploys on to all the other instances. However, I have been told it should be possible to have the same set-up with the context.xml. So if I amend one, it the changes are copied to all other instances within the cluster. From the documentation, I'm unable to find any mention of this. So I'd just like to confirm - is this possible at all, or have I been told incorrectly? My server.xml cluster config is below: <Cluster className="org.apache.catalina.ha.tcp.SimpleTcpCluster" channelSendOptions="6" channelStartOptions="3"> <Manager className="org.apache.catalina.ha.session.DeltaManager" expireSessionsOnShutdown="false" notifyListenersOnReplication="true" /> <Channel className="org.apache.catalina.tribes.group.GroupChannel"> <Receiver className="org.apache.catalina.tribes.transport.nio.NioReceiver" autoBind="0" selectorTimeout="5000" maxThreads="6" port="****" /> <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.TcpPingInterceptor" /> <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.StaticMembershipInterceptor"> <Member className="org.apache.catalina.tribes.membership.StaticMember" securePort="-1" host="**.**.**.**" port="****" /> </Interceptor> </Channel> <Valve className="org.apache.catalina.ha.tcp.ReplicationValve" filter=".*.gif;.*.jpg;.*.png;.*.css" /> <Valve className="org.apache.catalina.ha.session.JvmRouteBinderValve" /> <ClusterListener className="org.apache.catalina.ha.session.JvmRouteSessionIDBinderListener" /> <ClusterListener className="org.apache.catalina.ha.session.ClusterSessionListener" /> <Deployer className="org.apache.catalina.ha.deploy.FarmWarDeployer" tempDir="C:/Tomcat/temp/" deployDir="C:/Tomcat/webapps/" watchDir="C:/Tomcat/watch/" watchEnabled="true"/> </Cluster> Any help appreciated, Mike