cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Omar Adobati <omar.adob...@gmail.com>
Subject Cocoon and Log4J
Date Wed, 26 Oct 2005 08:49:47 GMT
Good Morning to all,

  I'm trying to run cocoon 2.1.7 under a linux box, with JDK 1.5 and
Tomcat 5.5.9
The build process works good with no errors, but when I put the war
file under the webapp folder of tomcat I have back the exception
listed here down...
Can anyone help me in find a solution?

tanks in advice

===
javax.servlet.ServletException: Servlet.init() for servlet Cocoon
threw exception
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744)
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
java.lang.Thread.run(Thread.java:595)

===
root cause

java.lang.NoClassDefFoundError: org/apache/log/Logger
org.apache.avalon.framework.logger.LogKitLogger.isDebugEnabled(LogKitLogger.java:60)
org.apache.avalon.excalibur.logger.util.LoggerSwitch$SwitchingLogger.isDebugEnabled(LoggerSwitch.java:155)
org.apache.avalon.excalibur.logger.DefaultLogTargetFactoryManager.configure(DefaultLogTargetFactoryManager.java:164)
org.apache.avalon.framework.container.ContainerUtil.configure(ContainerUtil.java:192)
org.apache.avalon.excalibur.logger.LogKitLoggerManager.setupTargetFactoryManager(LogKitLoggerManager.java:436)
org.apache.avalon.excalibur.logger.LogKitLoggerManager.configure(LogKitLoggerManager.java:400)
org.apache.avalon.framework.container.ContainerUtil.configure(ContainerUtil.java:192)
org.apache.cocoon.servlet.CocoonServlet.initLogger(CocoonServlet.java:826)
org.apache.cocoon.servlet.CocoonServlet.init(CocoonServlet.java:311)
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744)
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
java.lang.Thread.run(Thread.java:595)




--
Dr. Omar Adobati
omar.adobati@gmail.com

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


Mime
View raw message