XML Editor
Sign up for a WebBoard account Sign Up Keyword Search Search More Options... Options
Chat Rooms Chat Help Help News News Log in to WebBoard Log in Not Logged in
Show tree view Topic
Topic Page 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 Go to previous topicPrev TopicGo to next topicNext Topic
Paul HermansSubject: 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)

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?

Many thanks,


Ivan PedruzziSubject: Berkeley DB XML integration
Author: Ivan Pedruzzi
Date: 18 Apr 2006 11:40 AM
Hi Paul,

Please take a look at this thread

Hope this helps
Ivan Pedruzzi
Stylus Studio Team

Topic Page 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 Go to previous topicPrev TopicGo to next topicNext Topic
Download A Free Trial of Stylus Studio 6 XML Professional Edition Today! Powered by Stylus Studio, the world's leading XML IDE for XML, XSLT, XQuery, XML Schema, DTD, XPath, WSDL, XHTML, SQL/XML, and XML Mapping!  

Log In Options

Site Map | Privacy Policy | Terms of Use | Trademarks
Stylus Scoop XML Newsletter:
W3C Member
Stylus Studio® and DataDirect XQuery ™are from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2016 All Rights Reserved.