Problem connecting to an X-Hive DB

Having trouble installing Oxygen? Got a bug to report? Post it all here.
echampio
Posts: 3
Joined: Wed Jul 18, 2007 4:54 am

Problem connecting to an X-Hive DB

Post by echampio »

The procedure in the documentation for connecting to an X-Hive DB seems quite simply. I grabbed all of the jars from my installation, created a new database source and the corresponding connection. However, I'm getting the following error when I try to use this connection through the Database Explorer:

ERROR: "loader constraints violated when linking org/w3c/dom/Node class"

If I remove all but antlr.jar, icu4j.jar, retroweaver-rt.jar and xhive.jar, I simply get the following error instead:

ERROR: null

I'm connecting directly to an existing instance of X-Hive over TCP/IP. I know that X-Hive is working properly, since other web applications are able to make use of it. I'm using X-Hive/DB 5.0.

Thanks in advance for any advice.
sorin_ristache
Posts: 4141
Joined: Fri Mar 28, 2003 2:12 pm

Post by sorin_ristache »

Hello,

You do not need more than the 4 jar files specified in the User Manual procedure for creating an X-Hive/DB data source in oXygen (antlr.jar, icu4j.jar, retroweaver-rt.jar and xhive.jar) but you have to take them from an installation of X-Hive/DB version 7. It was released in October 2005 and this is the X-Hive/DB version supported in oXygen. Please create X-Hive/DB data sources in oXygen based on the version 7 jar files.


Regards,
Sorin
echampio
Posts: 3
Joined: Wed Jul 18, 2007 4:54 am

Post by echampio »

Thanks very much for the good info. My jars were from version 5.
echampio
Posts: 3
Joined: Wed Jul 18, 2007 4:54 am

Post by echampio »

Unfortunately, with the four essential X-Hive 7.0 jars, I receive this error:

ERROR: "com.xhive.dom.interfaces.XHiveLibraryif.getChildren()Ljava/util/iterator;"
sorin_ristache
Posts: 4141
Joined: Fri Mar 28, 2003 2:12 pm

Post by sorin_ristache »

Hello,

It seems you do not use the jars from an X-Hive/DB version 7. I tested with the jars of version 7.2 and it worked correctly. Can you post a link for downloading your jar files to test them in oXygen?


Regards,
Sorin
Post Reply