cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rob Jellinghaus <r...@unrealities.com>
Subject Does Bonebreaker sample still work with Cocoon 2.0.2?
Date Sat, 30 Mar 2002 00:36:29 GMT
[Vadim: I am trying to make it so Mozilla sends plain text email; I 
apologize from the bottom of my heart if I fail :-) ]

I have Cocoon 2.0.2 running with Tomcat 4.0.1 and Java 1.3.1_02.  I have 
been able to run the esql samples against both the built-in hsql DB and 
against my own mysql DB, so I know that I have *something* working :-)

I have just downloaded bonebreaker.zip and unzipped it into 
%CATALINA_HOME%/webapps/cocoon/bonebreaker.  I have made the changes to 
my main sitemap.xmap as specified on 
http://www.cocooncenter.de/cc/documents/resources/navigation/installation.html 
:

<map:pipeline>

  <!-- match the Bonebreaker homepage -->
  <map:match pattern="bonebreaker">
    <map:mount uri-prefix="bonebreaker" check-reload="yes"
      reload-method="synchron" src="bonebreaker/"/>
  </map:match>

  <!-- match all other Bonebreaker pages -->
  <map:match pattern="bonebreaker/**">
    <map:mount uri-prefix="bonebreaker" check-reload="yes"
      reload-method="synchron" src="bonebreaker/"/>
  </map:match>

</map:pipeline>

The problem is that when I go to 
http://localhost:8080/cocoon/bonebreaker/  I get a simple directory 
listing, not a Cocoon-rendered HTML page.  Here is the access.log 
(slightly cleaned up):

DEBUG   (2002-03-29) 16:31.30:470   [access](/cocoon/bonebreaker/) 
HttpProcessor[8080][0]/AbstractEnvironment: Resolving 'sitemap.xmap' in 
context 'file:/D:/dev/Tomcat 4.0/webapps/cocoon/'
DEBUG   (2002-03-29) 16:31.30:540   [access](/cocoon/bonebreaker/) 
HttpProcessor[8080][0]/AbstractEnvironment: Resolved to 
'file:/D:/dev/Tomcat 4.0/webapps/cocoon/sitemap.xmap'
Resolving '' in context 'file:/D:/dev/Tomcat 4.0/webapps/cocoon/'
Resolved to 'file:/D:/dev/Tomcat 4.0/webapps/cocoon/'
Changing Cocoon context
   from context(file:/D:/dev/Tomcat 4.0/webapps/cocoon/) and prefix()
  to context(sitemap.xmap) and prefix()
  at URI bonebreaker/
New context is file:/D:/dev/Tomcat 4.0/webapps/cocoon/
Resolving 'stylesheets/system/directory2html.xsl' in context 
'file:/D:/dev/Tomcat 4.0/webapps/cocoon/'
Resolved to 'file:/D:/dev/Tomcat 
4.0/webapps/cocoon/stylesheets/system/directory2html.xsl'
Resolving 'bonebreaker' in context 'file:/D:/dev/Tomcat 4.0/webapps/cocoon/'
Resolved to 'file:/D:/dev/Tomcat 4.0/webapps/cocoon/bonebreaker/'
Set the URI Prefix (OLD=, NEW=)
Reset context to file:/D:/dev/Tomcat 4.0/webapps/cocoon/
'bonebreaker/' Processed by Apache Cocoon 2.0.2 in 10.385 seconds.

So I tried going to 
http://localhost:8080/cocoon/bonebreaker/home/home.section but that 
gives me a 404.  The access.log says:

Changing Cocoon context
  from context(file:/D:/dev/Tomcat 4.0/webapps/cocoon/) and prefix()
  to context(sitemap.xmap) and prefix()
  at URI bonebreaker/home/home.section
New context is file:/D:/dev/Tomcat 4.0/webapps/cocoon/
Set the URI Prefix (OLD=, NEW=)
Reset context to file:/D:/dev/Tomcat 4.0/webapps/cocoon/
WARN    (2002-03-29) 16:31.46:663   
[access](/cocoon/bonebreaker/home/home.section) 
HttpProcessor[8080][0]/CocoonServlet: The resource was not found
org.apache.cocoon.ResourceNotFoundException: No pipeline matched 
request: /bonebreaker/home/home.section
    at org.apache.cocoon.www.sitemap_xmap.process(D:\dev\Tomcat 
4.0\work\localhost\cocoon\cocoon-files\org/apache/cocoon/www\sitemap_xmap.java:3175)
    at org.apache.cocoon.www.sitemap_xmap.process(D:\dev\Tomcat 
4.0\work\localhost\cocoon\cocoon-files\org/apache/cocoon/www\sitemap_xmap.java:2489)
    at org.apache.cocoon.sitemap.Handler.process(Handler.java:222)
    at org.apache.cocoon.sitemap.Manager.invoke(Manager.java:179)
    at 
org.apache.cocoon.sitemap.SitemapManager.process(SitemapManager.java:154)
    at org.apache.cocoon.Cocoon.process(Cocoon.java:575)
    at 
org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:998)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
    at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
    at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:243)
    at 
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
    at 
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
    at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:201)
    at 
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
    at 
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
    at 
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2344)
    at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164)
    at 
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
    at 
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
    at 
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
    at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170)
    at 
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
    at 
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:462)
    at 
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
    at 
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
    at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:163)
    at 
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
    at 
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
    at 
org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:1011)
    at 
org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1106)
    at java.lang.Thread.run(Unknown Source)
INFO    (2002-03-29) 16:31.46:703   
[access](/cocoon/bonebreaker/home/home.section) 
HttpProcessor[8080][0]/CocoonServlet: 'bonebreaker/home/home.section' 
Processed by Apache Cocoon 2.0.2 in 100 milliseconds.

Is Bonebreaker... well... broken under Cocoon 2.0.2?  I am going to keep 
working on this, but some clues from you would be terribly helpful.

Cheers,
Rob



---------------------------------------------------------------------
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