You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@forrest.apache.org by Helena Edelson <he...@greenjaguar.com> on 2005/12/09 22:58:29 UTC

breadcrumbs /dir/ path

When employing breadcrumbs,
generated as (example)  home > articles > subdir

if the user is in node subdir viewing files, then clicks articles to go 
up one level,
I am getting from cocoon The requested resource "/articles/" could not 
be found
this link's absolute path during testing is http://localhost:8888/articles/
I threw in an index.html file
when you manually enter the index.html in the browser path after 
articles/ you get the page but
even if sitemap has match="articles/index.html" cocoon still isn't happy 
with request articles/

core log tells me this in a nutshell:
WARN    (2005-12-09) 16:11.34:445   [access] (/articles/) 
PoolThread-3/CocoonServlet: The resource was not found
org.apache.cocoon.ResourceNotFoundException: Error during resolving of 
the input stream: org.apache.excalibur.source.SourceNotFoundException: 
file:/C:/dev/tsj/2.1/src/xdocs/articles/ doesn't exist.
    at 
org.apache.cocoon.components.source.SourceUtil.handle(SourceUtil.java:325)
    at 
org.apache.cocoon.reading.ResourceReader.generate(ResourceReader.java:319)
    at 
org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline.processReader(AbstractCachingProcessingPipeline.java:759)

Caused by: java.io.FileNotFoundException: 
C:\dev\tsj\2.1\src\xdocs\articles (Access is denied)
    at java.io.FileInputStream.open(Native Method)
    at java.io.FileInputStream.<init>(FileInputStream.java:106)
    at 
org.apache.excalibur.source.impl.FileSource.getInputStream(FileSource.java:146)
    ... 43 more
WARN    (2005-12-09) 16:53.48:459   [core.manager] 
(/articles/index.html) PoolThread-3/HTMLGenerator:

how can one find a solution for this?

helena
</articles/events/>