*
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
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.
 
Consider Paul's rocket mass heater.
 
subject: UDB Type 4 driver error
 
Similar Threads
WebSphere DB2 Connection Pool Setup
COM.ibm.db2.jdbc.DB2DataSource - Bug?
expired jdbc driver in was6.1
CLI0627E The result set is not scrollable.
UnsatisfiedLinkError Driver.SQLAllocEnv() - WSAD and DB2 7.x