trouble with berkeley xml db after upgrading to 10.3
Having trouble installing Oxygen? Got a bug to report? Post it all here.
-
- Posts: 82
- Joined: Sat Jan 13, 2007 5:39 pm
- Location: Belgium
trouble with berkeley xml db after upgrading to 10.3
Post by PaulHermans »
ERROR: "Could not instantiate: ro.sync.db.nxd.berkeley.BerkeleySession due to: java.lang;UnsatisfiedLinkError: /Applications/dbxml-2.4.13/install/lib/libdb_java-4.6.jnilib: no suitable image found.
Did find /Applications/dbxml-2.4.13/install/lib/libdb_java-4.6.jnilib: mach-o, but wrong architecture".
Settings identical as with previous version including java.library.path in Info.plist
Did find /Applications/dbxml-2.4.13/install/lib/libdb_java-4.6.jnilib: mach-o, but wrong architecture".
Settings identical as with previous version including java.library.path in Info.plist
Paul
-
- Posts: 4141
- Joined: Fri Mar 28, 2003 2:12 pm
Re: trouble with berkeley xml db after upgrading to 10.3
Post by sorin_ristache »
Hello,
Berkeley DB version 2.4.13 is not even available for download anymore. Please upgrade to version 2.4.16. We upgraded the support to Berkeley DB 2.4.16 in Oxygen 10.3 and it worked without problems for us.
Regards,
Sorin
Berkeley DB version 2.4.13 is not even available for download anymore. Please upgrade to version 2.4.16. We upgraded the support to Berkeley DB 2.4.16 in Oxygen 10.3 and it worked without problems for us.
Regards,
Sorin
-
- Posts: 82
- Joined: Sat Jan 13, 2007 5:39 pm
- Location: Belgium
Re: trouble with berkeley xml db after upgrading to 10.3
Post by PaulHermans »
Sorin,
Still the same error but now refering to version 2.4.16
ERROR: "Could not instantiate: ro.sync.db.nxd.berkeley.BerkeleySession due to: java.lang;UnsatisfiedLinkError: /Applications/dbxml-2.4.16/install/lib/libdb_java-4.6.jnilib: no suitable image found.
Did find /Applications/dbxml-2.4.16/install/lib/libdb_java-4.6.jnilib: mach-o, but wrong architecture".
FYI: I'm running Oxygen on Mac.
Still the same error but now refering to version 2.4.16
ERROR: "Could not instantiate: ro.sync.db.nxd.berkeley.BerkeleySession due to: java.lang;UnsatisfiedLinkError: /Applications/dbxml-2.4.16/install/lib/libdb_java-4.6.jnilib: no suitable image found.
Did find /Applications/dbxml-2.4.16/install/lib/libdb_java-4.6.jnilib: mach-o, but wrong architecture".
FYI: I'm running Oxygen on Mac.
Paul
-
- Posts: 4141
- Joined: Fri Mar 28, 2003 2:12 pm
Re: trouble with berkeley xml db after upgrading to 10.3
Post by sorin_ristache »
A "wrong architecture" error says that you built the Berkeley DB libraries for 32 bits and you run Oxygen with a 64 bit Java virtual machine or viceversa. If you run Oxygen with a 64 bit JVM (you can see that in the System properties tab of the Help -> About dialog) did you build the Berkeley libraries with the -b 64 parameter?
There are some problems with the 64 bit build of the libraries because it seems the Xerces libraries included in Berkeley depend on some deprecated old OS X libraries that were not ported to 64 bits so it will not run correctly with a 64 bit JVM due to some seg faults. Please try a Berkeley build for 32 bits and run Oxygen with a 32 bit JVM to have better chances of connecting to a Berkeley database.
Regards,
Sorin
There are some problems with the 64 bit build of the libraries because it seems the Xerces libraries included in Berkeley depend on some deprecated old OS X libraries that were not ported to 64 bits so it will not run correctly with a 64 bit JVM due to some seg faults. Please try a Berkeley build for 32 bits and run Oxygen with a 32 bit JVM to have better chances of connecting to a Berkeley database.
Regards,
Sorin
-
- Posts: 82
- Joined: Sat Jan 13, 2007 5:39 pm
- Location: Belgium
Re: trouble with berkeley xml db after upgrading to 10.3
Post by PaulHermans »
Sorin, thanks for this explanation.
I'm running Oxygen in 64 bit and Berkeley in 32.
Paul
I'm running Oxygen in 64 bit and Berkeley in 32.
Paul
Paul
-
- Posts: 4141
- Joined: Fri Mar 28, 2003 2:12 pm
Re: trouble with berkeley xml db after upgrading to 10.3
Post by sorin_ristache »
Please try to connect to the Berkeley database in Oxygen running with a 32 bit JVM. I think the Java 1.5 virtual machine is a 32 bit one on all Mac computers. You can set the Java 1.5 VM as the preferred one by dragging it to the first position in the list available from Applications -> Utilities -> Java Preferences.
Regards,
Sorin
Regards,
Sorin
-
- Posts: 82
- Joined: Sat Jan 13, 2007 5:39 pm
- Location: Belgium
Re: trouble with berkeley xml db after upgrading to 10.3
Post by PaulHermans »
Sorin,
Is it possible that this is a Oxygen specific settings,
since the Java 1.5 VM is the preferred one in Applications -> Utilities -> Java Preferences and using Oxygen 10.2 -> 32 bit, while Oxygen 10.3 -> 64 bit.
Paul
Is it possible that this is a Oxygen specific settings,
since the Java 1.5 VM is the preferred one in Applications -> Utilities -> Java Preferences and using Oxygen 10.2 -> 32 bit, while Oxygen 10.3 -> 64 bit.
Paul
Paul
-
- Posts: 4141
- Joined: Fri Mar 28, 2003 2:12 pm
Re: trouble with berkeley xml db after upgrading to 10.3
Post by sorin_ristache »
You are right. Please edit the Info.plist file of the icon that you use for starting Oxygen and change the value of the key JVMVersion from 1.5+ to 1.5*. We will apply this change too to the Mac install kit available on the Download page.
Regards,
Sorin
Regards,
Sorin
-
- Posts: 82
- Joined: Sat Jan 13, 2007 5:39 pm
- Location: Belgium
Re: trouble with berkeley xml db after upgrading to 10.3
Post by PaulHermans »
OK, we'll do.
Thanks for all the help.
Paul
Thanks for all the help.
Paul
Paul
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service