Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 39994 invoked from network); 10 Feb 2009 16:32:06 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 10 Feb 2009 16:32:06 -0000 Received: (qmail 55843 invoked by uid 500); 10 Feb 2009 16:31:54 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 55815 invoked by uid 500); 10 Feb 2009 16:31:54 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 55798 invoked by uid 99); 10 Feb 2009 16:31:54 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 Feb 2009 08:31:54 -0800 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [193.252.22.152] (HELO smtp5.freeserve.com) (193.252.22.152) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 Feb 2009 16:31:44 +0000 Received: from me-wanadoo.net (localhost [127.0.0.1]) by mwinf3422.me.freeserve.com (SMTP Server) with ESMTP id 64EA51C00084 for ; Tue, 10 Feb 2009 17:31:23 +0100 (CET) Received: from smtp.homeinbox.net (unknown [91.109.142.188]) by mwinf3422.me.freeserve.com (SMTP Server) with ESMTP id 8E2F81C00088 for ; Tue, 10 Feb 2009 17:31:22 +0100 (CET) X-ME-UUID: 20090210163122582.8E2F81C00088@mwinf3422.me.freeserve.com Received: from localhost (localhost [127.0.0.1]) by smtp.homeinbox.net (Postfix) with ESMTP id 397A31A40B2 for ; Tue, 10 Feb 2009 16:31:04 +0000 (GMT) X-Virus-Scanned: Debian amavisd-new at homeinbox.net Received: from smtp.homeinbox.net ([127.0.0.1]) by localhost (server01.dev.local [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id q65jwqa9C9rY for ; Tue, 10 Feb 2009 16:30:59 +0000 (GMT) Received: from macbook.local (unknown [213.1.210.34]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.homeinbox.net (Postfix) with ESMTPSA id C4CC31A42DA for ; Tue, 10 Feb 2009 16:30:59 +0000 (GMT) Message-ID: <4991ABBE.4040907@apache.org> Date: Tue, 10 Feb 2009 16:30:54 +0000 From: Mark Thomas User-Agent: Thunderbird 2.0.0.19 (Macintosh/20081209) MIME-Version: 1.0 To: Tomcat Users List Subject: Re: How to exclude some classes to being serialized in sharing session with clustered tomcats? References: <4991AA68.1040202@devbg.piranko.com> In-Reply-To: <4991AA68.1040202@devbg.piranko.com> X-Enigmail-Version: 0.95.7 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Stanimir Komitov wrote: > Hi, > > How to exclude some classes to being serialized in sharing session with > clustered tomcats? > I`m using hibernate, spring, java mail, apache commons dbcp, pool ... > and to serialize/deserialize sessions all the classes must implement > Serializable (or Externalizable), and I think that it`s not a solution > to correct all classes I use in all APIs. And why the application scope > beans are serialized too? If you don't want it serialized, don't put it in the session. More seriously, most of what you quote above should never go anywhere near a user's session. Mark > > Thanks > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org > For additional commands, e-mail: users-help@tomcat.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org