tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shapira, Yoav" <Yoav.Shap...@mpi.com>
Subject RE: NotSerializableException: StandardSessionFacade
Date Wed, 03 Dec 2003 14:01:20 GMT

Howdy,
Don't put a Session as a session attribute.

Yoav Shapira
Millennium ChemInformatics


>-----Original Message-----
>From: Andoni [mailto:andoni@indigo.ie]
>Sent: Wednesday, December 03, 2003 7:20 AM
>To: Tomcat Users List
>Subject: NotSerializableException: StandardSessionFacade
>
>I managed to get around the other problem with DBCP by removing the
>implements Serializable from the connection pooling bean.  Now I am
left
>with a problem I can't solve though as I cannot affect the:
>org.apache.catalina.session.StandardSessionFacade
>
>Each of my beans have an init() method that takes ServletContext and
>HttpSession as parameters so that they can call other beans at these
>levels.  Are these the Sessions that I am being asked to serialize or
>remove?
>
>If so how can I do this?
>
>
>
>StandardHost[www.myhost.com]: Removing web application at context path
>StandardManager[]: Cannot serialize session attribute userSession for
>session A8D7FCFB58E0D018D6C1E07E64368A88
>java.io.NotSerializableException:
>org.apache.catalina.session.StandardSessionFacade
>        at
>java.io.ObjectOutputStream.outputObject(ObjectOutputStream.java:1143)
>        at
>java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:361)
>
>Thanks as ever.
>
>Andoni.



This e-mail, including any attachments, is a confidential business communication, and may
contain information that is confidential, proprietary and/or privileged.  This e-mail is intended
only for the individual(s) to whom it is addressed, and may not be saved, copied, printed,
disclosed or used by anyone else.  If you are not the(an) intended recipient, please immediately
delete this e-mail from your computer system and notify the sender.  Thank you.


---------------------------------------------------------------------
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