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 ...
| |||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| 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 |
| ||||
| 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 |