forrest-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Philip Aston <phil...@mail.com>
Subject Re: <all_site/> fails with "(Is a directory)" broken link?
Date Wed, 16 Jan 2008 09:35:37 GMT
Thorsten Scherler wrote:
> On Sun, 2008-01-13 at 18:39 +0000, Philip Aston wrote:
>> ...
>>
>>   <all label="All documentation" tab="project">
>>     <all_site label="Whole Site HTML" href="site.html"/>
>>     <all_site_pdf label="Whole Site PDF" href="site.pdf"/>
>>   </all>
>>
>> fails with broken links of the form:
>>
>>     <broken-links>
>>       <link message="/opt/forrest/apache-forrest-0.8/main/webapp/. (Is a
>>     directory)" uri="site.pdf">
>>         <referrer uri="linkmap.html"/>
>> ...
>>
>>
>> Any ideas on what I might be doing wrong, or points as to how to track
>> this down?
> 
> If you do forrest run and click on the link what is happening? 

"Internal Server Error"
Message: null
Cause: /opt/forrest/apache-forrest-0.8/main/webapp (Is a directory)

> Can you post the exception?

See below.

I've double checked all links to "site:g3/getting-started/properties".
These work fine. The relevant section of my site.xml is:

  <g3 label="The Grinder 3" href="g3/" tab="manual">
    <whats-new label="What's new?" href="whats-new.html"/>
    <features label="Features" href="features.html"/>
    <getting-started label="Getting started" >
      <getting-started-intro label="Introduction"
href="getting-started.html">
         <processes href="#The+Grinder+processes"/>
      </getting-started-intro>
      <properties label="Properties" href="properties.html"/>
	...

Thanks for your interest.

- Phil




ERROR   (2008-01-16) 09:28.59:232   [access] (/site.html)
PoolThread-3/CocoonServlet: Internal Cocoon Problem
org.apache.cocoon.ProcessingException: Failed to process pipeline
	at <map:serialize type="xml"> -
file:/opt/forrest/apache-forrest-0.8/main/webapp/linkmap.xmap:53:37
	at <map:transform> -
file:/opt/forrest/apache-forrest-0.8/main/webapp/linkmap.xmap:52:75
	at <map:generate> -
file:/opt/forrest/apache-forrest-0.8/main/webapp/linkmap.xmap:51:65
	at <map:serialize type="xml"> -
file:/opt/forrest/apache-forrest-0.8/main/webapp/aggregate.xmap:58:36
	at <map:transform> -
file:/opt/forrest/apache-forrest-0.8/main/webapp/aggregate.xmap:57:70
	at <map:transform> -
file:/opt/forrest/apache-forrest-0.8/main/webapp/aggregate.xmap:56:74
	at <map:transform type="cinclude"> -
file:/opt/forrest/apache-forrest-0.8/main/webapp/aggregate.xmap:55:41
	at <map:transform> -
file:/opt/forrest/apache-forrest-0.8/main/webapp/aggregate.xmap:51:69
	at <map:transform> -
file:/opt/forrest/apache-forrest-0.8/main/webapp/aggregate.xmap:50:57
	at <map:generate> -
file:/opt/forrest/apache-forrest-0.8/main/webapp/aggregate.xmap:49:51
	at <map:serialize> -
file:/opt/forrest/apache-forrest-0.8/main/webapp/sitemap.xmap:279:23
	at <map:transform> -
file:/opt/forrest/apache-forrest-0.8/main/webapp/sitemap.xmap:278:71
	at <map:transform type="i18n"> -
file:/opt/forrest/apache-forrest-0.8/main/webapp/sitemap.xmap:262:40
	at <map:transform> -
file:/opt/forrest/apache-forrest-0.8/main/webapp/sitemap.xmap:250:40
	at <map:transform> -
file:/opt/forrest/apache-forrest-0.8/main/webapp/sitemap.xmap:488:65
	at <map:transform type="linkrewriter"> -
file:/opt/forrest/apache-forrest-0.8/main/webapp/sitemap.xmap:487:79
	at <map:transform type="xinclude"> -
file:/opt/forrest/apache-forrest-0.8/main/webapp/sitemap.xmap:486:41
	at <map:transform type="idgen"> -
file:/opt/forrest/apache-forrest-0.8/main/webapp/sitemap.xmap:485:38
	at <map:generate> -
file:/opt/forrest/apache-forrest-0.8/main/webapp/sitemap.xmap:484:49
	at <map:serialize> -
file:/opt/forrest/apache-forrest-0.8/main/webapp/sitemap.xmap:279:23
	at <map:transform> -
file:/opt/forrest/apache-forrest-0.8/main/webapp/sitemap.xmap:278:71
	at <map:transform type="i18n"> -
file:/opt/forrest/apache-forrest-0.8/main/webapp/sitemap.xmap:262:40
	at <map:transform> -
file:/opt/forrest/apache-forrest-0.8/main/webapp/sitemap.xmap:250:40
	at
org.apache.cocoon.ProcessingException.throwLocated(ProcessingException.java:144)
	at
org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.handleException(AbstractProcessingPipeline.java:894)
	at
org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline.processXMLPipeline(AbstractCachingProcessingPipeline.java:271)
	at
org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.process(AbstractProcessingPipeline.java:722)
	at
org.apache.cocoon.components.source.impl.SitemapSource.toSAX(SitemapSource.java:347)
	at org.apache.cocoon.components.source.SourceUtil.toSAX(SourceUtil.java:97)
	at
org.apache.cocoon.components.source.SourceUtil.parse(SourceUtil.java:276)
	at
org.apache.cocoon.generation.FileGenerator.generate(FileGenerator.java:118)
	at
org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline.processXMLPipeline(AbstractCachingProcessingPipeline.java:225)
	at
org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.process(AbstractProcessingPipeline.java:722)
	at
org.apache.cocoon.components.source.impl.SitemapSource.toSAX(SitemapSource.java:347)
	at org.apache.cocoon.components.source.SourceUtil.toSAX(SourceUtil.java:97)
	at
org.apache.cocoon.components.source.SourceUtil.parse(SourceUtil.java:276)
	at
org.apache.cocoon.generation.FileGenerator.generate(FileGenerator.java:118)
	at
org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.processXMLPipeline(AbstractProcessingPipeline.java:537)
	at
org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline.processXMLPipeline(AbstractCachingProcessingPipeline.java:174)
	at
org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.process(AbstractProcessingPipeline.java:722)
	at
org.apache.cocoon.components.source.impl.SitemapSource.toSAX(SitemapSource.java:347)
	at org.apache.cocoon.components.source.SourceUtil.toSAX(SourceUtil.java:97)
	at
org.apache.cocoon.components.source.SourceUtil.parse(SourceUtil.java:276)
	at
org.apache.cocoon.sitemap.DefaultContentAggregator.generate(DefaultContentAggregator.java:126)
	at
org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.processXMLPipeline(AbstractProcessingPipeline.java:537)
	at
org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline.processXMLPipeline(AbstractCachingProcessingPipeline.java:174)
	at
org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.process(AbstractProcessingPipeline.java:437)
	at
org.apache.cocoon.components.treeprocessor.sitemap.SerializeNode.invoke(SerializeNode.java:137)
	at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:77)
	at
org.apache.cocoon.components.treeprocessor.ContainerNode.invoke(ContainerNode.java:38)
	at
org.apache.cocoon.components.treeprocessor.CategoryNode.invokeByName(CategoryNode.java:66)
	at
org.apache.cocoon.components.treeprocessor.sitemap.CallNode.invoke(CallNode.java:83)
	at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:55)
	at
org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.invoke(PreparableMatchNode.java:116)
	at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:77)
	at
org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:155)
	at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:77)
	at
org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:95)
	at
org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:292)
	at
org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:223)
	at
org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:289)
	at org.apache.cocoon.Cocoon.process(Cocoon.java:557)
	at org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:364)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
	at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:354)
	at
org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:294)
	at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:567)
	at org.mortbay.http.HttpContext.handle(HttpContext.java:1808)
	at
org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:525)
	at org.mortbay.http.HttpContext.handle(HttpContext.java:1758)
	at org.mortbay.http.HttpServer.service(HttpServer.java:879)
	at org.mortbay.http.HttpConnection.service(HttpConnection.java:790)
	at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:952)
	at org.mortbay.http.HttpConnection.handle(HttpConnection.java:807)
	at
org.mortbay.http.SocketListener.handleConnection(SocketListener.java:197)
	at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:289)
	at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:501)
Caused by:
org.apache.cocoon.components.modules.input.InputModuleAttributeException:
Error accessing attribute 'g3/getting-started/properties' from input
module 'site'. Error using source null
	at
org.apache.cocoon.components.modules.input.InputModuleHelper.get(InputModuleHelper.java:110)
	at
org.apache.cocoon.components.modules.input.InputModuleHelper.getAttribute(InputModuleHelper.java:155)
	at
org.apache.cocoon.transformation.LinkRewriterTransformer.createTransformedLink(LinkRewriterTransformer.java:557)
	at
org.apache.cocoon.transformation.LinkRewriterTransformer.createTransformedAttr(LinkRewriterTransformer.java:504)
	at
org.apache.cocoon.transformation.LinkRewriterTransformer.startTransformingElement(LinkRewriterTransformer.java:473)
	at
org.apache.cocoon.transformation.AbstractSAXTransformer.startElement(AbstractSAXTransformer.java:461)
	at
org.apache.cocoon.xml.AbstractXMLPipe.startElement(AbstractXMLPipe.java:94)
	at
org.apache.cocoon.transformation.XIncludeTransformer$XIncludePipe.startElement(XIncludeTransformer.java:231)
	at
org.apache.cocoon.xml.AbstractXMLPipe.startElement(AbstractXMLPipe.java:94)
	at
org.apache.cocoon.xml.dom.DOMStreamer$NamespaceNormalizingDOMStreamer.startNode(DOMStreamer.java:442)
	at
org.apache.cocoon.xml.dom.DOMStreamer$NamespaceNormalizingDOMStreamer.stream(DOMStreamer.java:221)
	at org.apache.cocoon.xml.dom.DOMStreamer.stream(DOMStreamer.java:143)
	at
org.apache.cocoon.transformation.AbstractDOMTransformer.notify(AbstractDOMTransformer.java:143)
	at org.apache.cocoon.xml.dom.DOMBuilder.notifyListener(DOMBuilder.java:161)
	at org.apache.cocoon.xml.dom.DOMBuilder.endDocument(DOMBuilder.java:153)
	at
org.apache.cocoon.transformation.AbstractDOMTransformer.endDocument(AbstractDOMTransformer.java:167)
	at
org.apache.cocoon.environment.internal.EnvironmentChanger.endDocument(EnvironmentStack.java:119)
	at
org.apache.xml.serializer.ToXMLSAXHandler.endDocument(ToXMLSAXHandler.java:181)
	at
org.apache.xalan.transformer.TransformerImpl.transformNode(TransformerImpl.java:1378)
	at
org.apache.xalan.transformer.TransformerImpl.run(TransformerImpl.java:3458)
	at
org.apache.xalan.transformer.TransformerHandlerImpl.endDocument(TransformerHandlerImpl.java:406)
	at
org.apache.cocoon.xml.AbstractXMLPipe.endDocument(AbstractXMLPipe.java:55)
	at
org.apache.cocoon.transformation.TraxTransformer.endDocument(TraxTransformer.java:585)
	at
org.apache.xml.serializer.ToXMLSAXHandler.endDocument(ToXMLSAXHandler.java:181)
	at
org.apache.xalan.transformer.TransformerImpl.transformNode(TransformerImpl.java:1378)
	at
org.apache.xalan.transformer.TransformerImpl.run(TransformerImpl.java:3458)
	at
org.apache.xalan.transformer.TransformerHandlerImpl.endDocument(TransformerHandlerImpl.java:406)
	at
org.apache.cocoon.xml.AbstractXMLPipe.endDocument(AbstractXMLPipe.java:55)
	at
org.apache.cocoon.transformation.TraxTransformer.endDocument(TraxTransformer.java:585)
	at
org.apache.cocoon.xml.AbstractXMLPipe.endDocument(AbstractXMLPipe.java:55)
	at
org.apache.cocoon.transformation.AbstractSAXTransformer.endDocument(AbstractSAXTransformer.java:377)
	at
org.apache.cocoon.transformation.CIncludeTransformer.endDocument(CIncludeTransformer.java:661)
	at
org.apache.cocoon.components.sax.XMLTeePipe.endDocument(XMLTeePipe.java:67)
	at
org.apache.xml.serializer.ToXMLSAXHandler.endDocument(ToXMLSAXHandler.java:181)
	at
org.apache.xalan.transformer.TransformerImpl.transformNode(TransformerImpl.java:1378)
	at
org.apache.xalan.transformer.TransformerImpl.run(TransformerImpl.java:3458)
	at
org.apache.xalan.transformer.TransformerHandlerImpl.endDocument(TransformerHandlerImpl.java:406)
	at
org.apache.cocoon.xml.AbstractXMLPipe.endDocument(AbstractXMLPipe.java:55)
	at
org.apache.cocoon.transformation.TraxTransformer.endDocument(TraxTransformer.java:585)
	at
org.apache.xml.serializer.ToXMLSAXHandler.endDocument(ToXMLSAXHandler.java:181)
	at
org.apache.xalan.transformer.TransformerImpl.transformNode(TransformerImpl.java:1378)
	at
org.apache.xalan.transformer.TransformerImpl.run(TransformerImpl.java:3458)
	at
org.apache.xalan.transformer.TransformerHandlerImpl.endDocument(TransformerHandlerImpl.java:406)
	at
org.apache.cocoon.xml.AbstractXMLPipe.endDocument(AbstractXMLPipe.java:55)
	at
org.apache.cocoon.transformation.TraxTransformer.endDocument(TraxTransformer.java:585)
	at
org.apache.cocoon.environment.internal.EnvironmentChanger.endDocument(EnvironmentStack.java:119)
	at
org.apache.cocoon.components.sax.XMLTeePipe.endDocument(XMLTeePipe.java:67)
	at
org.apache.cocoon.components.sax.XMLByteStreamInterpreter.parse(XMLByteStreamInterpreter.java:83)
	at
org.apache.cocoon.components.sax.XMLByteStreamInterpreter.deserialize(XMLByteStreamInterpreter.java:73)
	at sun.reflect.GeneratedMethodAccessor43.invoke(Unknown Source)
	at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at
org.apache.cocoon.core.container.handler.PoolableComponentHandler$ProxyHandler.invoke(PoolableComponentHandler.java:147)
	at $Proxy4.deserialize(Unknown Source)
	at
org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline.processXMLPipeline(AbstractCachingProcessingPipeline.java:223)
	... 51 more
Caused by:
org.apache.avalon.framework.configuration.ConfigurationException: Error
using source null
	at
org.apache.cocoon.components.modules.input.XMLFileModule.getContextObject(XMLFileModule.java:384)
	at
org.apache.cocoon.components.modules.input.XMLFileModule.getAttribute(XMLFileModule.java:401)
	at
org.apache.cocoon.components.modules.input.XMLFileModule.getAttribute(XMLFileModule.java:390)
	at
org.apache.cocoon.components.modules.input.AbstractMetaModule.get(AbstractMetaModule.java:358)
	at
org.apache.cocoon.components.modules.input.AbstractMetaModule.getValue(AbstractMetaModule.java:260)
	at
org.apache.cocoon.components.modules.input.SimpleMappingMetaModule.getAttribute(SimpleMappingMetaModule.java:170)
	at
org.apache.cocoon.components.modules.input.InputModuleHelper.get(InputModuleHelper.java:99)
	... 105 more
Caused by: org.apache.cocoon.ProcessingException: Unable to get
transformer handler for file:/opt/forrest/apache-forrest-0.8/main/webapp/
	at <map:serialize type="xml"> -
file:/opt/forrest/apache-forrest-0.8/main/webapp/aggregate.xmap:68:36
	at <map:transform> -
file:/opt/forrest/apache-forrest-0.8/main/webapp/aggregate.xmap:65:83
	at <map:generate> -
file:/opt/forrest/apache-forrest-0.8/main/webapp/aggregate.xmap:64:52
	at
org.apache.cocoon.transformation.TraxTransformer.setup(TraxTransformer.java:338)
	at
org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.setupPipeline(AbstractProcessingPipeline.java:354)
	at
org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline.setupPipeline(AbstractCachingProcessingPipeline.java:614)
	at
org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.preparePipeline(AbstractProcessingPipeline.java:459)
	at
org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.prepareInternal(AbstractProcessingPipeline.java:473)
	at
org.apache.cocoon.components.source.impl.SitemapSource.init(SitemapSource.java:276)
	at
org.apache.cocoon.components.source.impl.SitemapSource.<init>(SitemapSource.java:146)
	at
org.apache.cocoon.components.source.impl.SitemapSourceFactory.getSource(SitemapSourceFactory.java:65)
	at
org.apache.cocoon.components.source.CocoonSourceResolver.resolveURI(CocoonSourceResolver.java:159)
	at
org.apache.cocoon.components.source.CocoonSourceResolver.resolveURI(CocoonSourceResolver.java:189)
	at
org.apache.cocoon.components.modules.input.XMLFileModule$DocumentHelper.getDocument(XMLFileModule.java:175)
	at
org.apache.cocoon.components.modules.input.XMLFileModule.getContextObject(XMLFileModule.java:379)
	... 111 more
Caused by: org.apache.excalibur.xml.xslt.XSLTProcessorException:
Exception when creating Transformer from
file:/opt/forrest/apache-forrest-0.8/main/webapp/
	at
org.apache.cocoon.components.xslt.TraxProcessor.getTransformerHandlerAndValidity(TraxProcessor.java:290)
	at sun.reflect.GeneratedMethodAccessor20.invoke(Unknown Source)
	at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at
org.apache.cocoon.core.container.handler.PoolableComponentHandler$ProxyHandler.invoke(PoolableComponentHandler.java:147)
	at $Proxy3.getTransformerHandlerAndValidity(Unknown Source)
	at
org.apache.cocoon.transformation.TraxTransformer.setup(TraxTransformer.java:330)
	... 122 more
Caused by: org.apache.excalibur.source.SourceNotFoundException:
file:/opt/forrest/apache-forrest-0.8/main/webapp/ doesn't exist.
	at
org.apache.excalibur.source.impl.FileSource.getInputStream(FileSource.java:150)
	at
org.apache.cocoon.components.xslt.TraxProcessor.sourceToSAX(TraxProcessor.java:298)
	at
org.apache.cocoon.components.xslt.TraxProcessor.getTransformerHandlerAndValidity(TraxProcessor.java:239)
	... 128 more
Caused by: java.io.FileNotFoundException:
/opt/forrest/apache-forrest-0.8/main/webapp (Is a directory)
	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)
	... 130 more


Mime
View raw message