jQuery in Action, 3rd edition
The moose likes JDBC and Relational Databases and the fly likes UDB Type 4 driver error Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "UDB Type 4 driver error" Watch "UDB Type 4 driver error" New topic

UDB Type 4 driver error

Tom Raj

Joined: Mar 03, 2005
Posts: 11
Hi All,
I'm getting the error below

---- Begin backtrace for nested exception

com.ibm.db2.jcc.b.SqlException: The version of the IBM Universal JDBC driver in use is not licensed for connectivity to QDB2/SUN databases. To connect to this DB2 server, please obtain a licensed copy of the IBM DB2 Universal Driver for JDBC and SQLJ. An appropriate license file db2jcc_license_*.jar for this target platform must be installed to the application classpath. Connectivity to QDB2/SUN databases is enabled by any of the following license files: { db2jcc_license_cu.jar, db2jcc_license_cisuz.jar }

at java.lang.Throwable.<init>(Throwable.java)

at java.lang.Throwable.<init>(Throwable.java)

at java.sql.SQLException.<init>(SQLException.java:52)

at com.ibm.db2.jcc.b.SqlException.<init>(SqlException.java:96)

at com.ibm.db2.jcc.b.o.eb(o.java:3323)

at com.ibm.db2.jcc.b.o.a(o.java:3259)

at com.ibm.db2.jcc.c.b.a(b.java:578)

at com.ibm.db2.jcc.c.b.a(b.java:382)

at com.ibm.db2.jcc.c.b.<init>(b.java:326)

I looked into the directory and I can see the license files there.
I agree. Here's the link: http://aspose.com/file-tools
subject: UDB Type 4 driver error
jQuery in Action, 3rd edition