-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Tue, 24 Jan 2006, Tilman Rassy wrote:

Date: Tue, 24 Jan 2006 13:15:01 +0100
From: Tilman Rassy <[EMAIL PROTECTED]>
Reply-To: [email protected]
To: [email protected]
Subject: Re: setup() called twice in one request

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 */ );
 }

You don't have to throw it. Just

   getLogger.debug("myException", new MyExcpetion());

should be enought.

- -- Giacomo Pati
Otego AG, Switzerland - http://www.otego.com
Orixo, the XML business alliance - http://www.orixo.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)

iD8DBQFD1ivDLNdJvZjjVZARAv9sAJ4rNxIl/K9/Y7xjuyNAO+YSFmfo5gCfdARl
vLaBDxe7Dfv5tVSxQiGk4Kg=
=iqTr
-----END PGP SIGNATURE-----