Subject:Berkeley DB XML integration Author:Paul Hermans Date:18 Apr 2006 10:46 AM
I have Berkeley DB XML (latest version) installed.
Via the Berkeley DB shell I'm able to create containers, load XML files, query those. So this part seems to be in order.
More concretely I have:
in C:\xmldb the container with name 'spil.dbxml' containing file 'test.xml'
Within system variables, DB_HOME is set to C:\xmldb
If I enter in Stylus (latest enterprise version)
dbxml:///C:/xmldb/spil.dbxml/test.xml
I get:
com.stylusstudio.sleepycat.dbxml.DBXMLException: Cannot open container c:\xmldb\spil.dbxml.
com.sleepycat.dbxml.XmlException: Error: DB_NOTFOUND: No matching key/data pair found, errcode = DATABASE_ERROR
Which can be explained since the BerkeleyDBXML configuration file was not set.
If I configure BerkeleyDBXML.xml setting dbenv to "C:\xmldb
I get:
com.stylusstudio.sleepycat.dbxml.DBXMLException: Processing BerkeleyDBXML.xml:
c:/xmldb is not a valid database environment.
The problem is that within the DB XML Shell environment there is no mention at all of the concept "database environment".
Anyone nowing what in this case the database environment to be used is?