Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8170160

Tzupdater tool not working with latest IANA updates

    • x86_64
    • solaris_10

      FULL PRODUCT VERSION :


      ADDITIONAL OS VERSION INFORMATION :
      Solaris 10 64Bit

      A DESCRIPTION OF THE PROBLEM :
      **** Applying latest timezone update in /sys_apps_01/jdk1.7.0_76 ****

      Using file:////var/tmp/Oct_2016_Timezone/Java_Tzone/tzupdater-2.1.0/tzdata2016h.tar.gz as source for tzdata bundle.
      java.home: /sys_apps_01/jdk1.7.0_76/jre
      java.vendor: Oracle Corporation
      java.version: 1.7.0_76
      tzupdater version 2.1.0-b04
      JRE tzdata version: tzdata2014j
      Downloaded file to /var/tmp/tz.tmp/tzdata.tar.gz
      tzupdater tool would update with tzdata version: tzdataunknown
      Downloaded file to /var/tmp/tz.tmp/sha512hash
      Extracting files... done.
      Renaming /sys_apps_01/jdk1.7.0_76/jre/lib/zi to /sys_apps_01/jdk1.7.0_76/jre/lib/zi.tzdata2014j
      Renaming /sys_apps_01/jdk1.7.0_76/jre/lib/zi.tzdataunknown to /sys_apps_01/jdk1.7.0_76/jre/lib/zi
      Validating for : tzdataunknown
      Validation complete
      Extracting files... Creating: /sys_apps_01/jdk1.7.0_76/jre/lib/tz.tmp/: /pkg_resolve.sh
      done.
      WARNING: Update succeeded but /sys_apps_01/jdk1.7.0_76/jre/bin/java not directly found in package contents file.
      WARNING: No package resolution performed. JDK may not have been installed via SVR4 package.
      JRE updated to version : tzdataunknown

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      Basically the tzupdater requires the version name (eg: 2016i) in the makefile file within the tzdata2016i.tar.gz.
      The makefile has "unknown" as the version entry, so as a workaround I extract the gz, upate the makefile and re-gzip again.
      The tzupdater then expects a new sha512 file...luckily it tells us what it needs to create the sha512 file again.



      ERROR MESSAGES/STACK TRACES THAT OCCUR :
      **** Applying latest timezone update in /sys_apps_01/jdk1.7.0_76 ****

      Using file:////var/tmp/Oct_2016_Timezone/Java_Tzone/tzupdater-2.1.0/tzdata2016h.tar.gz as source for tzdata bundle.
      java.home: /sys_apps_01/jdk1.7.0_76/jre
      java.vendor: Oracle Corporation
      java.version: 1.7.0_76
      tzupdater version 2.1.0-b04
      JRE tzdata version: tzdata2014j
      Downloaded file to /var/tmp/tz.tmp/tzdata.tar.gz
      tzupdater tool would update with tzdata version: tzdataunknown
      Downloaded file to /var/tmp/tz.tmp/sha512hash
      Extracting files... done.
      Renaming /sys_apps_01/jdk1.7.0_76/jre/lib/zi to /sys_apps_01/jdk1.7.0_76/jre/lib/zi.tzdata2014j
      Renaming /sys_apps_01/jdk1.7.0_76/jre/lib/zi.tzdataunknown to /sys_apps_01/jdk1.7.0_76/jre/lib/zi
      Validating for : tzdataunknown
      Validation complete
      Extracting files... Creating: /sys_apps_01/jdk1.7.0_76/jre/lib/tz.tmp/: /pkg_resolve.sh
      done.
      WARNING: Update succeeded but /sys_apps_01/jdk1.7.0_76/jre/bin/java not directly found in package contents file.
      WARNING: No package resolution performed. JDK may not have been installed via SVR4 package.
      JRE updated to version : tzdataunknown

      REPRODUCIBILITY :
      This bug can be reproduced always.

            fmatte Fairoz Matte
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: