Return-Path: Delivered-To: apmail-cocoon-users-archive@www.apache.org Received: (qmail 54693 invoked from network); 27 Feb 2008 07:58:37 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 27 Feb 2008 07:58:37 -0000 Received: (qmail 15074 invoked by uid 500); 27 Feb 2008 07:58:25 -0000 Delivered-To: apmail-cocoon-users-archive@cocoon.apache.org Received: (qmail 15018 invoked by uid 500); 27 Feb 2008 07:58:25 -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 15007 invoked by uid 99); 27 Feb 2008 07:58:25 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 26 Feb 2008 23:58:25 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [130.231.240.1] (HELO oulu.fi) (130.231.240.1) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 27 Feb 2008 07:57:49 +0000 Received: from cc.oulu.fi (sun3.oulu.fi [130.231.240.13]) by oulu.fi (8.13.7/8.13.7) with ESMTP id m1R7vvJ5025470 for ; Wed, 27 Feb 2008 09:57:57 +0200 (EET) Received: from [192.168.1.10] (dsl-176-86.oulu.fi [130.231.176.86]) by cc.oulu.fi (8.13.7/8.13.7) with ESMTP id m1R7vvnR017032 for ; Wed, 27 Feb 2008 09:57:57 +0200 (EET) Message-ID: <47C51805.9010800@cc.oulu.fi> Date: Wed, 27 Feb 2008 09:57:57 +0200 From: Andre Juffer Reply-To: Andre.Juffer@oulu.fi Organization: The University of Oulu User-Agent: Icedove 1.5.0.14pre (X11/20080208) MIME-Version: 1.0 To: users@cocoon.apache.org Subject: Re: jetty References: <47C29EBF.3040109@cc.oulu.fi> <47C3B7F7.7040603@apache.org> <47C3D60A.5080208@oulu.fi> <47C50D23.6060906@apache.org> <47C5145C.8090303@cc.oulu.fi> <47C5151F.8080906@apache.org> In-Reply-To: <47C5151F.8080906@apache.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Sorry, I do to correct myself. Placing the 'var finished = false' as the first statement actually works fine! This I do not understand at all. Thanks, Andre Carsten Ziegeler wrote: > Andre Juffer schrieb: >> Carsten Ziegeler wrote: >>> Hmm, from this description I can only guess what the problem might >>> be. I guess that you have different libs and/or different class >>> loading behaviour between Jetty and Tomcat. So it might be that you >>> end up with a different Rhino version used or something similar. >>> >>> In any case, you should see an exception "somewhere" (being it in the >>> browser or in the logs); your description also seems to imply that in >>> the case of Jetty an endless loop is reached. So what happens if you >>> set finished to true before the loop but leave the try/catch in? >> >> If I replace 'var finished = false' to 'var finished = true', the >> while portion is skipped and the script continues with >> cocoon.sendPage(...). >> > :) > > True, but you can set finished to true as the first statement in the > while loop. > > Carsten > > -- Andre H. Juffer | Email: Andre.Juffer@oulu.fi The Biocenter and | WWW: www.biochem.oulu.fi/Biocomputing/ the Dep. of Biochemistry | Fax: +358-8-553-1141 University of Oulu, Finland | Phone: +358-8-553 1161 Triacle Biocomputing | WWW: www.triacle-bc.com --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org For additional commands, e-mail: users-help@cocoon.apache.org