hi all, this is my system info NT 4.0 IIS 4.0 JRun 3.1 I have written a few servlets and jsp pages for a project i am working on. i am using session tracking for user authentication.everything is working fine but sometimes i lose the session information.when i checked the JRun log files i found the following error 08/07 12:44:42 error (session) Session data is not serializable (ID=103726997202377538) - session is lost 08/07 12:44:42 error (session) Session data is not serializable (ID=278050997202666173) - session is lost does anyone know whats happening here? any help would be greatly appreciated. Subbu
[This message has been edited by Subbu Aswathanarayan (edited August 07, 2001).]
Author and all-around good cowpoke
Joined: Mar 22, 2000
JRun is trying to write the session out to disk to save memory. You have attached something to the session that is not serializable so the session is lost. If that un-serializable object is under your control, you could have the class implement Serializable and see what happens. Bill
Check your configuration. Your application should not be marked as distributable - remove the <distributable/> tag in the web.xml deployment descriptor. In a clustered environment objects must be serializable to be stored in the session because the sessions itself are serialized and transferred by the cluster server to one of a number of clients.