六狼论坛

 找回密码
 立即注册

QQ登录

只需一步,快速开始

新浪微博账号登陆

只需一步,快速开始

搜索
查看: 82|回复: 0

The version of the IBM Universal JDBC driver in use is not licensed for 解决方案

[复制链接]

升级  46.67%

30

主题

30

主题

30

主题

秀才

Rank: 2

积分
120
 楼主| 发表于 2013-1-13 18:47:37 | 显示全部楼层 |阅读模式
Problem(Abstract)
The version of the IBM Universal JDBC driver in use is not licensed for connectivity to QDB2/<OS> databases. To connect to this DB2 server, please obtain a licensed copy of the IBM DB2 Universal Driver for JDBC and SQLJ.
 
 
Cause
TDI 6.0 FP3 comes with updated Cloudscape and the driver needed for it, it also comes with a license file which is needed to connect to Cloudscape.
 
 
Resolving the problem
As of DB2 UDB v8.1.2 the Universal JDBC driver requires a license JAR file to be in the CLASSPATH along with the db2jcc.jar file. Here are the names of the required license JAR files:

  • For CloudscapeTM Network Server V5.1: db2jcc_license_c.jar
  • For DB2 UDB V8 for Linux, UNIX, and Windows servers: db2jcc_license_cu.jar
  • For DB2 UDB for iSeries® and z/OS servers (provided with DB2 Connect and DB2 Enterprise Server Edition): db2jcc_license_cisuz.jar
An appropriate location for this license file to be placed in a TDI system would be, <TDI Install Directory>\_jvm\jre\lib\ext directory.
For further information, refer to the "Related information" link
 
 
Related information
Overview of Java Development in DB2 UDB for Linux UNIX
 
 
 
Product Alias/Synonym
TDI
将db2公司jdbc的jar包更换为:db2jcc_license_cisuz.jar  db2jcc_license_cu.jar   db2jcc_license_c.jar 试试看就行了
您需要登录后才可以回帖 登录 | 立即注册 新浪微博账号登陆

本版积分规则

快速回复 返回顶部 返回列表