Return-Path: Delivered-To: apmail-cocoon-users-archive@www.apache.org Received: (qmail 21150 invoked from network); 12 Dec 2003 16:28:23 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 12 Dec 2003 16:28:23 -0000 Received: (qmail 77747 invoked by uid 500); 12 Dec 2003 16:28:08 -0000 Delivered-To: apmail-cocoon-users-archive@cocoon.apache.org Received: (qmail 77710 invoked by uid 500); 12 Dec 2003 16:28:07 -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 77697 invoked from network); 12 Dec 2003 16:28:07 -0000 Received: from unknown (HELO warden.diginsite.com) (208.29.163.248) by daedalus.apache.org with SMTP; 12 Dec 2003 16:28:07 -0000 Received: from wlvims01.diginsite.com by warden.diginsite.com via smtpd (for daedalus.apache.org [208.185.179.12]) with SMTP; Fri, 12 Dec 2003 08:28:10 -0800 Received: from WLVIMS01 ([127.0.0.1]) by WLVIMS01.digitalinsight.com (Post.Office MTA v3.5.3 release 223 ID# 0-0U10L2S100V35) with SMTP id com for ; Fri, 12 Dec 2003 08:28:09 -0800 Received: by calexc01.diginsite.com with Internet Mail Service (5.5.2657.72) id ; Fri, 12 Dec 2003 08:27:55 -0800 Message-ID: <31DF72A980E5D511B48C000102BD868503EA80E1@calexc01.diginsite.com> From: Ralph Goers To: "'users@cocoon.apache.org'" Subject: RE: [Authentication Framework] handle-errors Date: Fri, 12 Dec 2003 08:27:54 -0800 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2657.72) Content-Type: text/plain; charset="iso-8859-1" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N That doesn't work. I suspect the problem is the "different" way this pipeline gets invoked. It is called from authenticate() in PipelineAuthenticator with the following code: // invoke the source try { Source source = null; try { source = org.apache.cocoon.components.source.SourceUtil.getSource(authenticationResou rceName, null, parameters, this.resolver); doc = org.apache.cocoon.components.source.SourceUtil.toDOM(source); } catch (SAXException se) { throw new ProcessingException(se); } catch (SourceException se) { throw org.apache.cocoon.components.source.SourceUtil.handle(se); } catch (IOException e) { throw new ProcessingException(e); } finally { this.resolver.release(source); } } catch (ProcessingException local) { this.getLogger().error("authenticator: " + local.getMessage(), local); exceptionMsg = local.getMessage(); } I always see the logger message from this which obviously means this code is handling the exception. So I'm pretty sure handle-errors is just not going to work here. Ralph > -----Original Message----- > From: Frank Taffelt [mailto:frank.taffelt@interface-business.de] > Sent: Friday, December 12, 2003 8:01 AM > To: users@cocoon.apache.org > Subject: Re: [Authentication Framework] handle-errors > > > try to place your error handler outside your pipeline section: > > > > > > > ... > > > > > > > > > > > > > > > > > hth, > Frank > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org > For additional commands, e-mail: users-help@cocoon.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org For additional commands, e-mail: users-help@cocoon.apache.org