cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Barbara Post" <bab...@ifrance.com>
Subject xml:db api and xml database (tamino)
Date Mon, 15 Jul 2002 10:33:32 GMT
Hi, I have the following error :

ERROR   (2002-07-15) 12:09.25:376
[sitemap.generator.file](/baepp/license/defaultgeneration)
HttpProcessor[9090][4]/FileGenerator: Could not read resource
xmldb:tamino://localhost/tamino/mydatabase/mycollection
java.util.NoSuchElementException
 at java.util.StringTokenizer.nextToken(StringTokenizer.java:232)
 at
com.softwareag.tamino.xmldb.api.base.TDatabase.getCollection(TDatabase.java:
78)
 at org.xmldb.api.DatabaseManager.getCollection(DatabaseManager.java:194)
 at org.xmldb.api.DatabaseManager.getCollection(DatabaseManager.java:157)
 at
org.apache.cocoon.components.source.XMLDBSource.resourceToSAX(XMLDBSource.ja
va:234)
 at
org.apache.cocoon.components.source.XMLDBSource.toSAX(XMLDBSource.java:224)
 at
org.apache.cocoon.generation.FileGenerator.generate(FileGenerator.java:142)
 at
org.apache.cocoon.components.pipeline.CachingEventPipeline.process(CachingEv
entPipeline.java:251)
 at
org.apache.cocoon.components.pipeline.CachingStreamPipeline.process(CachingS
treamPipeline.java:399)
 at
org.apache.cocoon.www.sitemap_xmap.matchN1024B(E:\tomcat404\work\Standalone\
localhost\baepp\cocoon-files\org/apache/cocoon/www\sitemap_xmap.java:1985)
 at
org.apache.cocoon.www.sitemap_xmap.process(E:\tomcat404\work\Standalone\loca
lhost\baepp\cocoon-files\org/apache/cocoon/www\sitemap_xmap.java:1688)
 at
org.apache.cocoon.www.sitemap_xmap.process(E:\tomcat404\work\Standalone\loca
lhost\baepp\cocoon-files\org/apache/cocoon/www\sitemap_xmap.java:1609)
 at org.apache.cocoon.sitemap.Handler.process(Handler.java:222)
 at org.apache.cocoon.sitemap.Manager.invoke(Manager.java:179)


I use the correct driver for Tamino database :
com.softwareag..tamino.xmldb.api.base.TDatabase.

<map:match pattern="license/defaultgeneration">
   <map:generate
src="xmldb:tamino://localhost/tamino/mydatabase/mycollection#mydocument"></m
ap:generate>

   <map:serialize type="xml"/>

This tamino uri is right in its construction... Maybe someone has a clue.
Thanks.

BP


---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.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