Re: setup() called twice in one request

2006-01-26 Thread Tilman Rassy
Hello, On Wednesday 25 January 2006 16:22, Carsten Ziegeler wrote: We have fixed several problems/bugs in the sitemap source and pipeline implementations after the 2.1.3 release. So I think the best thing for you is to test your test case with the most recent version (2.1.8) and see if this

Re: setup() called twice in one request

2006-01-25 Thread Tilman Rassy
Hello Ralph, On Tuesday 24 January 2006 23:14, Ralph Goers wrote: Can you send the source for the DocumentGenerator? I'd love to see it. Yes, of course. Shall I send it to the dev list or to your private address? (The source is about 400 lines long.) On Wednesday 25 January 2006 09:11, Ralph

Re: setup() called twice in one request

2006-01-24 Thread Tilman Rassy
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

Re: setup() called twice in one request

2006-01-24 Thread Tilman Rassy
Hello, On Tuesday 24 January 2006 13:32, Carsten Ziegeler wrote: 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. I

Re: setup() called twice in one request

2006-01-24 Thread Tilman Rassy
Hello, On Tuesday 24 January 2006 14:29, Giacomo Pati wrote: 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

Re: setup() called twice in one request

2006-01-23 Thread Tilman Rassy
On Monday 23 January 2006 09:38, Carsten Ziegeler wrote: Tilman Rassy wrote: Hello, On Thursday 19 January 2006 23:43, Joerg Heinicke wrote: On 19.01.2006 19:01, Tilman Rassy wrote: we discovered that the setup() method of a custom generator is sometimes called twice in one request

Re: setup() called twice in one request

2006-01-20 Thread Tilman Rassy
Hello, On Thursday 19 January 2006 23:43, Joerg Heinicke wrote: On 19.01.2006 19:01, Tilman Rassy wrote: we discovered that the setup() method of a custom generator is sometimes called twice in one request. Are you sure that it is only one request. For example using the Acrobat Reader

Re: setup() called twice in one request

2006-01-20 Thread Tilman Rassy
On Friday 20 January 2006 01:22, Ralph Goers wrote: Joerg Heinicke wrote: On 19.01.2006 19:01, Tilman Rassy wrote: Our XSL stylesheets usually include other stylesheets. As far as I know, the caching mechanism takes this into account. May the problem have something to do

Re: setup() called twice in one request

2006-01-20 Thread Tilman Rassy
On Friday 20 January 2006 10:34, Carsten Ziegeler wrote: Tilman Rassy wrote: I think we can change our code so that multiple setup() calls are not a problem any longer. The reasons why I posted anyway are: If there is a bug, the Cocoon developers might want to know about it. Secondly, we do

setup() called twice in one request

2006-01-19 Thread Tilman Rassy
were called, see above) Our XSL stylesheets usually include other stylesheets. As far as I know, the caching mechanism takes this into account. May the problem have something to do with that? We use Cocoon 2.1.3 and Tomcat 4.1.27 under Linux. Thanks in advance, Tilman Rassy

Re: setup() called twice in one request

2006-01-19 Thread Tilman Rassy
On Thursday 19 January 2006 19:13, Jean-Baptiste Quenot wrote: * Tilman Rassy: we discovered that the setup() method of a custom generator is sometimes called twice in one request. Hello, Assuming it is the case, why is it a problem? Can you elaborate on that? Thank you