cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Russell Castagnaro <russ...@castagnaro.com>
Subject Setup coocoon2 w/ tomcat 4.0
Date Wed, 26 Sep 2001 21:34:21 GMT
Hello cocoon-users,

  I've been following 'the saga continues' and decided to try setting
  it up myself.

  I built the code using:
$  ./build.sh  -Dinclude.webapp.libs=yes -Dinstall.war=../jakarta-tomcat-4.0/webapps/ install

which worked and started tomcat

then I tried:
http://localhost:8080/cocoon/docs/samples/jsp/hello.jsp
which worked, however no .xml files get served...

http://localhost:8080/cocoon/docs/samples/hello-page.xml
returns the std error page with :

type internal-server-error

message Exception in Handler

description org.apache.cocoon.ProcessingException: Exception in Handler: org.apache.avalon.framework.component.ComponentException:
Could not set up Component for hint: org\apache\cocoon\www\sitemap_xmap

sender org.apache.cocoon.servlet.CocoonServlet

source Cocoon servlet

request-uri

/cocoon/docs/samples/hello-page.xml

exception

org.apache.cocoon.ProcessingException: Exception in Handler: org.apache.avalon.framework.component.ComponentException:
Could not set up Component for hint: org\apache\cocoon\www\sitemap_xmap

path-info

docs/samples/hello-page.xml

stacktrace

org.apache.cocoon.ProcessingException: Exception in Handler: org.apache.avalon.framework.component.ComponentException:
Could not set up Component for hint: org\apache\cocoon\www\sitemap_xmap
        at org.apache.cocoon.sitemap.Handler.throwEventualException(Handler.java:244)
        at org.apache.cocoon.sitemap.Handler.regenerate(Handler.java:155)
        at org.apache.cocoon.sitemap.Manager.getHandler(Manager.java:232)
        at org.apache.cocoon.sitemap.Manager.invoke(Manager.java:109)
        at org.apache.cocoon.Cocoon.process(Cocoon.java:495)
        at org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:534)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Unknown Source)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(Unknown Source)
        at org.apache.catalina.core.StandardWrapperValve.invoke(Unknown Source)
        at org.apache.catalina.core.StandardPipeline.invokeNext(Unknown Source)
        at org.apache.catalina.core.StandardPipeline.invoke(Unknown Source)
        at org.apache.catalina.core.ContainerBase.invoke(Unknown Source)
        at org.apache.catalina.core.StandardContextValve.invoke(Unknown Source)
        at org.apache.catalina.core.StandardPipeline.invokeNext(Unknown Source)
        at org.apache.catalina.core.StandardPipeline.invoke(Unknown Source)
        at org.apache.catalina.core.ContainerBase.invoke(Unknown Source)
        at org.apache.catalina.core.StandardContext.invoke(Unknown Source)
        at org.apache.catalina.core.StandardHostValve.invoke(Unknown Source)
        at org.apache.catalina.core.StandardPipeline.invokeNext(Unknown Source)
        at org.apache.catalina.valves.AccessLogValve.invoke(Unknown Source)
        at org.apache.catalina.core.StandardPipeline.invokeNext(Unknown Source)
        at org.apache.catalina.core.StandardPipeline.invoke(Unknown Source)
        at org.apache.catalina.core.ContainerBase.invoke(Unknown Source)
        at org.apache.catalina.core.StandardEngineValve.invoke(Unknown Source)
        at org.apache.catalina.core.StandardPipeline.invokeNext(Unknown Source)
        at org.apache.catalina.core.StandardPipeline.invoke(Unknown Source)
        at org.apache.catalina.core.ContainerBase.invoke(Unknown Source)
        at org.apache.catalina.connector.http.HttpProcessor.process(Unknown Source)
        at org.apache.catalina.connector.http.HttpProcessor.run(Unknown Source)
        at java.lang.Thread.run(Thread.java:484)
org.apache.avalon.framework.component.ComponentException: Could not set up Component for hint:
org\apache\cocoon\www\sitemap_xmap
        at org.apache.cocoon.components.language.generator.GeneratorSelector.addGenerator(GeneratorSelector.java:152)
        at org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.addCompiledComponent(ProgramGeneratorImpl.java:348)
        at org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.generateResource(ProgramGeneratorImpl.java:326)
        at org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.createResource(ProgramGeneratorImpl.java:275)
        at org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.load(ProgramGeneratorImpl.java:192)
        at org.apache.cocoon.sitemap.Handler.run(Handler.java:208)
        at java.lang.Thread.run(Thread.java:484)


        Any ideas?


        PS- I'm using jdk 1.3.0_01 on win 2k

        
-- 
Best regards,
 Russell                          mailto:russell@castagnaro.com


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


Mime
View raw message