You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2006/01/16 14:59:02 UTC
DO NOT REPLY [Bug 30489] - removeAttribute: Session already invalidated
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=30489>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=30489
thomas2.maesing@bgs-ag.de changed:
What |Removed |Added
----------------------------------------------------------------------------
Priority|P3 |P1
Version|5.0.25 |5.0.28
------- Additional Comments From thomas2.maesing@bgs-ag.de 2006-01-16 14:59 -------
The workaround doesn't fix the problem of Standard Session.
The removeAttribute method calls:
isValid()
which then expires the session if necessary:
if (maxInactiveInterval >= 0) {
long timeNow = System.currentTimeMillis();
int timeIdle = (int) ((timeNow - thisAccessedTime) / 1000L);
if (timeIdle >= maxInactiveInterval) {
expire(true);
}
}
as a result isvalid() returns false and an IllegalStateException is thrown
which results in the Context reloading again, but the StandardManager is already
in the state stopped
which results in an IllegalStateException and the Context starts reloading again
and so on
Therefore you have to stop the complete server.
I don't know the right solution, one may be a different state expired for the
StandardSession
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org