You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Tony Edwards <te...@civica.com.au> on 2004/09/28 01:54:50 UTC

Cayenne in Cocoon

Hi People,
I'm trying to incorporate the Cayenne ORM system into Cocoon and am 
getting an error when the Cocoon servlet starts up.
The error message is:

java.lang.NoSuchMethodError: 
org.apache.log.output.ServletOutputLogTarget.<init>(Ljavax/servlet/ServletContext;Lorg/apache/log/format/Formatter;)V 
org.apache.cocoon.servlet.CocoonServlet.initLogger(CocoonServlet.java:775)

Cayenne uses log4j and Cocoon uses logkit so there's obviously a 
conflict there when cocoon tries to load the cayenne.jar.
If I remove the cayenne.jar its fine.
What I would like to know is how to have these 2 loggers coexisting 
under the one webapp. From what I've read on the lists etc it all sounds 
  like a case of dumping the appropriate jars into WEB-INF/lib but this 
isn't working for me!
Can anybody help!!!!?

As always, thanks for your time!

Regards,
Tony

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


log4j or Chainsaw in Cocoon

Posted by Tony Edwards <te...@civica.com.au>.
Hello all,

Has anyone incorporated Chainsaw as the default logger for Cocoon as an 
alternative to the now seemingly defunct LF5?

And/Or how does one use Log4J as the primary logger in Cocoon?

Thanks,

Tony

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