I've changed the xmldb samples sitemap to use
"xmldb:xindice://localhost:8080/" instead of "xmldb:xindice-embed:///".

However, when I do this:
"http://localhost:8080/cocoon/samples/xmldb/db/restaurants/"; I get this
error:

org.apache.cocoon.ResourceNotFoundException: Collection
xmldb:xindice://localhost:8080/db/restaurants/ not found

I have a collection called "restaurants". 

What confuses me is that xindice isn't accessible via localhost:8080 but
at localhost:8080/xindice. So how is the above supposed to work without
specifying "xindice" after the port.


Brian

On Mon, 2004-01-05 at 13:22, Mark Eggers wrote:
> There's a Wiki entry that is helpful:
> 
> http://wiki.cocoondev.org/Wiki.jsp?page=XMLIndiceCocoon2.1
> 
> Please note that since Xindice 1.1 uses xml-rpc,
> you'll need to put xmlrpc-1.1.jar in:
> 
> $CATALINA_HOME/webapps/cocoon/WEB-INF/lib
> 
> Here is a snippet from an experimental sitemap I'm
> playing with at the moment.
> 
> <map:match pattern="remotedb/**">
>  <map:match type="request-parameter" pattern="xpath">
>   <map:generate 
>   
> src="xmldb:xindice://localhost:8080/db/{../1}#{1}"/>
>   <map:serialize type="xml"/>
>  </map:match>
>  <map:generate 
>   src="xmldb:xindice://localhost:8080/db/{1}"/>
>  <map:serialize type="xml"/>
> </map:match>
> 
> This has been more or less shamelessly copied from:
> 
> http://localhost/cocoon/samples/xmldb/welcome
> 
> and its sitemap.xmap in:
> 
> $CATALINA_HOME/webapps/cocoon/samples/xmldb/
> 
> HTH
> /mde/
> just my two cents . . . .
> 
> __________________________________
> Do you Yahoo!?
> Find out what made the Top Yahoo! Searches of 2003
> http://search.yahoo.com/top2003

Reply via email to