Derby
  1. Derby
  2. DERBY-4597

remove references to IBM jcc driver from sysinfo

    Details

    • Type: Task Task
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 10.5.3.1, 10.6.1.0
    • Fix Version/s: 10.5.3.1, 10.6.2.1, 10.7.1.1
    • Component/s: Tools
    • Labels:
      None
    • Issue & fix info:
      Newcomer, Patch Available

      Description

      Sysinfo still picks up IBM's jcc driver if db2jcc.jar is in the classpath. We should remove this code as IBM doesn't support the use of the JCC driver. Not sure that we need to backport it but removing it from 10.5 and 10.6 seems reasonable.

      jcc code is present in the following sysinfo-related classes:
      org.apache.derby.impl.tools.sysinfo.ZipInfoProperties
      method: getVersionBuildInfo()
      org.apache.derby.impl.tools.sysinfo.Main
      (15 occurrences of the string 'jcc'

      1. sysinfo.out
        2 kB
        Lily Wei
      2. DERBY-4597-1.diff
        2 kB
        Lily Wei

        Issue Links

          Activity

          Hide
          Lily Wei added a comment -

          trunk/java/testing/org/apache/derbyTesting/functionTests/harness/RunTest.java also has reference to db2jcc. It might need to clean that as well.

          Show
          Lily Wei added a comment - trunk/java/testing/org/apache/derbyTesting/functionTests/harness/RunTest.java also has reference to db2jcc. It might need to clean that as well.
          Hide
          Kathey Marsden added a comment -

          Committed and backported to 10.6 and 10.5. Thanks Lily!

          Show
          Kathey Marsden added a comment - Committed and backported to 10.6 and 10.5. Thanks Lily!
          Hide
          Lily Wei added a comment -

          Sutes.all test suites passed.

          Show
          Lily Wei added a comment - Sutes.all test suites passed.
          Hide
          Lily Wei added a comment -

          Attach the fix for sysinfo that refer jcc.

          Download DB2 9.7 Fix Pack 2 for Linux, UNIX, and Windows db2jcc4.jar file. Add db2jcc4.jar in my classpath and run it against the new sysinfo with this patch. You can see the new sysinfo output in sysinfo.out. I need help to review the patch in turn of whether I miss something in the fix. I run derbyall test suies. And, the tests passed. suites.All test suite is running now. I am using ibm 1.6 jvm to build trunk.

          Show
          Lily Wei added a comment - Attach the fix for sysinfo that refer jcc. Download DB2 9.7 Fix Pack 2 for Linux, UNIX, and Windows db2jcc4.jar file. Add db2jcc4.jar in my classpath and run it against the new sysinfo with this patch. You can see the new sysinfo output in sysinfo.out. I need help to review the patch in turn of whether I miss something in the fix. I run derbyall test suies. And, the tests passed. suites.All test suite is running now. I am using ibm 1.6 jvm to build trunk.
          Hide
          Kathey Marsden added a comment -

          To download jcc to verify this fix, you can get it from:
          http://www-01.ibm.com/support/docview.wss?rs=71&uid=swg27007053

          Go into DB2 9.7 FP1 -> Your platform --> BM Data Server Driver for JDBC and SQLJ

          Then put db2jcc4.jar in your classpath and make sure sysinfo shows no jcc info.

          Show
          Kathey Marsden added a comment - To download jcc to verify this fix, you can get it from: http://www-01.ibm.com/support/docview.wss?rs=71&uid=swg27007053 Go into DB2 9.7 FP1 -> Your platform --> BM Data Server Driver for JDBC and SQLJ Then put db2jcc4.jar in your classpath and make sure sysinfo shows no jcc info.

            People

            • Assignee:
              Lily Wei
              Reporter:
              Myrna van Lunteren
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development