Author: markt Date: Thu Sep 25 19:52:50 2014 New Revision: 1627630 URL: http://svn.apache.org/r1627630 Log: Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=57016 When using the PersistentValve do not remove sessions from the store when persisting them.
Modified: tomcat/tc7.0.x/trunk/ (props changed) tomcat/tc7.0.x/trunk/java/org/apache/catalina/session/PersistentManagerBase.java tomcat/tc7.0.x/trunk/webapps/docs/changelog.xml Propchange: tomcat/tc7.0.x/trunk/ ------------------------------------------------------------------------------ Merged /tomcat/trunk:r1627629 Modified: tomcat/tc7.0.x/trunk/java/org/apache/catalina/session/PersistentManagerBase.java URL: http://svn.apache.org/viewvc/tomcat/tc7.0.x/trunk/java/org/apache/catalina/session/PersistentManagerBase.java?rev=1627630&r1=1627629&r2=1627630&view=diff ============================================================================== --- tomcat/tc7.0.x/trunk/java/org/apache/catalina/session/PersistentManagerBase.java (original) +++ tomcat/tc7.0.x/trunk/java/org/apache/catalina/session/PersistentManagerBase.java Thu Sep 25 19:52:50 2014 @@ -520,7 +520,7 @@ public abstract class PersistentManagerB * @param session Session to be removed */ public void removeSuper(Session session) { - super.remove (session); + super.remove(session, false); } /** Modified: tomcat/tc7.0.x/trunk/webapps/docs/changelog.xml URL: http://svn.apache.org/viewvc/tomcat/tc7.0.x/trunk/webapps/docs/changelog.xml?rev=1627630&r1=1627629&r2=1627630&view=diff ============================================================================== --- tomcat/tc7.0.x/trunk/webapps/docs/changelog.xml (original) +++ tomcat/tc7.0.x/trunk/webapps/docs/changelog.xml Thu Sep 25 19:52:50 2014 @@ -184,6 +184,10 @@ <bug>57011</bug>: Ensure that the request and response are correctly recycled when processing errors during async processing. (markt) </fix> + <fix> + <bug>57016</bug>: When using the <code>PersistentValve</code> do not + remove sessions from the store when persisting them. (markt) + </fix> </changelog> </subsection> <subsection name="Coyote"> --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org