cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Carsten Ziegeler <cziege...@apache.org>
Subject Re: setup() called twice in one request
Date Tue, 24 Jan 2006 12:32:26 GMT
Tilman Rassy wrote:
> Hello Carsten,
> 
> On Monday 23 January 2006 12:17, Carsten Ziegeler wrote:
> 
>> Can you provide a stack trace for the two calls of the setup() method,
>> so we can see from where this method is called.
> 
> Is there a way to create a stack trace and insert it into the logs? I could do 
> something like
> 
> try
>   {
>     throw new MyExcpetion();
>   }
> catch (MyException myExcpetion)
>   {
>     this.getLogger.debug( /* get stack trace from myException */ );
>   }
> 
> in the setup() method. Would that work?
> 
Yepp, I'm usually using the same approach :)

Carsten

-- 
Carsten Ziegeler - Open Source Group, S&N AG
http://www.s-und-n.de
http://www.osoco.org/weblogs/rael/

Mime
View raw message