Return-Path: Delivered-To: apmail-cocoon-users-archive@www.apache.org Received: (qmail 66754 invoked from network); 23 May 2005 12:08:18 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 23 May 2005 12:08:18 -0000 Received: (qmail 3155 invoked by uid 500); 23 May 2005 12:08:11 -0000 Delivered-To: apmail-cocoon-users-archive@cocoon.apache.org Received: (qmail 3091 invoked by uid 500); 23 May 2005 12:08:11 -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 List-Id: Delivered-To: mailing list users@cocoon.apache.org Received: (qmail 3074 invoked by uid 99); 23 May 2005 12:08:11 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy includes SPF record at spf.trusted-forwarder.org) Received: from smtp001.mail.ukl.yahoo.com (HELO smtp001.mail.ukl.yahoo.com) (217.12.11.32) by apache.org (qpsmtpd/0.28) with SMTP; Mon, 23 May 2005 05:08:09 -0700 Received: from unknown (HELO ?192.168.1.31?) (reinhard?poetz@62.178.239.20 with plain) by smtp001.mail.ukl.yahoo.com with SMTP; 23 May 2005 12:08:05 -0000 Message-ID: <4291C7A1.20801@apache.org> Date: Mon, 23 May 2005 14:08:01 +0200 From: Reinhard Poetz User-Agent: Mozilla Thunderbird 0.9 (Windows/20041103) X-Accept-Language: en-us, en MIME-Version: 1.0 To: users@cocoon.apache.org Subject: Re: Not serializable exception References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N angeloimm wrote: > Hi all; i'm using cocoon 2.1.5 and 2.1.7 under JBoss 3.2.6; i'ld like to know why when i shutdown the server and i restart it i have the error java.io.NotSerializableException: org.apache.cocoon.components.CocoonComponentManager; the component CocoonComponentManager tries to store the session and it's not serializable... how can avoid this error? > One more thing... if i want to use cocoon in a cluster.... is it possible? That is is cocoon distributable ? It depends. If you use Flowscript or Javaflow then you'll run into a couple of problems and AFAIK the portal isn't distributable either. Fixing at least the Flowscript problem is on my mid-term todo list but don't hold your breath. If you don't use any of the mentioned technologies it only depends on your application and what you put into the session. If you put a component into the session, that has access to the ServiceManager (form erthe ComponentManager), a NotSerializableException will be the result. Using the 'transient' keyword should help. -- Reinhard P�tz Independent Consultant, Trainer & (IT)-Coach {Software Engineering, Open Source, Web Applications, Apache Cocoon} web(log): http://www.poetz.cc -------------------------------------------------------------------- --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org For additional commands, e-mail: users-help@cocoon.apache.org