You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Keshav Sarin <KS...@net-deposit.com> on 2004/07/14 21:24:35 UTC

Tomcat 5 fails on serialized objects

I have a  class that implements Serializable. This class is put in a web
app deployed under TC. when the webapp is accessed via a browser, an
instance of this class is placed in the web session by the webapp. 

If an active session contains an instance of this class and if TC is
restarted, when webapp tries to create an instance of this class, TC
throws a ClassNotFoundException for this class.

Everything works fine if the webapp cleans the session i.e. by calling
session.invalidate().

What is happening here? Does TC persist the session? 

Using TC 5.0.25, Win XP. 

Thanks
Keshav




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