This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line!
See this thread for details.
The moose likes JDBC 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


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "UDB Type 4 driver error" Watch "UDB Type 4 driver error" New topic
Author

UDB Type 4 driver error

Tom Raj
Greenhorn

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.
 
Don't get me started about those stupid light bulbs.
 
subject: UDB Type 4 driver error