cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From giacomo <giac...@apache.org>
Subject Re: latest Excalibur breaks logging
Date Tue, 02 Apr 2002 22:01:26 GMT
On Tue, 2 Apr 2002, Ovidiu Predescu wrote:

>
> Carsten,
>
> I've just done an update from the latest CVS, and I started to get the
> below exception. It appears excalibur doesn't have the
> org.apache.avalon.excalibur.logger.factory.ServletTargetFactory. Do we
> need to remove the "servlet" factory from logkit.conf? Removing it
> seems to solve the problem.

It might resolve the problem but I think Carsten forgot to put the
servlet.jar in the classpath when he build the excalibur.jar (or however
build it). IMO the ServletTargetFactory is essential to Cocoon (or at
least it makes absolutely sense to have it).

Giacomo

>
> Ovidiu
>
> Logging Error: Could not set up Cocoon Logger, will use screen instead
> org.apache.avalon.framework.configuration.ConfigurationException: cannot find LogTargetFactory
class org.apache.avalon.excalibur.logger.factory.ServletTargetFactory
>         at org.apache.avalon.excalibur.logger.DefaultLogTargetFactoryManager.configure(DefaultLogTargetFactoryManager.java:111)
>         at org.apache.avalon.excalibur.logger.DefaultLogKitManager.setupTargetFactoryManager(DefaultLogKitManager.java:194)
>         at org.apache.avalon.excalibur.logger.DefaultLogKitManager.configure(DefaultLogKitManager.java:157)
>         at org.apache.cocoon.servlet.CocoonServlet.initLogger(CocoonServlet.java:774)
>         at org.apache.cocoon.servlet.CocoonServlet.init(CocoonServlet.java:241)
>         at org.apache.tomcat.facade.ServletHandler.doInit(Unknown Source)
>         at org.apache.tomcat.facade.ServletHandler.init(Unknown Source)
>         at org.apache.tomcat.facade.LoadOnStartupInterceptor.contextInit(Unknown Source)
>         at org.apache.tomcat.core.Context.init(Unknown Source)
>         at org.apache.tomcat.core.ContextManager.init(Unknown Source)
>         at org.apache.tomcat.startup.EmbededTomcat.initContextManager(Unknown Source)
>         at org.apache.tomcat.startup.EmbededTomcat.execute1(Unknown Source)
>         at org.apache.tomcat.startup.EmbededTomcat$1.run(Unknown Source)
>         at org.apache.tomcat.util.compat.Jdk12Support$PrivilegedProxy.run(Unknown Source)
>         at java.security.AccessController.doPrivileged(Native Method)
>         at org.apache.tomcat.util.compat.Jdk12Support.doPrivileged(Unknown Source)
>         at org.apache.tomcat.startup.EmbededTomcat.execute(Unknown Source)
>         at java.lang.reflect.Method.invoke(Native Method)
>         at org.apache.tomcat.util.IntrospectionUtils.execute(Unknown Source)
>         at org.apache.tomcat.startup.Main.execute(Unknown Source)
>         at org.apache.tomcat.startup.Main.main(Unknown Source)
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
> For additional commands, email: cocoon-dev-help@xml.apache.org
>
>
>
>


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


Mime
View raw message