Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (WTP) » DB connect to DB2 V8 jcc driver
DB connect to DB2 V8 jcc driver [message #69427] Fri, 28 January 2005 05:01 Go to next message
Eclipse UserFriend
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 #71080 is a reply to message #69427] Wed, 02 February 2005 22:44 Go to previous messageGo to next message
Der Ping Chou is currently offline Der Ping ChouFriend
Messages: 36
Registered: July 2009
Member
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 #71197 is a reply to message #71080] Thu, 03 February 2005 02:43 Go to previous messageGo to next message
Eclipse UserFriend
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 #72263 is a reply to message #71197] Tue, 08 February 2005 03:51 Go to previous messageGo to next message
Der Ping Chou is currently offline Der Ping ChouFriend
Messages: 36
Registered: July 2009
Member
Lushewei,

You can also use 'Other Driver' to connect to DB2, for example; DB2 APP
driver or any other third party JDBC drivers. Just make sure you have the
class name, jar file location and URL correctly configured.

Thanks,

Der ping
lushiwei wrote:

> 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 Go to previous message
Eclipse UserFriend
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
Previous Topic:Extending WTP Wizards in a reusable way
Next Topic:RDB Tool
Goto Forum:
  


Current Time: Mon Aug 19 02:32:12 GMT 2024

Powered by FUDForum. Page generated in 0.03306 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top