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

本文介绍了解决使用IBM Universal JDBC驱动连接QDB2数据库时出现未授权问题的方法。针对TDI6.0FP3中包含的Cloudscape及其所需驱动,提供了具体的许可JAR文件名称及安装位置建议。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

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 试试看就行了

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值