Bug 50411

Summary: invalid sessions not removed from PersistenManager store
Product: Tomcat 7 Reporter: Marco <marco>
Component: CatalinaAssignee: Tomcat Developers Mailing List <dev>
Severity: normal    
Priority: P2    
Version: 7.0.5   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   

Description Marco 2010-12-04 18:36:08 UTC
ChangeSet r1036595 in StandardSession no longer remove sessions from PersistentManger store.

I think PersistentMangerBase must now override method remove(Session session, boolean update) and no longer method remove(Session session).
Comment 1 Mark Thomas 2010-12-05 14:32:20 UTC
Thanks for the report. This has been fixed in trunk and will be included in 7.0.6 onwards.
Comment 2 Marco 2010-12-05 15:15:09 UTC
Hi Mark,

the bug needs a second change. In PersistentManagerBase.swapOut(...) the method call super.remove(session) must change to super.remove(session, false). At the moment a passivate session is not stored.
Comment 3 Mark Thomas 2010-12-05 17:51:06 UTC
Fixed. Also will be in 7.0.6.