DB connect to DB2 V8 jcc driver [message #69427] |
Fri, 28 January 2005 05:01 |
Eclipse User |
|
|
|
Originally posted by: lushiwei.cn.ibm.com
Try to use DB2 JCC driver to connect DB2 UDB V8
JDBC Driver Class : com.ibm.db2.jcc.DB2Driver
Class location :
" D:\Eclipse\workspace\JDBC_Sample\lib\db2jcc_license_cu.jar;D :\Eclipse\workspace\JDBC_Sample\lib\db2jcc.jar "
URL: jdbc:db2://<HOSTNAME>:50000/testDB
get a error message:
Connect to DB2 UDB failed. The version of the IBM Universial JDBC Driver
in use is not licensed for connectivity to DB2 for Unix/Windows database.
...
But I can connect to database use a java execute class include those libs.
|
|
|
|
Re: DB connect to DB2 V8 jcc driver [message #71197 is a reply to message #71080] |
Thu, 03 February 2005 02:43 |
Eclipse User |
|
|
|
Originally posted by: lushiwei.cn.ibm.com
Thank you, Ping
I can connect to my DB2 server use jcc driver after I restart a clean
eclipse enviroment(restart a new worksapce). Now I use
db2jcc_license_cu.jar or db2jcc_license_cisuz.jar can connect to my DB2
server.
Best Regard
ShiWei Lu
Der Ping Chou wrote:
> Please try to use this license jar file instead.
> db2jcc_license_cisuz.jar
> Der Ping
> lushiwei wrote:
>> Try to use DB2 JCC driver to connect DB2 UDB V8
>> JDBC Driver Class : com.ibm.db2.jcc.DB2Driver
>> Class location :
>>
>
" D:EclipseworkspaceJDBC_Samplelibdb2jcc_license_cu.jar;D:Ecli pseworkspaceJDBC_Samplelibdb2jcc.jar "
>> URL: jdbc:db2://<HOSTNAME>:50000/testDB
>> get a error message:
>> Connect to DB2 UDB failed. The version of the IBM Universial JDBC Driver
>> in use is not licensed for connectivity to DB2 for Unix/Windows database.
>> ...
>> But I can connect to database use a java execute class include those libs.
|
|
|
|
Re: DB connect to DB2 V8 jcc driver [message #76575 is a reply to message #71080] |
Thu, 24 February 2005 17:56 |
Eclipse User |
|
|
|
Originally posted by: ian.no.spam.please
Der Ping Chou wrote:
> Please try to use this license jar file instead.
>
> db2jcc_license_cisuz.jar
Der Ping, could you please explain what is different about the two
"license" jars in the DB2 distribution?
Thanks
Ian
|
|
|
Powered by
FUDForum. Page generated in 0.04432 seconds