Return-Path: Delivered-To: apmail-cocoon-users-archive@www.apache.org Received: (qmail 3525 invoked from network); 20 Jan 2005 22:20:58 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 20 Jan 2005 22:20:58 -0000 Received: (qmail 12776 invoked by uid 500); 20 Jan 2005 22:20:52 -0000 Delivered-To: apmail-cocoon-users-archive@cocoon.apache.org Received: (qmail 12533 invoked by uid 500); 20 Jan 2005 22:20:50 -0000 Mailing-List: contact users-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: users@cocoon.apache.org Delivered-To: mailing list users@cocoon.apache.org Received: (qmail 12516 invoked by uid 99); 20 Jan 2005 22:20:50 -0000 X-ASF-Spam-Status: No, hits=0.4 required=10.0 tests=DNS_FROM_RFC_ABUSE X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from mailgate2.dslextreme.com (HELO mailgate2.dslextreme.com) (66.51.199.95) by apache.org (qpsmtpd/0.28) with ESMTP; Thu, 20 Jan 2005 14:20:49 -0800 Received: from mail5.dslextreme.com (unknown [192.168.7.93]) by mailgate2.dslextreme.com (Postfix) with SMTP id 16AF43A6E1C for ; Thu, 20 Jan 2005 14:20:45 -0800 (PST) Received: (qmail 22075 invoked from network); 20 Jan 2005 22:20:46 -0000 Received: from unknown (HELO belagio) (66.51.196.164) by mail5.dslextreme.com with SMTP; Thu, 20 Jan 2005 14:20:46 -0800 Message-ID: <41F02EBD.5000203@dslextreme.com> Date: Thu, 20 Jan 2005 14:20:45 -0800 From: Ralph Goers User-Agent: Mozilla Thunderbird 1.0 (X11/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 To: users@cocoon.apache.org Subject: Re: Session serialization References: <41EFD443.8020908@zorel.org> In-Reply-To: <41EFD443.8020908@zorel.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-DSLExtreme-MailGate-Information: Please contact the ISP for more information X-DSLExtreme-MailGate: Found to be clean X-MailScanner-From: ralph.goers@dslextreme.com X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Aur�lien DEHAY wrote: > Hello. > > I'm trying to serialize my sessions with the persistance manager of > tomcat to not loose them between during a restart. > > I use session-context to store XML in my session and use a flowscript > to handle my login logic (maybe it's not the sexyier way, but that's > the way I do it). > > When I shutdown my tomcat (tested with tomcat 5.0.28, 5.0.30 and > 5.5.4), I've got the following error: > > java.io.NotSerializableException: > org.apache.cocoon.components.CocoonComponentManager. > > What is this object? I've tryied to invalidate my continuations > objects in the flowscript without any success. Is anyone knows a > solution? > > Regards. > Cocoon is not a distributable application, as defined by the Servlet spec. You will find that quite a few non-Serializable objects are stored in the session. CocoonComponentManager is pretty much what it sounds like. It keeps track of all the components that have been configured and are available for use. As you can imagine, Serializing this would make very little sense. I have no idea why it is being stored in the session though. Ralph --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org For additional commands, e-mail: users-help@cocoon.apache.org