Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Update based on the fixes in Joget DX 8.1.5

...

English
This article will explain on how to configure the Tomcat Persistent Manager, which has the capability to swap active (but idle) sessions out to a persistent storage mechanism, as well as to save all sessions across a normal restart of Tomcat.
Info
titleChanges to the PersistentValve configurationFixes in Joget DX 8.1.5

After recent fix for clustering in Joget DX 8.1.5, the session persistence is working as intended and non-sticky session is possible using the Tomcat session persistence. Kindly note that for the non-sticky session to work properly, we don't need to add route in the Tomcat server.xml configuration. We have removed that step in the latest version of this article Due to the recent changes in Tomcat, the PersistentValve configuration no longer works, so it is suggested to use load balancer with sticky sessions with the Tomcat session replication.

Info
Note : This KB is only for the Tomcat configuration, for other clustering configurations eg. setting up shared directory etc please refer to Server Clustering Guide page here.

In server.xml file, we need to add the jvmRoute.

Code Block
languagebash
<Engine name="Catalina" defaultHost="localhost" jvmRoute="jvm1">

In catalina.properties, add the

...