Latest versionsfixlist
11.1.0.7 FixList
10.5.0.9 FixList
10.1.0.6 FixList
9.8.0.5 FixList
9.7.0.11 FixList
9.5.0.10 FixList
9.1.0.12 FixList
Have problems? - contact us.
Register for free anmeldung-x26
Contact form kontakt-x26

DB2 - Problem description

Problem IC66575 Status: Closed

DB2 INSTALLATION COPIES DB2JCC_LICENSE_CUSIZ.JAR AS
DB2JCC_LICENSE_CU.JAR OVERWRITING EXISTING DB2JCC_LICENSE_CU.JAR

product:
DB2 FOR LUW / DB2FORLUW / 950 - DB2
Problem description:
DB2 installation copies db2jcc_license_cusiz.jar as 
sqllib\java\db2jcc_license_cu.jar overwriting existing 
sqllib\java\db2jcc_license_cu.jar if db2jcc_license_cusiz.jar 
exists in the db2\license directory in the installation 
directory. 
 
This may cause unexpected results such as, being able to connect 
to remote mainframe systems eventhough a file with name 
db2jcc_license_cusiz.jar is not in the CLASSPATH. 
 
Reproduction steps: 
 
1.- Before installation starts: 
 
Copy db2jcc_license_cusiz.jar license file  to db2\license 
directory under the installable image directory. 
 
2.- Run setup.exe and perform the installation. 
 
3.- The following is observed after installation: 
 
   - a file db2jcc_license_cu.jar exists in path: 
     <db2 directory>\SQLLIB\java 
 
   - environment variable CLASSPATH contains 
     <db2 directory>\SQLLIB\java\db2jcc_license_cu.jar 
 
   - CLASSPATH does NOT contain db2jcc_license_cusiz.jar 
 
4.- Test: 
 
    Result: 
 
    A test JAVA program that connects to a remote db2 mainframe 
    database using IBM JDBC Type 4 Driver succeed. 
 
    Expected result: 
 
    An error was expected indicating that connection can not 
    succeed because there is no valid license 
    (db2jcc_license_cusiz.jar) to connect to the DB2 on the 
    mainframe.
Problem Summary:
Users Affected: All users 
 
Problem Description: 
The DB2 installation process overwrites the original 
db2jcc_license_cu.jar license file. 
 
Recommendation: 
Upgrade to DB2 version 9.5 Fixpak 6 or higher.
Local Fix:
Do not copy the db2jcc_license_cusiz.jar file to the db2\license 
folder in step 1. 
That way the test on Step 4 will fail until you add the 
db2jcc_license_cusiz.jar license file to the CLASSPATH.
available fix packs:
DB2 Version 9.5 Fix Pack 6a for Linux, UNIX, and Windows
DB2 Version 9.5 Fix Pack 7 for Linux, UNIX, and Windows
DB2 Version 9.5 Fix Pack 8 for Linux, UNIX, and Windows
DB2 Version 9.5 Fix Pack 9 for Linux, UNIX, and Windows
DB2 Version 9.5 Fix Pack 10 for Linux, UNIX, and Windows

Solution
First Fixed in DB2 Version 9.5 Fixpack 6
Workaround
After the installation completes, copy the original 
db2jcc_license_cu.jar from the product original source to the 
directory overwriting the file copied by the installation. 
Additionally, copy the db2jcc_license_cusiz.lic to the same 
directory.
BUG-Tracking
forerunner  : APAR is sysrouted TO one or more of the following: IC66619 IC66620 IC68002 IC68003 
follow-up : 
Timestamps
Date  - problem reported    :
Date  - problem closed      :
Date  - last modified       :
22.02.2010
17.05.2010
17.05.2010
Problem solved at the following versions (IBM BugInfos)
9.5.,
9.5.FP6
Problem solved according to the fixlist(s) of the following version(s)