On 01/12/2023 08:27, Manak Bisht wrote:
Hi, I am trying to implement non-sticky session replication using Delta
Manager with static membership. The nodes are across two different
machines. I am unable to discover members in the cluster with the following
logs on both machines -

org.apache.catalina.ha.session.DeltaManager.startInternal Register manager
localhost# to cluster element Engine with name Catalina
org.apache.catalina.ha.session.DeltaManager.startInternal Starting
clustering manager at localhost#
org.apache.catalina.ha.session.DeltaManager.getAllClusterSessions Manager
[localhost#]: skipping state transfer. No members active in cluster group.

  Please find the cluster settings (inside the *<Engine> *tag) below. I have
also added the *<distributable/> *tag to the *web.xml *files.

*Node_1*
<Cluster className="org.apache.catalina.ha.tcp.SimpleTcpCluster"
     channelSendOptions="6" channelStartOptions="3">

Why channelStartOptions=3 ? I think this shoudl use the default.

     <Manager className="org.apache.catalina.ha.session.DeltaManager"
         expireSessionsOnShutdown="false"
notifyListenersOnReplication="true"/>

Minor point but I try not to define values that are using the defaults so I cam more easily see the 'interesting' settings.

<snip/>

What am I doing wrong here? Any help would be greatly appreciated.

Nothing else jumps out at me immediately.

Mark

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

Reply via email to