Return-Path: Delivered-To: apmail-cocoon-users-archive@www.apache.org Received: (qmail 64762 invoked from network); 14 Jul 2008 05:05:18 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 14 Jul 2008 05:05:18 -0000 Received: (qmail 4073 invoked by uid 500); 14 Jul 2008 05:05:16 -0000 Delivered-To: apmail-cocoon-users-archive@cocoon.apache.org Received: (qmail 4065 invoked by uid 500); 14 Jul 2008 05:05:16 -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 4054 invoked by uid 99); 14 Jul 2008 05:05:16 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 13 Jul 2008 22:05:16 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=FORGED_MUA_OUTLOOK,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [170.215.19.28] (HELO server.csparks.com) (170.215.19.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 14 Jul 2008 05:04:24 +0000 Received: from Asus (asus.csparks.com [192.168.1.6]) by server.csparks.com (8.14.1/8.14.1) with SMTP id m6E54i8v030141 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NO) for ; Mon, 14 Jul 2008 00:04:45 -0500 Message-ID: From: "Hugh Sparks" To: References: <487A271E.8090505@gmail.com> Subject: Cocoon 2.2 flowscipt debugger possible? Date: Mon, 14 Jul 2008 00:04:52 -0500 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=response Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.5512 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5512 X-Virus-Checked: Checked by ClamAV on apache.org I read a few posts that suggest that this is impossible, but I decided to try the flowscript debugger anyway. I'm running under Tomcat, so I copied the file cocoon-flowscipt.xconf from the cocoon 2.2 svn truck to this directory in my Tomcat installation: webapps\cocoon\WEB-INF\classes\META-INF\cocoon\avalon I edited the file to enable the debugger and started Tomcat. When I ran my cocoon flowscript application, the debugger window appeared, but the application crashes. Here are some highlights from the traceback: description The server encountered an internal error () that prevented it from fulfilling this request. org.apache.avalon.framework.service.ServiceException: Exception during lookup of component with 'org.apache.cocoon.components.flow.Interpreter/javascript'. (Key='AvalonServiceManager') org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.apache.cocoon.components.flow.Interpreter/javascript': Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Unable to initialize Avalon component with role org.apache.cocoon.components.flow.Interpreter/javascript; nested exception is java.lang.IllegalStateException If I remove the cocoon-flowscript.xconf file, the application works normally. I realized that Avalon is on the way out, but should this work? What is the current best practice to use the debugger in its present form? Thanks to all, Hugh Sparks, hugh@csparks.com --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org For additional commands, e-mail: users-help@cocoon.apache.org