You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by David Cittadini <Da...@blackmarble.com> on 2001/03/23 14:20:34 UTC

ProcessingException

I am setting up Cocoon 2 on Tomcat 4.0.  When I access the samples I get a
ProcessingException and the error log is attached below.  Does anyone have
any ideas as to where I should start in trying to solve this?  Thanks.

ERROR   59547   [cocoon  ] (Thread-6): Error compiling sitemap
org.apache.avalon.ComponentManagerException: Could not add component for
class: org.apache.cocoon.www.sitemap_xmap
            at
org.apache.cocoon.components.language.generator.GeneratorSelector.addGenerat
or(GeneratorSelector.java:61)
            at
org.apache.cocoon.components.language.generator.GeneratorSelector.select(Gen
eratorSelector.java:50)
            at
org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.select(
ProgramGeneratorImpl.java:263)
            at
org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.load(Pr
ogramGeneratorImpl.java:219)
            at org.apache.cocoon.sitemap.Handler.run(Handler.java:173)
            at java.lang.Thread.run(Thread.java:484)

ERROR   59562   [cocoon  ] (HttpProcessor[80][4]): Problem with servlet
org.apache.cocoon.ProcessingException: The sitemap handler's sitemap is not
available.
            at org.apache.cocoon.sitemap.Manager.invoke(Manager.java:106)
            at org.apache.cocoon.Cocoon.process(Cocoon.java:218)
            at
org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:388)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
            at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:215)
            at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
va:251)
            at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:977)
            at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
va:196)
            at
org.apache.catalina.valves.ValveBase.invokeNext(ValveBase.java:242)
            at
org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:2
42)
            at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:975)
            at
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2041)
            at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:161
)
            at
org.apache.catalina.valves.ValveBase.invokeNext(ValveBase.java:242)
            at
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:414)
            at
org.apache.catalina.valves.ValveBase.invokeNext(ValveBase.java:242)
            at
org.apache.catalina.authenticator.SingleSignOn.invoke(SingleSignOn.java:225)
            at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:975)
            at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java
:159)
            at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:977)
            at
org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:
818)
            at
org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:897)
            at java.lang.Thread.run(Thread.java:484)

Re: ProcessingException

Posted by Berin Loritsch <bl...@apache.org>.
Usually the cause of this error is the result of an Exception that is logged just
previous to this message.  With Tomcat 4.0, you have to make sure that the Servlet.jar
file included with Tomcat is referenced with the full path in the "extra-classpath"
initial parameter (in WEB-INF/web.xml).  This is so that the Compiler can compile
the Sitemap and XSP examples.

Work is being done to remove this necessity--but for now, it is one of the few manual
portions of the setup.

Please either post the full Log, or the the Exception that was logged just prior to
the Sitemap Not Available exception.

---------------------------------------------------------------------
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: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>