https://issues.apache.org/bugzilla/show_bug.cgi?id=56578

--- Comment #6 from Konstantin Kolinko <knst.koli...@gmail.com> ---
Ack. Thank you!
It is reproducible with 8.0 if I add <distributable/> to
examples/WEB-INF/web.xml.

This regression is caused by StandardSession change in r1584915
(a fix to bug 56339)

The session object is DeltaSession.
The sequence of events is:

1. session.invalidate() = StandardSession.invalidate() -> calls expire()
2. expire() is implemented as expire(notify=true)
3. DeltaSession.expire(notify) is implemented as expire(notify=true,
notifyCluster=true).

4. DeltaSession.expire(boolean notify, boolean notifyCluster)
- sets "expiring = true"
- does cluster.send(msg);
- calls super.expire(notify);

Here the things go wrong. Because of the change in r1584915 the
StandardSession.expire(notify) checks the "expiring" flag and exits
immediately. Effectively that call became a NOOP.

Thus the actual expiration does not happen.

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to