Remove dependency between StoreBase and PersistentManager and associated code clean-up.
Patch provided by Tiago Batista.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@
1033024 13f79535-47bb-0310-9956-
ffa450edef68
if (manager.getContainer().getLogger().isDebugEnabled()) {
manager.getContainer().getLogger().debug(getStoreName()+ ": processExpires expire store session " + keys[i] );
}
- if ( ( (PersistentManagerBase) manager).isLoaded( keys[i] )) {
+ boolean isLoaded = false;
+ try {
+ if (manager.findSession(keys[i]) != null) {
+ isLoaded = true;
+ }
+ } catch (IOException ioe) {
+ // Ignore - session will be expired
+ }
+ if (isLoaded) {
// recycle old backup session
session.recycle();
} else {
Correct infinite loop if <code>ServletRequest.startAsync(ServletRequest,
ServletResponse)</code> was called. (markt)
</fix>
+ <fix>
+ <bug>50232</bug>: Remove dependency between StoreBase and
+ PersistentManager and associated code clean-up. Patch provided by
+ Tiago Batista. (markt)
+ </fix>
</changelog>
</subsection>
<subsection name="Jasper">