Tomcat 7 Session replication issue on fail-over
<p>We recently clustered our application with 2 tomcat nodes(7.0.53) and the cluster was setup as per the Tomcat documentation <a href="https://tomcat.apache.org/tomcat-7.0-doc/cluster-howto.html" rel="nofollow">https://tomcat.apache.org/tomcat-7.0-doc/cluster-howto.html</a> </p>

<p>Everything works as expected except the session replication doesnt work on fail over, I had to setup <code>hazelcast</code> on both tomcat instances to make the session replication work. I refered to <code>hazelcast</code> documentation to setup <a href="http://docs.hazelcast.org/docs/3.5/manual/html/websessionreplication.html" rel="nofollow">http://docs.hazelcast.org/docs/3.5/manual/html/websessionreplication.html</a> and session replication works perfectly on tomcat failure. I am just wondering is this a bug with Tomcat session replication? Or is it mandatory to use 3rd party libraries like <code>hazelcast</code> to achieve session replication on tomcat failure?  </p>