You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@forrest.apache.org by Philip Aston <ph...@mail.com> on 2008/01/13 19:39:56 UTC

fails with "(Is a directory)" broken link?

I recently upgraded from 0.7 to 0.8. All went fine, apart from the
generation of the whole site HTML and PDF documents.

I've tried:

  <all label="All documentation" tab="project">
    <whole_site_html label="Wholesite HTML" href="wholesite.html"/>
    <whole_site_pdf label="Wholesite PDF" href="wholesite.pdf"/>
  </all>

and having read around a little:

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

but they both fail 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"/>
        <referrer uri="development/todo.html"/>
        <referrer uri="development/contributing.html"/>
        <referrer uri="links.html"/>
        <referrer uri="license.html"/>
        <referrer uri="development/changes.html"/>
        <referrer uri="support.html"/>
        <referrer uri="index.html"/>
        <referrer uri="download.html"/>
      </link>
      <link message="/opt/forrest/apache-forrest-0.8/main/webapp/. (Is a
    directory)" uri="site.html">
        <referrer uri="linkmap.html"/>
        <referrer uri="development/todo.html"/>
        <referrer uri="development/contributing.html"/>
        <referrer uri="links.html"/>
        <referrer uri="license.html"/>
        <referrer uri="development/changes.html"/>
        <referrer uri="support.html"/>
        <referrer uri="index.html"/>
        <referrer uri="download.html"/>
      </link>
    </broken-links>


Any ideas on what I might be doing wrong, or points as to how to track
this down?

Thanks,

- Phil


wholesite.* fails in Forrest-0.8 and -HEAD [was: fails with "(Is a directory)" broken link?]

Posted by Johannes Schaefer <jo...@uidesign.de>.
I can confirm this problem with forrest-HEAD:

Internal Server Error
Message: null
Description: No details available.
Sender: org.apache.cocoon.servlet.CocoonServlet
Source: Cocoon Servlet
cause
   C:\Programme\apache-forrest-HEAD\main\webapp (Zugriff verweigert)
Request URI
   wholesite.html
request-uri
   /wholesite.html
Apache Cocoon 2.2.0-dev

(which is "access denied") as the Cocoon error message in the browser.

The same for wholesite.pdf.
The same in forrest-0.8.
Simple HTML and PDF (one page only) work.

I tested the above on the forrest site in FOR-413 (PDF: rendering fails
when graphics too big) which is a slightly modified 'forrest seed'.
The standard 'Forrest seed' fails also (for HEAD version).

My system is Windows-XP,
   "Using Java 1.5 from C:\Programme\Java\jre1.6.0_03".

The folder C:\Programme\apache-forrest-HEAD\main\webapp is present and
I do have full r/w access.

The problem isn't present in forrest-0.7 (which we still use actively)
although I did not test for the above project (won't work without
modifications).

Unfortunately I cannot offer a solution.

Cheers
Johannes



Thorsten Scherler schrieb:
> On Sun, 2008-01-13 at 18:39 +0000, Philip Aston wrote:
>> I recently upgraded from 0.7 to 0.8. All went fine, apart from the
>> generation of the whole site HTML and PDF documents.
>>
>> I've tried:
>>
>>   <all label="All documentation" tab="project">
>>     <whole_site_html label="Wholesite HTML" href="wholesite.html"/>
>>     <whole_site_pdf label="Wholesite PDF" href="wholesite.pdf"/>
>>   </all>
>>
>> and having read around a little:
>>
>>   <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>
>>
>> but they both fail 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"/>
>>         <referrer uri="development/todo.html"/>
>>         <referrer uri="development/contributing.html"/>
>>         <referrer uri="links.html"/>
>>         <referrer uri="license.html"/>
>>         <referrer uri="development/changes.html"/>
>>         <referrer uri="support.html"/>
>>         <referrer uri="index.html"/>
>>         <referrer uri="download.html"/>
>>       </link>
>>       <link message="/opt/forrest/apache-forrest-0.8/main/webapp/. (Is a
>>     directory)" uri="site.html">
>>         <referrer uri="linkmap.html"/>
>>         <referrer uri="development/todo.html"/>
>>         <referrer uri="development/contributing.html"/>
>>         <referrer uri="links.html"/>
>>         <referrer uri="license.html"/>
>>         <referrer uri="development/changes.html"/>
>>         <referrer uri="support.html"/>
>>         <referrer uri="index.html"/>
>>         <referrer uri="download.html"/>
>>       </link>
>>     </broken-links>
>>
>>
>> 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? 
> 
> Can you post the exception?
> 
> salu2

-- 
User Interface Design GmbH, Ludwigsburg, Germany
Phone/Fax  +49 7141 37700-46/-99, Mobile +49 170 4914567
E-mail johannes.schaefer@uidesign.de * www.uidesign.de

Offices:
Martin-Luther-Straße 57-59, D-71636 Ludwigsburg
Truderinger Strasse 330, D-81825 Muenchen
Friedrichsring 46, D-68161 Mannheim

Legal information according to EHUG:
User Interface Design GmbH; Managing Directors: Dr. Claus Goerner,
Franz Koller; Head office: Ludwigsburg; Commercial register of the
local court of Stuttgart, Germany, HRB 205519

+++
We have moved to new premises: As of October 15, you will find the UID head 
office at Martin-Luther-Strasse 57-59 * 71636 Ludwigsburg.
+++

Re: fails with "(Is a directory)" broken link?

Posted by Philip Aston <ph...@mail.com>.
Thorsten Scherler wrote:
> On Wed, 2008-01-16 at 09:35 +0000, Philip Aston wrote:
>> 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>
> 
> 
> This should be:
>   <all label="All documentation" tab="project">
>     <whole_site_html label="Wholesite HTML" href="wholesite.html"/>
>     <whole_site_pdf label="Wholesite PDF" href="wholesite.pdf"/>
>   </all>

Thanks Thorsten, that's exactly what I was trying yesterday.

- Phil


Re: fails with "(Is a directory)" broken link?

Posted by David Crossley <cr...@apache.org>.
Thorsten Scherler wrote:
> Philip Aston wrote:
> > Thorsten Scherler wrote:
> > > 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>
> 
> This should be:
>   <all label="All documentation" tab="project">
>     <whole_site_html label="Wholesite HTML" href="wholesite.html"/>
>     <whole_site_pdf label="Wholesite PDF" href="wholesite.pdf"/>
>   </all>

Not correct. See the documentation. It can be either "wholesite"
or "site".

-David

Re: fails with "(Is a directory)" broken link?

Posted by Thorsten Scherler <th...@apache.org>.
On Wed, 2008-01-16 at 09:35 +0000, Philip Aston wrote:
> 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>


This should be:
  <all label="All documentation" tab="project">
    <whole_site_html label="Wholesite HTML" href="wholesite.html"/>
    <whole_site_pdf label="Wholesite PDF" href="wholesite.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:

Meaning if you comment this section of the site, you can generate the
whole site (after applying the patch from FOR-733)?

> 
>   <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"/>
> 	...
...
> 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)
...
> 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


This exception seems to be caused by some resources that cannot be
found.

Now we need to pin down which it is.

salu2
-- 
Thorsten Scherler                                 thorsten.at.apache.org
Open Source Java                      consulting, training and solutions


Re: fails with "(Is a directory)" broken link?

Posted by Philip Aston <ph...@mail.com>.
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


Re: fails with "(Is a directory)" broken link?

Posted by Thorsten Scherler <th...@apache.org>.
On Sun, 2008-01-13 at 18:39 +0000, Philip Aston wrote:
> I recently upgraded from 0.7 to 0.8. All went fine, apart from the
> generation of the whole site HTML and PDF documents.
> 
> I've tried:
> 
>   <all label="All documentation" tab="project">
>     <whole_site_html label="Wholesite HTML" href="wholesite.html"/>
>     <whole_site_pdf label="Wholesite PDF" href="wholesite.pdf"/>
>   </all>
> 
> and having read around a little:
> 
>   <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>
> 
> but they both fail 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"/>
>         <referrer uri="development/todo.html"/>
>         <referrer uri="development/contributing.html"/>
>         <referrer uri="links.html"/>
>         <referrer uri="license.html"/>
>         <referrer uri="development/changes.html"/>
>         <referrer uri="support.html"/>
>         <referrer uri="index.html"/>
>         <referrer uri="download.html"/>
>       </link>
>       <link message="/opt/forrest/apache-forrest-0.8/main/webapp/. (Is a
>     directory)" uri="site.html">
>         <referrer uri="linkmap.html"/>
>         <referrer uri="development/todo.html"/>
>         <referrer uri="development/contributing.html"/>
>         <referrer uri="links.html"/>
>         <referrer uri="license.html"/>
>         <referrer uri="development/changes.html"/>
>         <referrer uri="support.html"/>
>         <referrer uri="index.html"/>
>         <referrer uri="download.html"/>
>       </link>
>     </broken-links>
> 
> 
> 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? 

Can you post the exception?

salu2
-- 
Thorsten Scherler                                 thorsten.at.apache.org
Open Source Java                      consulting, training and solutions


Re: fails with "(Is a directory)" broken link?

Posted by Philip Aston <ph...@mail.com>.
David Crossley wrote:
> Philip Aston wrote:
>> Any ideas on what I might be doing wrong, or points as to how to track
>> this down?
> 
> I have seen such error messages before. IIRC it is something
> to do with a missing resource and is a message from the locationmap.
> 
> Did you try looking in the Cocoon log files:
> http://forrest.apache.org/faq.html#logs

Thanks David. I have now.. please see my response to Thorsten Scherler.

- Phil


FOR-876 again (Was: wholesite and locationmap)

Posted by David Crossley <cr...@apache.org>.
Johannes Schaefer wrote:
>
> Also, I'm currently finalizing an article about technical documentation
> with Forrest (for tekom [1], the German prof. assoc. for technical
> writers). One of the key features to create "a book" is the wholesite.
> 
> So, I started digging into FOR-733 but I'm not even sure that the
> locationmap is working for me (0.8 and HEAD).

In general the locationmap does work properly. Lots of testing
was done prior to the 0.8 release.

> In a newly seeded site the link at the bottom of
> 
>   http://localhost:8888/samples1/locationmap/index.html
> 
> is *not* rewritten but points to "lm:rewrite.index" which gives a
> browser error (sth. like "protocol 'lm' unknown).

Hmmm. There was a kerfuffle in the past about this
particular issue. Search the mail archives about FOR-876.

And the error is shown on the Forrest zone testing:
http://forrest.zones.apache.org and see "forrest-seed".

At one stage we worked on it at a ForrestFriday IRC session
(around June 2006) and it seemed to be fixed.

Now it is broken again and the error does not seem to be reported.

-David

> Do I need to "activate" the locationmap somewhere?
> Do I need to add some matches to sitemap.xmap?
> 
> As I gathered from
>   http://forrest.apache.org/docs_0_90/locationmap.html
> the project's locationmap in
>   ...\fseed-HEAD\src\documentation\content
> should handle all requests that do not have a physical file present
> within the project (folder "xdoc").
> 
> Is that so? I.e. adding
> 
>     <match pattern="my-lm-file.xml">
>       <location src="index.xml"/>
>     </match>
> 
> would resolve the request "http://localhost:8888/my-lm-file.html" and
> finally deliver from "index.xml"?
> 
> Thanks in advance!
> Johannes
> 
> 
> [1] http://www.tekom.de/

wholesite and locationmap (was: " fails with "(Is a directory)" broken link?" from user list)

Posted by Johannes Schaefer <jo...@uidesign.de>.
Hi!

For me the broken wholesite.* is a show-stopper to upgrade our projects
to v0.8/HEAD.

Also, I'm currently finalizing an article about technical documentation
with Forrest (for tekom [1], the German prof. assoc. for technical
writers). One of the key features to create "a book" is the wholesite.

So, I started digging into FOR-733 but I'm not even sure that the
locationmap is working for me (0.8 and HEAD).

In a newly seeded site the link at the bottom of

   http://localhost:8888/samples1/locationmap/index.html

is *not* rewritten but points to "lm:rewrite.index" which gives a
browser error (sth. like "protocol 'lm' unknown).

Do I need to "activate" the locationmap somewhere?
Do I need to add some matches to sitemap.xmap?

As I gathered from
   http://forrest.apache.org/docs_0_90/locationmap.html
the project's locationmap in
   ...\fseed-HEAD\src\documentation\content
should handle all requests that do not have a physical file present
within the project (folder "xdoc").

Is that so? I.e. adding

     <match pattern="my-lm-file.xml">
       <location src="index.xml"/>
     </match>

would resolve the request "http://localhost:8888/my-lm-file.html" and
finally deliver from "index.xml"?

Thanks in advance!
Johannes


[1] http://www.tekom.de/


David Crossley schrieb:
> David Crossley wrote:
>> I have seen such error messages before. IIRC it is something
>> to do with a missing resource and is a message from the locationmap.
> 
> Found it.
> 
> This "wholesite" ability has caused trouble for a long time.
> Moreso with the new locationmap.
> 
> I did a quick search for "wholesite" in our issue tracker [1].
> 
> One of the top issues is http://issues.apache.org/jira/browse/FOR-733
> "wholesite.pdf does not work with the locationmap".
> 
> We need to emphasise in our docs that wholesite is broken.
> 
> Anyone who needs this wholesite ability and wants to
> help fix it, we would welcome you on our dev mail list.
> 
> [1] Remember everyone, me included, that the Forrestbar
> is a good tool to accompany Forrest use/development.
> http://forrest.apache.org/tools/forrestbar.html
> 
> -David
> 
> 

-- 
User Interface Design GmbH, Ludwigsburg, Germany
Phone/Fax  +49 7141 37700-46/-99, Mobile +49 170 4914567
E-mail johannes.schaefer@uidesign.de * www.uidesign.de

Offices:
Martin-Luther-Straße 57-59, D-71636 Ludwigsburg
Truderinger Strasse 330, D-81825 Muenchen
Friedrichsring 46, D-68161 Mannheim

Legal information according to EHUG:
User Interface Design GmbH; Managing Directors: Dr. Claus Goerner,
Franz Koller; Head office: Ludwigsburg; Commercial register of the
local court of Stuttgart, Germany, HRB 205519

Re: fails with "(Is a directory)" broken link?

Posted by Philip Aston <ph...@mail.com>.
Thorsten Scherler wrote:
> On Tue, 2008-01-22 at 19:03 +0000, Philip Aston wrote:
> ...
>> I've applied it to 0.8, but it doesn't address the whole site issue I
>> reported last week.
>>
>> My problem has a slightly different signature, e.g.
>> "/home/philipa/workspace/grinder-docs/src/documentation (Is a
>> directory)" instead of a moan about the permissions, but is definitely
>> LM related.
> 
> Actually AFAIR the signature may differ from the OS you use. The report
> was for windows and you are on linux, right?

Yes, I'm on linux.

>> I get this with wholesite, as well as with a custom aggregation I'm
>> using. The custom aggregation transformation work if I specify them as e.g.
>>
>>   <map:transform src="{forrest:forrest.stylesheets}/site-to-book.xsl" />
>>
>> rather than
>>
>>   <map:transform src="{lm:site-to-book.xsl}" />
>>
>> Any clues?
> 
> the above should read:
> <map:transform src="{lm:transform.site.book}" />

Thanks Thorsten, with that change, my custom aggregation works with or
without the patch.

However,

  <all label="All documentation" tab="project">
    <whole_site_html label="Wholesite HTML" href="wholesite.html"/>
    <whole_site_pdf label="Wholesite PDF" href="wholesite.pdf"/>
  </all>

continues to fail with or without the patch.

- Phil

Re: fails with "(Is a directory)" broken link?

Posted by Thorsten Scherler <th...@apache.org>.
On Tue, 2008-01-22 at 19:03 +0000, Philip Aston wrote:
...
> I've applied it to 0.8, but it doesn't address the whole site issue I
> reported last week.
> 
> My problem has a slightly different signature, e.g.
> "/home/philipa/workspace/grinder-docs/src/documentation (Is a
> directory)" instead of a moan about the permissions, but is definitely
> LM related.

Actually AFAIR the signature may differ from the OS you use. The report
was for windows and you are on linux, right?

> 
> I get this with wholesite, as well as with a custom aggregation I'm
> using. The custom aggregation transformation work if I specify them as e.g.
> 
>   <map:transform src="{forrest:forrest.stylesheets}/site-to-book.xsl" />
> 
> rather than
> 
>   <map:transform src="{lm:site-to-book.xsl}" />
> 
> Any clues?

the above should read:
<map:transform src="{lm:transform.site.book}" />

Did you try that?

salu2

> 
> - Phil
> 
-- 
Thorsten Scherler                                 thorsten.at.apache.org
Open Source Java                      consulting, training and solutions


Re: fails with "(Is a directory)" broken link?

Posted by Philip Aston <ph...@mail.com>.
Thorsten Scherler wrote:
> On Tue, 2008-01-22 at 11:10 +0100, Johannes Schaefer wrote:
>> Philip Aston schrieb:
>>> David Crossley wrote:
>>>> David Crossley wrote:
>>>>> I have seen such error messages before. IIRC it is something
>>>>> to do with a missing resource and is a message from the locationmap.
>>>> Found it.
>>>>
>>>> This "wholesite" ability has caused trouble for a long time.
>>>> Moreso with the new locationmap.
>>>>
>>>> I did a quick search for "wholesite" in our issue tracker [1].
>>>>
>>>> One of the top issues is http://issues.apache.org/jira/browse/FOR-733
>>>> "wholesite.pdf does not work with the locationmap".
>> Thorsten fixed it, see
>>    https://issues.apache.org/jira/browse/FOR-733
>>
>> Thorsten also added how to fix Forrest-0.8 to FOR-733.
>>
>> Thanks to Thorsten for the fast fix!
> 
> You are welcome, but it has been far from fast (seeing the issue is from
> 2005). 
> 
> Hopefully it will work as expected now.

Thorsten, thanks for the patch.

I've applied it to 0.8, but it doesn't address the whole site issue I
reported last week.

My problem has a slightly different signature, e.g.
"/home/philipa/workspace/grinder-docs/src/documentation (Is a
directory)" instead of a moan about the permissions, but is definitely
LM related.

I get this with wholesite, as well as with a custom aggregation I'm
using. The custom aggregation transformation work if I specify them as e.g.

  <map:transform src="{forrest:forrest.stylesheets}/site-to-book.xsl" />

rather than

  <map:transform src="{lm:site-to-book.xsl}" />

Any clues?

- Phil


Re: fails with "(Is a directory)" broken link?

Posted by Thorsten Scherler <th...@juntadeandalucia.es>.
On Tue, 2008-01-22 at 11:10 +0100, Johannes Schaefer wrote:
> Philip Aston schrieb:
> > David Crossley wrote:
> >> David Crossley wrote:
> >>> I have seen such error messages before. IIRC it is something
> >>> to do with a missing resource and is a message from the locationmap.
> >> Found it.
> >>
> >> This "wholesite" ability has caused trouble for a long time.
> >> Moreso with the new locationmap.
> >>
> >> I did a quick search for "wholesite" in our issue tracker [1].
> >>
> >> One of the top issues is http://issues.apache.org/jira/browse/FOR-733
> >> "wholesite.pdf does not work with the locationmap".
> 
> Thorsten fixed it, see
>    https://issues.apache.org/jira/browse/FOR-733
> 
> Thorsten also added how to fix Forrest-0.8 to FOR-733.
> 
> Thanks to Thorsten for the fast fix!

You are welcome, but it has been far from fast (seeing the issue is from
2005). 

Hopefully it will work as expected now.

salu2
-- 
Thorsten Scherler                                 thorsten.at.apache.org
Open Source Java                      consulting, training and solutions


Re: fails with "(Is a directory)" broken link?

Posted by Johannes Schaefer <jo...@uidesign.de>.
Philip Aston schrieb:
> David Crossley wrote:
>> David Crossley wrote:
>>> I have seen such error messages before. IIRC it is something
>>> to do with a missing resource and is a message from the locationmap.
>> Found it.
>>
>> This "wholesite" ability has caused trouble for a long time.
>> Moreso with the new locationmap.
>>
>> I did a quick search for "wholesite" in our issue tracker [1].
>>
>> One of the top issues is http://issues.apache.org/jira/browse/FOR-733
>> "wholesite.pdf does not work with the locationmap".

Thorsten fixed it, see
   https://issues.apache.org/jira/browse/FOR-733

Thorsten also added how to fix Forrest-0.8 to FOR-733.

Thanks to Thorsten for the fast fix!

Johannes

>>
>> We need to emphasise in our docs that wholesite is broken.
>>
>> Anyone who needs this wholesite ability and wants to
>> help fix it, we would welcome you on our dev mail list.
> 
> 
> Thanks David.
> 
> - Phil
> 
> 

-- 
User Interface Design GmbH, Ludwigsburg, Germany
Phone/Fax  +49 7141 37700-46/-99, Mobile +49 170 4914567
E-mail johannes.schaefer@uidesign.de * www.uidesign.de

Offices:
Martin-Luther-Straße 57-59, D-71636 Ludwigsburg
Truderinger Strasse 330, D-81825 Muenchen
Friedrichsring 46, D-68161 Mannheim

Legal information according to EHUG:
User Interface Design GmbH; Managing Directors: Dr. Claus Goerner,
Franz Koller; Head office: Ludwigsburg; Commercial register of the
local court of Stuttgart, Germany, HRB 205519

Re: fails with "(Is a directory)" broken link?

Posted by Philip Aston <ph...@mail.com>.
David Crossley wrote:
> David Crossley wrote:
>> I have seen such error messages before. IIRC it is something
>> to do with a missing resource and is a message from the locationmap.
> 
> Found it.
> 
> This "wholesite" ability has caused trouble for a long time.
> Moreso with the new locationmap.
> 
> I did a quick search for "wholesite" in our issue tracker [1].
> 
> One of the top issues is http://issues.apache.org/jira/browse/FOR-733
> "wholesite.pdf does not work with the locationmap".
> 
> We need to emphasise in our docs that wholesite is broken.
> 
> Anyone who needs this wholesite ability and wants to
> help fix it, we would welcome you on our dev mail list.


Thanks David.

- Phil


Re: fails with "(Is a directory)" broken link?

Posted by David Crossley <cr...@apache.org>.
David Crossley wrote:
> 
> I have seen such error messages before. IIRC it is something
> to do with a missing resource and is a message from the locationmap.

Found it.

This "wholesite" ability has caused trouble for a long time.
Moreso with the new locationmap.

I did a quick search for "wholesite" in our issue tracker [1].

One of the top issues is http://issues.apache.org/jira/browse/FOR-733
"wholesite.pdf does not work with the locationmap".

We need to emphasise in our docs that wholesite is broken.

Anyone who needs this wholesite ability and wants to
help fix it, we would welcome you on our dev mail list.

[1] Remember everyone, me included, that the Forrestbar
is a good tool to accompany Forrest use/development.
http://forrest.apache.org/tools/forrestbar.html

-David


Re: fails with "(Is a directory)" broken link?

Posted by David Crossley <cr...@apache.org>.
Philip Aston wrote:
> 
> Any ideas on what I might be doing wrong, or points as to how to track
> this down?

I have seen such error messages before. IIRC it is something
to do with a missing resource and is a message from the locationmap.

Did you try looking in the Cocoon log files:
http://forrest.apache.org/faq.html#logs

-David