tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hartwig, Thomas" <t.hart...@crapoud.com>
Subject Re: corrupt sessions
Date Thu, 26 Jun 2003 08:19:58 GMT
Whom it may concern, I want to report that I did not resolve this 
problem with Tomcat 4.x.
However I have switched to Tomcat 5.0.3a and the session management 
seems to be quite different. Until now it works far better.

Thomas

Hartwig, Thomas wrote:
> I have sometimes problems with corrupt sessions. Sometimes tomcat logs a 
> EOFException and the servlet is not responding any more if a user wants 
> to connect who has such a session. The browser is waiting endless for a 
> response.
> Do you know a way to check the validity of a session and do you have 
> hints how to avoid corrupt sessions? I store some hashtables and vectors 
> in the session. Do I have to asure to call a finalizer, so the session 
> can be stored correct?
> I have already tried to call request.getRequestedSessionId() but tomcat 
> falls asleep before.
> 
> I use org.apache.catalina.session.PersistentManager with Filestore at 
> Tomcat 4.0.6 and 4.1.24 (both the same problem):
> 
> <Manager className="org.apache.catalina.session.PersistentManager"
>                           debug="0"
>                           saveOnRestart="true"
>                           maxActiveSessions="50"
>                           minIdleSwap="60"
>                           maxIdleSwap="120"
>                           maxIdleBackup="0">
>     <Store className="org.apache.catalina.session.FileStore"/>
> </Manager>
> 
> Thanks for any reply
> Thomas


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


Mime
View raw message