Unix Technical Forum

db2jcc_license_cu.jar and db2jcc_license_cisuz.jar?

This is a discussion on db2jcc_license_cu.jar and db2jcc_license_cisuz.jar? within the DB2 forums, part of the Database Server Software category; --> I've installed DB2 8.1 UDB WSE with FixPack 2. There I found the Type 4 JDBC driver db2jcc.jar and ...


Go Back   Unix Technical Forum > Database Server Software > DB2

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-26-2008, 11:00 AM
Gerald Khin
 
Posts: n/a
Default db2jcc_license_cu.jar and db2jcc_license_cisuz.jar?

I've installed DB2 8.1 UDB WSE with FixPack 2. There I found the Type
4 JDBC driver db2jcc.jar and two additional jar files
db2jcc_license_cu.jar and db2jcc_license_cisuz.jar.

If I use the db2jcc.jar in my client application without adding at
least one of db2jcc_license_cu.jar or db2jcc_license_cisuz.jar
additionaly to the classpath of my application, then I encounter a
SQLException with error code -99999 (SQLState is null) and the
following message text:

"The version of the IBM Universal JDBC driver in use
is not licensed for connectivity to DB2 for Unix/Windows
databases.
To connect to this DB2 server, please obtain a licensed
copy of the IBM DB2 Universal Driver for JDBC and SQLJ."

Is this the correct behavior? I couldn't find any documentation about
these jar files. Why do I need these files?

Gerald
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-26-2008, 11:01 AM
Fan Ruo Xin
 
Posts: n/a
Default Re: db2jcc_license_cu.jar and db2jcc_license_cisuz.jar?

http://www7b.boulder.ibm.com/dmdd/li...ikopoulos.html

JDBC Type 4 driver
.....

Important: 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 required license JAR files:

For Cloudscape™ Network Server V5.1: db2jcc_license_c.jar
For DB2 UDB V8 for Linux, UNIX, and Windows servers:
db2jcc_license_su.jar
For DB2 UDB for iSeries® and z/OS servers (provided with DB2 Connect and
DB2 Enterprise Server Edition): db2jcc_license_cisuz.jar



Gerald Khin wrote:

> I've installed DB2 8.1 UDB WSE with FixPack 2. There I found the Type
> 4 JDBC driver db2jcc.jar and two additional jar files
> db2jcc_license_cu.jar and db2jcc_license_cisuz.jar.
>
> If I use the db2jcc.jar in my client application without adding at
> least one of db2jcc_license_cu.jar or db2jcc_license_cisuz.jar
> additionaly to the classpath of my application, then I encounter a
> SQLException with error code -99999 (SQLState is null) and the
> following message text:
>
> "The version of the IBM Universal JDBC driver in use
> is not licensed for connectivity to DB2 for Unix/Windows
> databases.
> To connect to this DB2 server, please obtain a licensed
> copy of the IBM DB2 Universal Driver for JDBC and SQLJ."
>
> Is this the correct behavior? I couldn't find any documentation about
> these jar files. Why do I need these files?
>
> Gerald


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 03:36 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
www.UnixAdminTalk.com