Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@www.apache.org Received: (qmail 69494 invoked from network); 3 Dec 2003 14:02:57 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 3 Dec 2003 14:02:57 -0000 Received: (qmail 12657 invoked by uid 500); 3 Dec 2003 14:02:22 -0000 Delivered-To: apmail-jakarta-tomcat-user-archive@jakarta.apache.org Received: (qmail 12488 invoked by uid 500); 3 Dec 2003 14:02:21 -0000 Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Tomcat Users List" Reply-To: "Tomcat Users List" Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 12469 invoked from network); 3 Dec 2003 14:02:21 -0000 Received: from unknown (HELO mustang.mpi.com) (63.244.250.132) by daedalus.apache.org with SMTP; 3 Dec 2003 14:02:21 -0000 Received: from lightning.mpi.com (lightning.mpi.com [63.244.252.11]) by mustang.mpi.com (Switch-2.2.8/Switch-2.2.8) with ESMTP id hB3E06k11939 for ; Wed, 3 Dec 2003 09:00:06 -0500 (EST) Received: from US-VS1.corp.mpi.com (us-be1.corp.mpi.com [63.244.252.30]) by lightning.mpi.com (Switch-3.0.5/Switch-3.0.0) with ESMTP id hB3E1mFl016793 for ; Wed, 3 Dec 2003 09:02:15 -0500 (EST) X-MimeOLE: Produced By Microsoft Exchange V6.0.6487.1 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: RE: NotSerializableException: StandardSessionFacade Date: Wed, 3 Dec 2003 09:01:20 -0500 Message-ID: <9C5166762F311146951505C6790A9CF8013DF7A1@US-VS1.corp.mpi.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: NotSerializableException: StandardSessionFacade Thread-Index: AcO5lkK3bTk3ZNAAQUmnrqmSgdPXsAAD500A From: "Shapira, Yoav" To: "Tomcat Users List" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N 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 pat= h >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 com= munication, and may contain information that is confidential, propriet= ary and/or privileged. This e-mail is intended only for the individua= l(s) to whom it is addressed, and may not be saved, copied, printed, d= isclosed or used by anyone else. If you are not the(an) intended reci= pient, 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