Page 1 of 1

Installing Berkeley DBXML on Mac OS X 10.4

Posted: Fri Jun 08, 2007 8:41 pm
by johnochiltree
Hello all,

I manage to run a successful 'configure,build, install' of the Berkeley DBXML native xml repository on Mac OS X 10.4.9. All the command line utilities work fine.

When I come to configure it in Oxygen, when I try to connect to a datasource I get the following message:

ERROR: "Could not instantiate: ro.sync.db.nxd.berkeley.BerkeleySession due to: java.lang.NoClassDefFoundError"

Has anyone managed to use DBXML from Oxygen on the Mac and can anyone offer some advice, please?

John Ochiltree

Posted: Mon Jun 11, 2007 11:03 am
by sorin_ristache
Hello,

I think you did not set the DYLD_LIBRARY_PATH variable. If the build of DBD XML was correct you should connect to it from oXygen by setting a datasource of type Berkeley in Options -> Preferences -> Data Sources.

Before connecting from oXygen you should check that the Berkeley examples provided in the dbxmlexamples.jar file work correctly when you execute them from command line, for example the Hello World example in the class dbxml.basic.helloWorld.

oXygen supports BDB XML versions 2.2.13 and 2.3.10.


Regards,
Sorin