cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Arjé Cahn <A...@hippo.nl>
Subject RE: Problem with xmldb-pseudo-protocol
Date Wed, 01 May 2002 19:59:35 GMT
Is this a collection you are calling? Then you should try meta/#.

-----Oorspronkelijk bericht-----
Van: Jörn Heid [mailto:heid@fh-heilbronn.de]
Verzonden: 01 May 2002 20:14
Aan: cocoon-users@xml.apache.org
Onderwerp: Problem with xmldb-pseudo-protocol




When I call this pipeline:


<map:match pattern="expose/neu.html">
				<map:generate
src="xmldb:xindice://localhost:4080/db/ximmo/kruck/exposes/meta#."/>
				<map:serialize type="xml"/>
</map:match>

I get "java.io.FileNotFoundException: /C:/Programme/Apache
Group/resin/xmldb:xindice:/localhost:4080/db/ximmo/kruck/exposes/meta#."




I added the following lines from
http://www.cocooncenter.de/cc/documents/resources/xindice/index.html:

<source-handler logger="core.source-handler">
    <!-- xmldb pseudo protocol -->
    <protocol name="xmldb"
      class="org.apache.cocoon.components.source.XMLDBSourceFactory">
      <!-- Xindice driver -->
      <driver type="xindice"
        class="org.apache.xindice.client.xmldb.DatabaseImpl"/>
      <!-- Add here other XML:DB compliant databases drivers -->
    </protocol>
  </source-handler>

and used the latest cvs snapshot...

What's wrong?


BTW, why does <component-instance
class="org.apache.cocoon.components.source.XMLDBSourceFactory"
name="xmldb"/> in <source-factories> throw a class cast exception?

JOERN


---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail: <cocoon-users-help@xml.apache.org>


---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail: <cocoon-users-help@xml.apache.org>


Mime
View raw message