cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "jim basilakis" <>
Subject RE: Xindice in Cocoon
Date Fri, 16 Apr 2004 01:46:27 GMT
Hi there,

I had the same problem when trying the example in the book by Moczar and doesn't seem to work. Cocoon does not seem to be able to resolve
the xmldb URI scheme (src="xmldb:xindice://localhost:4080/db/"/>) to access
the database and not sure why.

A good reference to work out how to use Xindice with LOTS of good java
examples is "Professional XML Development with Apache Tools" by Theodore W.
Leung and look at the chapter on Xindice. Armed with this you can look at
the source code or instead, like me, just attempt to write an action to make
Cocoon access Xindice.

Hope this helps,

-----Original Message-----
From: Nina Juliadotter []
Sent: Friday, 16 April 2004 10:44 AM
Subject: Xindice in Cocoon

Hi everyone,

I've been trying to get Xindice up and running under Cocoon for the last 3
days now
without success, is there ANYONE out there who have actually got it working?
read all the documentation there is on the Wikis and so forth, but it really
has made me more confused, as they all seem to refer to different versions
of Cocoon
and Xindice and Tomcat, with different tweaks nessecary. I've got Tomcat 5.0
Cocoon 2.1.4 happily installed and running (in Tomcat). I managed to get the
1.0 of
Xindice up and running in command line mode, but not 1.1b4, and I cannot get
to connect to Xindice in any way.

Any suggestions as to whether to use the embedded or standalone mode? From
what I
understand from the Wikis (e.g., the embedded
mode is
supposed to just work by itself without tweaks. I havn't got the samples

org.apache.cocoon.ProcessingException: Failed to load sitemap from
Exception during processing of xmldb:xindice-embed:///db/cocoon/sitemap:
org.apache.cocoon.ResourceNotFoundException: Document
xmldb:xindice-embed:///db/cocoon/sitemap not found

I've also tried to run Xindice in standalone mode, having the Xindice 1.0
and then adding to the sitemap as suggested in

<map:match pattern="xmldb/**">
    <map:match type="request-parameter" pattern="xpath">
      <map:serialize type="xml"/>
    <map:generate src="xmldb:xindice://localhost:4080/db/{1}"/>
    <map:serialize type="xml"/>

but that does not work at all, it just gives me a "Resource cannot be

I've also played around with deploying Xindice 1.1b4 in Tomcat, but I can't
work out
how to get Cocoon to talk to Xindice.

PLEASE, is there anyone who can tell me how to get Cocoon 2.1.4 to work with
(any version will do!), cocoon being deployed in Tomcat 5.0.

FYI, the other resources I looked at are:
and the book by Moczar and Aston: Cocoon developers handbook


To unsubscribe, e-mail:
For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message