Page 1 of 1

Problem connecting to an X-Hive DB

Posted: Wed Jul 18, 2007 5:01 am
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.

Posted: Wed Jul 18, 2007 2:38 pm
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

Posted: Wed Jul 18, 2007 8:17 pm
by echampio
Thanks very much for the good info. My jars were from version 5.

Posted: Wed Jul 18, 2007 9:03 pm
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;"

Posted: Thu Jul 19, 2007 10:54 am
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