All of the objects contained within this object must also be serializable.
For example, you could have an object of MyObject type which is not
serializable, you could put it into a Vector. The Vector is a serializable
object, but since it holds reference to non-serializable object, the
streaming of the Vector to the session will fail with not serializable
exception.
>From: John Gbur <[EMAIL PROTECTED]>
>Reply-To: A mailing list about Java Server Pages specification and
> reference <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED]
>Subject: NotSerializableException
>Date: Fri, 23 Jun 2000 13:31:49 -0400
>
>This is really a Servlet problem, but maybe somebody has some answer.
>Sorry if it is slightly off-topic.
>
>Using iPlanet Web Server 4.1, we cannot save session or context
>attributes. We get the error:
>
>Session Manager: unable to store the object
>(java.io.NotSerializableException: com.csf.action.Logger
>
>We are using MMapSession Manager and have implemented the Serializable
>interface for this object. I understand that making the application
>distributable requires the objects to be serializable, but we do not
>need this for our application. If this option is set for our
>application, how do we turn it off (I assume it is an option in
>iPlanet). Thanks for any help.
>
>John Gbur
>
>===========================================================================
>To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
>JSP-INTEREST".
>Some relevant FAQs on JSP/Servlets can be found at:
>
> http://java.sun.com/products/jsp/faq.html
> http://www.esperanto.org.nz/jsp/jspfaq.html
> http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
> http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets