You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Joseph Hill <jo...@yale.edu> on 2005/11/22 09:14:35 UTC

Error when installing Cocoon 2.1.8 under Tomcat 5.5.9

I built Cocoon 2.1.8 and then put the cocoon.war file in Tomcat 5.5.9's 
webapp directory and then when I started Tomcat and went to the Cocoon 
page I got the error messages below.  I'm running Mandrake 10 and am 
using Java 1.5.0-4.  Any ideas on what causes this and how to fix it?

exception
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.NullPointerException
org.apache.cocoon.servlet.multipart.RequestFactory.<init>(RequestFactory.java:61)
org.apache.cocoon.servlet.CocoonServlet.init(CocoonServlet.java:491)
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)


-- 
Joseph Hill
Doctoral Candidate
Department of Anthropology
Yale University
51 Hillhouse Avenue
New Haven, CT 06520
203-231-4983
http://pantheon.yale.edu/~jbh34

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