This is my current, hazy understanding of these issues. I have worked
through much of this yesterday. There are numerous mentions of the problem
in the archives, but here is the gist. The compilation of the classes
which are dynamically built to handle the sitemap, etc is throwing errors.
Check your $TOMCAT_HOME/webapps/cocoon/WEB-INF/logs/cocoon.log for details.
They are typically class-not-found errors. Those dynamic classes are built
in the $TOMCAT_HOME/work directory, so if you delete that dir and restart
tomcat, you'll get the most up-to-date log errors.
That said there are a couple of things that will cause this problem:
a) old jars in $TOMCAT_HOME/lib, such as w3c.jar, parser.jar, xerces.jar,
and others. I am trying to nail down exactly which ones to contr. to the
FAQ.
b) if you don't have an instance of X running on your *nix box you will get
this error. Batik needs access to a windowing system.
c) I also noticed some JDBC errors which may or may not be fatal to the
sitemap.
d) If you have set a CLASSPATH, this will be evaluated on tomcat startup as
well, (At least on my 3.2.1 it is, seems perverse.) so you may have
problematic jars there which are causing the problem.
Basically, C2's sitemap compilation jumps in at the tail end of the tomcat
class loader and loads its gear, but if tomcat is loading conflicting jars
in advance, C2 can't get what it needs.
HTH
Mike
"raghu" <[EMAIL PROTECTED]> on 07/13/2001 08:08:33 AM
Please respond to [EMAIL PROTECTED]
To: "C. Gaffga" <[EMAIL PROTECTED]>, <[EMAIL PROTECTED]>
cc:
Subject: sitemap handler's sitemap is not available????
I have built the cocoon and put the war file in TOMCAT_ROOT/webapps and
when i go to
http://localhost:8080/cocoon, i see this page,
where is the error? can u please help
Cocoon 2 - Internal server error
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:179)
at org.apache.cocoon.sitemap.Manager.invoke(Manager.java:93)
at org.apache.cocoon.Cocoon.process(Cocoon.java:293)
at
org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:471)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
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:797)
at
org.apache.tomcat.core.ContextManager.service(ContextManager.java:743)
at
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.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)
---------------------------------------------------------------------
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]>