This content has been marked as final. Show 12 replies
I am trying to use Berkeley DB XML on a windows vista 64bit (tried both business and ultimate editions), but keep failing in the most simple scenarios: (I use ver 2.4.13)
1) Just after install (from .msi file) when I start the shell from the command prompt I just get:
dbxml: error at lowest level:
2) If I start the shell from the start menu I get:
ERROR: The system was unable to find the specified registry key or value.
ECHO is off.
The Berkeley DB XML version could not be determined.
If you are running on Windows 2000, make sure the
REG.EXE program is installed from the Tools disk
ECHO is off.
3) Using the Java libraries, I get a fault in the JVM when creating a container.
Does BDB XML not work on 64bit systems, is the fault something else, or should I download another package for 64bit systems?
What is the status of berkeley db xml and windows x64? I cannot find in the project in visual studio to build the dlls for x64 only win32 is available (when I downloaded bdxml2.4.16.)
When will it be supported? It says in the previous posts that it was suppose to be in the 2.4 version or has it changed?
we just migrated to AMD 64-bit platforms and would like to know as well how to migrate Berkeley DB XML.
The error message is "java.lang.UnsatisfiedLinkError: C:\Program Files (x86)\Oracle\Berkeley DB XML 2.4.16\bin\libdb_java46.dll: Can't load IA 32-bit .dll on a AMD 64-bit platform".
1) Are there pre-compiled 64-bit libraries available?
2) If not, how to compile the libraries for AMD 64-bit?
3) If not, should we use a 32-bit Java VM?
Edit: I have been able to get rid of the incompatibility error by switching to a 32-bit Java VM (actually jre1.6.0_07). However, now there is a new error: "Uncaught exception from C++ API, errcode = INTERNAL_ERROR at com.sleepycat.dbxml.dbxml_javaJNI.new_XmlManager(Native Method)". Searching for this, I only found hints that there must be something wrong deep inside the basis of BDB XML. How can I debug this better apart from installing the sources and a C++ compiler?
Edited by: jwagner on 20.02.2009 13:51
1) there are no precompiled 64-bit binaries
2) if you have a 64-bit Visual Studio compiler installation you should see project options to build 64-bit. If not, let me know. It may be tricky to find/install a free version that works 64-bit.
3) running entirely 32-bit should work as well. Debugging your problem will be very hard without a compiler and sources. A 32-bit free compiler is certainly available (Visual Studio Express)
Ok, works now with a correctly configured heap size of 32 MB to 300 MB. I suppose the heap size was too small for JNI.
Running BDB XML with a 32-bit JVM works just fine now.
Edit: Turns out it was too big, not too small! The limit is 486 MB, any other setting higher than that causes the infamous INTERNAL_ERROR!
Edited by: jwagner on 02.03.2009 12:13