cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ovidiu Predescu <>
Subject Re: latest Excalibur breaks logging
Date Tue, 02 Apr 2002 21:57:16 GMT
On Tue, 02 Apr 2002 23:35:10 +0200, Gianugo Rabellino <> wrote:

> Berin Loritsch wrote:
> > Ovidiu, if you built from CVS, then you must have the Servlet.jar
> > file included in the lib directory to get that *optional* target.
>  >>Logging Error: Could not set up Cocoon Logger, will use screen instead
>  >>org.apache.avalon.framework.configuration.ConfigurationExcepti
>  >>on: cannot find LogTargetFactory class
>  >>org.apache.avalon.excalibur.logger.factory.ServletTargetFactory
> Hmmm... I don't get it. I assume that this has to do with the Excalibur 
> build, not Cocoon's. The Excalibur jar in CVS is missing that class, so 
> whoever updates Excalibur jars should make sure that this optional class 
> is included, this is not a Cocoon build issue. Or am I missing something?

Yes, you're right. The Excalibur jar file is missing the
ServletTargetFactory class, and that's definitely not an issue with
the servlet.jar file (which BTW is there in lib/optional/).

Commenting out the second <factory> element in logkit.xconf solves the
problem. As it turns out, the "servlet" factory is not even used in
the Cocoon logkit setup, so it can be completely removed from this
file. Should I commit this file?


To unsubscribe, e-mail:
For additional commands, email:

View raw message