tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From André Warnier ...@ice-sa.com>
Subject Re: java.lang.IllegalStateException Question
Date Thu, 22 Mar 2012 11:40:15 GMT
Martin Gainty wrote:
> Mitch
> One possible cause
> 
> FE Application creates session
> passes queryString or posted Data (hopefully in Sesion) to backend Axis WebService
> Objects are serialized to disk with existing JSESSIONID
> FE times out
> back end responds to a disconnected session and tries to re-create session with old JSESSIONID
> Illegal StateException is thrown when client tries to (re)create new session with old
serialized JSESSIONID
> 
+1
I would add that the "illegal state" indicated by the error message is a special tomcat 
quantum state, resulting from a situation in which the response, while not being totally 
sent yet, is in fact partially sent already, causing a certain amount of probabilistic 
confusion a the level of the event horizon.
This is caught by a hidden class in Tomcat, invoking a singleton object which writes a 
generally nonsensical message in one of the logs, chosen at random.
Due to the nature of the error, it is of course extremely hard to reproduce, as one can 
find out either the exact time of the event, or its location, but not both.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message