You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Antony paul <an...@hotmail.com> on 2003/06/21 04:07:03 UTC
How to serialize an object which is put in the session ?
I have a class which implements the HttpSessionBindingListener interface. I
want to serialize this object and all sessions when the context is reloaded.
It is essential because three deveopers are using the same server and if ine
user compiles a servlet all users get a nullpointer exception. I am using
Tomcat 4.1.18. The class implements the Serializable interface. But it is
throwing Nullpointer exception after reload. How to know that the object and
session is saved when the context is reloaded. I tried changing the
debugging levels of Engine element and Context element. Still Tomcat is not
giving any debug information about what it is oing when the context is
reloaded. The 4.0.3 version gves better logs.
Antony
_________________________________________________________________
Add photos to your messages with MSN 8. Get 2 months FREE*.
http://join.msn.com/?page=features/featuredemail
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org