cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tilman Rassy <ra...@math.TU-Berlin.DE>
Subject Re: manager.lookup fails without exception
Date Tue, 06 Feb 2007 10:03:31 GMT
On Monday 05 February 2007 17:22, Tobia wrote:
> Tilman Rassy wrote:
> > dbHelper = (DbHelper)this.manager.lookup(DbHelper.ROLE);
> >
> > this fails for some reason, but no exception is thrown. The server
> > simply replies with response code 500.
>
> I cannot help you with your code, but I can tell you that in some cases
> the exception is only displayed in the console where you started Cocoon.
>
> Start cocoon.sh (or .bat as appropriate) and redirect stdout/stderr to
> an additional log file, or leave the terminal open.

Thank you for your advice. Meanwhile, we descovered why the lookup fails - a 
jar was lacking in WEB-INF/lib, so a class could not be loaded - but we still 
do not understand what happens to the exception. Perhaps it has something to 
do with the <map:handle-errors> element in the pipeline.

Best regards,
Tilman

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message