O'Reilly logo
  • tim siu thinks this is interesting:

In order for PersistentManager to perform correctly, based on configuration, Tomcat will need to track the active requests for each session. This is required to determine valid sessions; a session is valid if it has at least one active request. Tomcat does not do this by default, in order not to affect performance and memory footprint unnecessarily, especially since PersistentManager isn’t configured by default. In order to tell Tomcat to start tracking active requests for each session, you need to set at least one of the following Java environment properties:

  • org.apache.catalina.session.StandardSession.ACTIVITY_CHECK, or
  • org.apache.catalina.ST...


Cover of Apache Tomcat 7


Tomcat Setting:
Session Persistent Setting