https://bz.apache.org/bugzilla/show_bug.cgi?id=64312

Pavana Sai Mahathi Vavilala <mahathivavilal...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|WORKSFORME                  |---
             Status|RESOLVED                    |REOPENED

--- Comment #5 from Pavana Sai Mahathi Vavilala <mahathivavilal...@gmail.com> 
---
We reproduced this issue on Tomcat-only (v8.5.54 and v8.5.50) cluster setup
using Oracle JDK 12.0.2 (64-bit, java version "12.0.2" 2019-07-16) and JDK14
(64-bit, java version "14" 2020-03-17).

Cluster setup Details:
1) Nodes Configurations:
   Count : 2
   Resources : 1-cpu 2.29 GHZ, 1-core and 4 GB RAM.

2) Server.xml Configuration:
    a) We used the default cluster settings as per Tomcat 8.5 docs
(https://tomcat.apache.org/tomcat-8.5-doc/cluster-howto.html) using
asynchronous replication mode: 
        <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" frequency="500" dropTime="3000" />
            <Receiver
className="org.apache.catalina.tribes.transport.nio.NioReceiver" address="auto"
port="4000" autoBind="100" selectorTimeout="5000" maxThreads="6" />
            <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.TcpFailureDetector" />
            <Interceptor
className="org.apache.catalina.tribes.group.interceptors.MessageDispatchInterceptor"
/>
          </Channel>
          <Valve className="org.apache.catalina.ha.tcp.ReplicationValve"
filter=".*\.gif;.*\.js;.*\.jpg;.*\.png;.*\.htm;.*\.html;.*\.css;.*\.txt;" />
          <Valve className="org.apache.catalina.ha.session.JvmRouteBinderValve"
/>
          <Deployer className="org.apache.catalina.ha.deploy.FarmWarDeployer"
tempDir="/tmp/war-temp/" deployDir="/tmp/war-deploy/"
watchDir="/tmp/war-listen/" watchEnabled="false" />
          <ClusterListener
className="com.cardiff.cluster.LOClusterImplementation" />
          <ClusterListener
className="org.apache.catalina.ha.session.ClusterSessionListener" />
        </Cluster>

    b) Also for non-default channelSendOptions:
                 <Cluster
className="org.apache.catalina.ha.tcp.SimpleTcpCluster" channelSendOptions="6">

    In both instances, we reproduced the issue.

Note: We were unable to reproduce it with increased cpu resources (cpu count >=
2) or higher dropTime (>= 8500 ms).

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to