forrest-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pablo Barrera <>
Subject Locationmap does not work with dispatcher
Date Wed, 10 Sep 2008 15:30:27 GMT

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

When I activate the plugins for dispatcher in 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

dispatcherError: 500 - Internal server error
The contract "siteinfo-meta-navigation" has thrown thrown an exception  
by resolving raw data from "cocoon://wiki/ 
  org.apache.excalibur.source.SourceNotFoundException: Exception  
during processing of cocoon://wiki/CommunityTools.navigation.xml


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

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

I configured forrest as follows:

<locationmap xmlns="">
     <matchers default="lm">

     <match pattern="**.moinwiki">
         <location src="http://wiki.MYSERVER/{1}?action=raw" />

     <match pattern="**.xml">
	    <location src="http://wiki.MYSERVER/{1}? 
action=format&amp;mimetype=xml/docbook" />



Pablo Barrera

View raw message