Hello,

I have now reworked my code so that instead of having an "init()" method in
the <jsp:useBean ></jsp:useBean> tag which is taking the session and the
application implicit variables as parameters...  Now I have code to fill
objects with the contents of session and passing these as objects to the
Beans which are in Session and application scope.

Unfortunately the error message is still there. ;-(

Andoni.


----- Original Message -----
From: "Shapira, Yoav" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Wednesday, December 03, 2003 2:01 PM
Subject: RE: NotSerializableException: StandardSessionFacade



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

Yoav Shapira
Millennium ChemInformatics


>-----Original Message-----
>From: Andoni [mailto:[EMAIL PROTECTED]
>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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to