Berkeley DBXML error

Having trouble installing Oxygen? Got a bug to report? Post it all here.
scottbdr
Posts: 57
Joined: Tue Jul 21, 2009 1:48 am

Berkeley DBXML error

Post by scottbdr »

ERROR: "Could not instantiate: ro.sync.db.nxd.bekeley.BerkeleySession due to: java.lang.NoClassDefFoundError: Could not initialize class com.sleepycat.db.internal.db_javaJNI"

Running oXygen 10.3 build 2009070117 on XP with
Oracle: Berkeley DB XML 2.4.16: (October 21, 2008)
Berkeley DB 4.6.21: (September 27, 2007)

No problems with the set per documentation... The dbxml.exe shell works fine too.

Thanks, Scott
sorin_ristache
Posts: 4141
Joined: Fri Mar 28, 2003 2:12 pm

Re: Berkeley DBXML error

Post by sorin_ristache »

Hello,

It seems a DLL library of your Berkeley DB XML could not be loaded by the Berkeley JDBC driver. Is the home folder of Berkeley (on my system it is C:\Program Files (x86)\Oracle\Berkeley DB XML 2.4.16\bin) in the PATH variable of Windows? It should be added in the PATH variable by the Berkeley 2.4.16 installer for Windows. If Oxygen was running when you installed Berkeley you have to restart Oxygen after running the Berkeley installer.


Regards,
Sorin
scottbdr
Posts: 57
Joined: Tue Jul 21, 2009 1:48 am

Re: Berkeley DBXML error

Post by scottbdr »

Thanks Sorin, I have the Berkeley DB connection sorted out now. I am still having issues with eXist however:
ERROR: "Failed to read server's response: 404 Not Found for: http://localhost:8080/exist/xmlrpc".

The eXist server is up and I can connect to "xmldb:exist://localhost:8080/exist/xmlrpc" using the eXist client shell just fine. There is no eXist path listed in the Windows PATH, should there be?

Thanks, Scott
sorin_ristache
Posts: 4141
Joined: Fri Mar 28, 2003 2:12 pm

Re: Berkeley DBXML error

Post by sorin_ristache »

What is the eXist connection URL that you set in Preferences -> Data Sources -- Connection? It should start with xmldb:exist: not with http:.

Can you access http://localhost:8080/exist/index.html in a Web browser? Do you get an error?


Regards,l
Sorin
scottbdr
Posts: 57
Joined: Tue Jul 21, 2009 1:48 am

Re: Berkeley DBXML error

Post by scottbdr »

The Oxygen connection configuration XML DB URI is set to xmldb:exist://localhost:8080/exist/xmlrpc.

The http://localhost:8080/exist/index.xml brings up the eXist web interface which works normally.

It seems I'm no longer getting the 404 message (not sure what changed...), now it's: "Failed to read server's response: Read timed out (http://localhost:8080/exist/index.html)". That page, index.html returns: org.apache.cocoon.ResourceNotFoundException: Error during resolving of the input stream: org.apache.excalibur.source.SourceNotFoundException: file:/C:/Program Files/eXist/webapp/index.html doesn't exist.

Where does Oxygen get that URI then?

Thanks,
Scott
sorin_ristache
Posts: 4141
Joined: Fri Mar 28, 2003 2:12 pm

Re: Berkeley DBXML error

Post by sorin_ristache »

scottbdr wrote:It seems I'm no longer getting the 404 message (not sure what changed...), now it's: "Failed to read server's response: Read timed out (http://localhost:8080/exist/index.html)". That page, index.html returns: org.apache.cocoon.ResourceNotFoundException: Error during resolving of the input stream: org.apache.excalibur.source.SourceNotFoundException: file:/C:/Program Files/eXist/webapp/index.html doesn't exist.

Where does Oxygen get that URI then?
You get an error about http://localhost:8080/exist/index.html in Oxygen? That is strange if the connection URL for that eXist connection is xmldb:exist://localhost:8080/exist/xmlrpc. Please contact us via the Technical Support page to tell you how to enable logging in Oxygen for getting more details about the error.


Regards,
Sorin
Post Reply