By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
437,851 Members | 1,729 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 437,851 IT Pros & Developers. It's quick & easy.

error try to use db2jcc do binding

P: n/a

we are using db2 ESE v8.2.3 on windows, i try to use command window to
do binding

D:\Program Files\IBM\SQLLIB\bnd>java -cp "D:\program files\ibm\sqllib
\java\db2jcc.jar" -url xxx -user xxx -
password xxx -s xxxx
DB2Binder stopped: Failure to create connection for binding
SQL code: -99999
SQL state: null
Message: The version of the IBM Universal JDBC driver in use is not
licensed for connectivity to QDB2/NT databases. To connect to this
DB2 server, please obtain a licensed copy of the IBM DB2 Unive
rsal 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/NT databases is enabled
by any of the following license files: { db2jcc_license_cu.jar,
db2jcc_license_cisuz.jar }

but by checking classpath, i do have those jars .;D:\PROGRA~1\IBM
\SQLLIB\java\;D:\PROGRA~1\IBM\SQLLIB\ja va\db2jcc.jar;D:
\db2jcc_license_cisuz.jar;D:\PROGRA~1\IBM\SQLLIB\j ava
\db2jcc_license_cu.jar;D:\PROGRA~1\IBM\SQLLIB\bin; D:\PROGRA~1\IBM

also we are using licensing copy of db2, the solution i am doing is
use original db2jcc from long time ago. Could somebody help me out
what is the best way? thanks

Feb 6 '07 #1
Share this Question
Share on Google+
1 Reply

P: n/a
You need to add the db2 license jar (db2jcc_license_cu.jar) to your

This would do the trick:
java -cp "D:\program files\ibm\sqllib\java\db2jcc.jar;D:\program files
\ibm\sqllib\java\db2jcc_license_cu.jar" -url
xxx -user xxx -
password xxx -s xxxx

Feb 7 '07 #2

This discussion thread is closed

Replies have been disabled for this discussion.