forrest-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thorsten Scherler <thors...@apache.org>
Subject Re: Locationmap does not work with dispatcher
Date Wed, 10 Sep 2008 23:40:23 GMT
On Wed, 2008-09-10 at 16:30 +0100, Pablo Barrera wrote:
> Hello,
> 
> I have a problem with dispatcher and I am still stuck with it. I am  
> trying to use forrest to convert documents from moinmoin format to TEI  
> format. I use locationmap.xml to search the pages in the remote wiki  
> server. The system is working correctly, producing TEI and HTML outputs.
> 
> However I would like to improve a little bit the result. I want to  
> introduce a new component in the final document

which html or tei?

>  that includes all the  
> links within the text. Some sort of "Reference" section. To do so I've  
> started to use dispatcher but with no luck.

Let us see what the problem may be.

> 
> When I activate the plugins for dispatcher in forrest.properties the  
> system does not work with locationmap. I am able to produce a TEI or a  
> HTML document from a moinmoin document, but only if it is located in  
> the content dir. But when I use try to use the remove server I obtain  
> different errors:
> 
> Message: null
> Description: No details available.
> Sender: org.apache.cocoon.servlet.CocoonServlet
> Source: Cocoon Servlet
> Request URI
> wiki/CommunityTools.html
> 
> cause
> dispatcherError: 500 - Internal server error
> The contract "siteinfo-meta-navigation" has thrown thrown an exception  
> by resolving raw data from "cocoon://wiki/ 
> CommunityTools.navigation.xml".
> dispatcherErrorStack:
>   org.apache.excalibur.source.SourceNotFoundException: Exception  
> during processing of cocoon://wiki/CommunityTools.navigation.xml
> 

This error tells me that wiki/CommunityTools.navigation.xml cannot be
resolved. 

Ross mentioned forrestbar, if you request above page and press
"dispatcher-dev -> Intermediate format" 

what do you get?

Further what does wiki/CommunityTools.xml returns?

> or
> 
> Message: Resource Not Found
> Description: The requested resource "/wiki/CommunityTools.tei" could  
> not be found
> Sender: org.apache.cocoon.servlet.CocoonServlet
> Source: Cocoon Servlet
> 

That does not seems to be the dispatcher but a general message from the
tei plugin. 

> I have looking to the documentation but I haven't found anything about  
> this particular issue. Any idea?

seems to me the cause is a 404 file not found error now we need to track
down where and why it happens.

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


Mime
View raw message