Thanks for the reply Mark.

The channelStartOptions setting is from the documentation
https://tomcat.apache.org/tomcat-8.5-doc/config/cluster.html
*"To start a channel without multicasting, you would want to use the value
Channel.SND_RX_SEQ | Channel.SND_TX_SEQ that equals to 3. "*

This configuration is working fine when both nodes are on the same local
machine (with different ports). It's on the multi machine setup that I am
facing a problem. Pinging the other machines is fine from both nodes, so it
should not be a networking issue.

Also, the documentation also says that the *distributable *tag is
deprecated and ignored since Tomcat 8 (https://tomcat.apache.org/migration-9
)
*"The distributable attribute has been deprecated in 8.0 and specified
value is ignored."*

Sincerely
Manak Bisht

On Fri, Dec 1, 2023 at 2:21 PM Mark Thomas <ma...@apache.org> wrote:

> 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