cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jessica Perry Hekman <>
Subject web.xml loading problems
Date Thu, 14 Feb 2002 14:17:03 GMT
I am in the process of getting a new Cocoon2 installation running. I am
new to Cocoon. Using Tomcat 4, Java 3, Cocoon 2.0.1, Linux.

When I start Tomcat, its localhost_log.<date>.txt complains:

  2002-02-14 08:43:40 ContextConfig[/cocoon]: Missing application web.xml,
  using defaults only
  2002-02-14 08:43:40 Internal Error: File /WEB-INF/web.xml not found

Indeed, I do not see the web.xml file in

although it is in cocoon.war and cocoon.war is in

When I manually extract web.xml from cocoon.war and put it in the WEB-INF
directory, the same log file has this error:

  2002-02-14 08:35:44 StandardWrapper[/cocoon:Cocoon2]: Marking servlet
  Cocoon2 as unavailable
  2002-02-14 08:35:44 StandardContext[/cocoon]: Servlet /cocoon threw
  load() exception
  javax.servlet.ServletException: Wrapper cannot find servlet class
  org.apache.cocoon.servlet.CocoonServlet or a class it depends on
  ----- Root Cause -----
  java.lang.ClassNotFoundException: org.apache.cocoon.servlet.CocoonServlet

I tried setting init-classloader to "false" in my version of web.xml; no
change in behavior.

I discovered this problem because I did not believe that Cocoon was
reading my sitemap file, and when I looked for log files reporting that
the sitemap had been read, I found that no "core" error logs were being
generated at all. The logkit.xconf file says that that log file should be

but no WEB-INF/logs subdirectory has been created at all. (logkit.conf
doesn't seem to exist outside cocoon.war, either.)

What's going on?


Please check that your question has not already been answered in the
FAQ before posting. <>

To unsubscribe, e-mail: <>
For additional commands, e-mail: <>

View raw message