Tim, On 10/9/20 02:18, Tim N wrote: >> The second seems to the result of a cluster message received which seems >> odd on the machine where the session is being created
I was going to ask about that registration process. It looks like each machine on the cluster registers every machine in the cluster *including itself*. If the current member thinks that there is another static member in the cluster which is also itself, then it will send updates to itself which ... is not what you want. > I think this was the issue. I've changed: > > StaticMembershipInterceptor interceptor = new StaticMembershipInterceptor(); > int clusterMemberCount = > Integer.parseInt(serverProperties.getProperty("tomcat-clusterMemberCount")); > { > StaticMember localMember = new StaticMember(); > localMember.setPort(port); > localMember.setSecurePort(-1); > localMember.setHost(serverProperties.getProperty("tomcat-clusterAddress")); > localMember.setDomain("publish-cluster"); > > localMember.setUniqueId(serverProperties.getProperty("tomcat-clusterMemberUniqueId")); > interceptor.setLocalMember(localMember); > interceptor.addStaticMember(localMember);//Removed > } > > ...to... > > StaticMembershipInterceptor interceptor = new StaticMembershipInterceptor(); > int clusterMemberCount = > Integer.parseInt(serverProperties.getProperty("tomcat-clusterMemberCount")); > { > StaticMember localMember = new StaticMember(); > localMember.setLocal(true);//Added > localMember.setPort(port); > localMember.setSecurePort(-1); > localMember.setHost(serverProperties.getProperty("tomcat-clusterAddress")); > localMember.setDomain("publish-cluster"); > > localMember.setUniqueId(serverProperties.getProperty("tomcat-clusterMemberUniqueId")); > interceptor.setLocalMember(localMember); > } > > ...and it seems to be fine now. That would do it. -chris --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org