I'm a relative newbie to XML, Java and Cocoon, but I was able to get the
1.8.2 release of Cocoon working with Tomcat 3.2.1 on Debian/Linux (Kernel
2.2.18) box with the j2sdk1.3 from Blackdown.

Curious after reading a lot about it, I just attempted to build Cocoon 2.0a7
from cvs.  I have Tomcat 3.2.2b5 running, with all .jsp and servlet examples
working properly. After building the cocoon.war, copying it to
$TOMCAT_HOME/webapps/ restarting tomcat and pointing my browser at
http://localhost:8080/cocoon/ I got the following error:

Cocoon was not initialized

org.xml.sax.SAXException: Could not get valid parserNamespace not supported
by SAXParser

I checked the FAQ and followed the suggested solution of removing jaxp.jar
and parser.jar from $TOMCAT_HOME/lib/ and then copying xerces_1_4_0.jar and
renaming it to parser.jar.  Restarted tomcat and got the following error
message: 

type internal-server-error

message The sitemap handler's sitemap is not available.

description org.apache.cocoon.ProcessingException: The sitemap handler's
sitemap is not available.

sender org.apache.cocoon.servlet.CocoonServlet

source Cocoon servlet

request-uri

/cocoon/

exception

org.apache.cocoon.ProcessingException: The sitemap handler's sitemap is not
available.

path-info

stacktrace

org.apache.cocoon.ProcessingException: The sitemap handler's sitemap is not
available.
at org.apache.cocoon.sitemap.Manager.setupProcessing(Manager.java:185)
at org.apache.cocoon.sitemap.Manager.invoke(Manager.java:96)
at org.apache.cocoon.Cocoon.process(Cocoon.java:288)
at org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:463)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:405)
at org.apache.tomcat.core.Handler.service(Handler.java:287)
at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
at 
org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:79
7)
at org.apache.tomcat.core.ContextManager.service(ContextManager.java:743)
at 
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpC
onnectionHandler.java:213)
at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
at 
org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:501)
at java.lang.Thread.run(Thread.java:484)


I've been been trying to troubleshoot it, but I don't really understand how
the sitemap works. Any suggestions or pointers would be greatly appreciated.
-- 
Eirik Dentz


---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>

Reply via email to