manager.getContainer().getLogger().debug(getStoreName()+ ": processExpires expire store session " + keys[i] );
}
boolean isLoaded = false;
- try {
- if (manager.findSession(keys[i]) != null) {
- isLoaded = true;
+ if (manager instanceof PersistentManagerBase) {
+ isLoaded = ((PersistentManagerBase) manager).isLoaded(keys[i]);
+ } else {
+ try {
+ if (manager.findSession(keys[i]) != null) {
+ isLoaded = true;
+ }
+ } catch (IOException ioe) {
+ // Ignore - session will be expired
}
- } catch (IOException ioe) {
- // Ignore - session will be expired
}
if (isLoaded) {
// recycle old backup session
Allow to have several AccessLogValve instances in the same scope (e.g.
in the same Context). (kkolinko)
</fix>
+ <fix>
+ <bug>51614</bug>: Avoid two times calls of store.load() and
+ session.expire() in PersistentManager. (kfujino)
+ </fix>
</changelog>
</subsection>
<subsection name="Coyote">