db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bruce Snyder <fer...@frii.com>
Subject Re: IBM Universal JDBC driver... not licensed for connectivity to Derby
Date Thu, 25 Nov 2004 15:07:58 GMT
Emmanuel Cecchet wrote:

>> I'm trying to connect to Derby using the db2jcc.jar file and the 
>> com.ibm.db2.jcc.DB2Driver JDBC driver and I'm receiving the following 
>> error:
>> com.ibm.db2.jcc.c.SqlException: The verison of the IBM Universal JDBC 
>> driver in use is not licensed for connectivity to Apache Derby Databases.
>> The db2jcc.jar came with the download? Why am I getting this error and 
>> how do I get around it?
> I had the same issue with C-JDBC because of the db2jcc_license_c.jar 
> that must also be found in the classpath. In C-JDBC we use a separate 
> classloader for every single backend and our classloading does not allow 
> yet to load a single driver from multiple jar files. The temporary 
> workaround was either to unjar everything or to add the 
> db2jcc_license_c.jar class files into db2jcc.jar.

Thanks again, Emmanuel. I just included the 
com/ibm/db2/jcc/licenses/DB2J.class in the db2jcc.jar file and I got 
past the error.

> Another solution is to use C-JDBC for remote access to Derby ;-)

Nice plug for C-JDBC ;-)!

perl -e 'print 

The Castor Project

Apache Geronimo

View raw message