The version of the IBM Universal JDBC driver in use is not licensed for 解决方案
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. CauseTDI 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 problemAs 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 informationOverview of Java Development in DB2 UDB for Linux UNIX
Product Alias/SynonymTDI 将db2公司jdbc的jar包更换为:db2jcc_license_cisuz.jar db2jcc_license_cu.jar db2jcc_license_c.jar 试试看就行了
页:
[1]