<map:match pattern="test/**">

<map:match type="request-parameter" pattern="xpath">

<map:generate src="xmldb:xindice://localhost:8080/db/test/{../1}#{1}"/>

<map:serialize type="xml"/>

</map:match>

<map:generate src="xmldb:xindice://localhost:8080/db/test/{1}"/>

<map:serialize type="xml"/>

</map:match>

 

when test is a subcollection of db .

 

then i have request the database  with this http request http://localhost:8080/cocoon/test/address2 when address2 is a xml file stored in test collection.

and i have this error

The org.apache.cocoon.www.file_.C_.jakarta_tomcat_4_1_29.webapps.cocoon.sitemap_xmap notifies that org.apache.cocoon.ProcessingException says:

Could not read resource xmldb:xindice://localhost:8080/db/test/address2

More precisely:

org.apache.cocoon.ProcessingException: Could not read resource xmldb:xindice://localhost:8080/db/test/address2: org.xmldb.api.base.XMLDBException: Cannot communicate with the server: http://localhost:8080/xindice/


i use the xindice-1.1b3-dev

thank for answers



MSN Search, le moteur de recherche qui pense comme vous ! Cliquez-ici
--- Begin Message ---

in my sitemap , i have written this pipeline

<map:match pattern="test/**">

<map:match type="request-parameter" pattern="xpath">

<map:generate src="xmldb:xindice://localhost:8080/db/test/{../1}#{1}"/>

<map:serialize type="xml"/>

</map:match>

<map:generate src="xmldb:xindice://localhost:8080/db/test/{1}"/>

<map:serialize type="xml"/>

</map:match>

 

when test is a subcollection of db .

 

then i have request the database  with this http request http://localhost:8080/cocoon/test/address2 when address2 is a xml file stored in test collection.

and i have this error

The org.apache.cocoon.www.file_.C_.jakarta_tomcat_4_1_29.webapps.cocoon.sitemap_xmap notifies that org.apache.cocoon.ProcessingException says:

Could not read resource xmldb:xindice://localhost:8080/db/test/address2

More precisely:

org.apache.cocoon.ProcessingException: Could not read resource xmldb:xindice://localhost:8080/db/test/address2: org.xmldb.api.base.XMLDBException: Cannot communicate with the server: http://localhost:8080/xindice/


i use the xindice-1.1b3-dev

thank for answers

 



MSN Search, le moteur de recherche qui pense comme vous ! Cliquez-ici
--- End Message ---

Reply via email to