CA WA DE: Brazil BST time zone and Java tzupdater fails to update time zone
search cancel

CA WA DE: Brazil BST time zone and Java tzupdater fails to update time zone

book

Article ID: 117971

calendar_today

Updated On:

Products

DSERIES- SERVER CA Workload Automation DE - System Agent (dSeries)

Issue/Introduction

Due to changes in the BRT in Brazil and error in tzupdater, Java applications will move their clocks ahead of 4 Nov 2018.  This will results in application running jobs ahead of time and other unexpected issues.

See this link on updating the time zone information for JRE (DE and CA WA Dekstop Client come with their own JRE).

Environment

CA WA DE
CA WA DE Desktop Client
OS: Any

Cause

The tzupdater is used to update the time zone information stored in the JRE.  The 2018f update results in the following error:
java -jar C:\temp\tzupdater.jar -l
Using https://www.iana.org/time-zones/repository/tzdata-latest.tar.gz as source
for tzdata bundle.
Failed: java.lang.Exception: Failed while parsing file 'C:\Users\USER1\AppData\Local\Temp\3\tz.tmp\asia' on line 1655 'Rule Japan 1948 1951 -
Sep Sat>=8 25:00 0 S'
java.lang.Exception: Failed while parsing file 'C:\Users\USER1\AppData\Local\Temp\3\tz.tmp\asia' on line 1655 'Rule Japan 1948 1951 - Sep
Sat>=8 25:00 0 S'
at tools.tzdb.TzdbZoneRulesCompiler.parseFile(TzdbZoneRulesCompiler.java:377)
at tools.tzdb.TzdbZoneRulesCompiler.compile(TzdbZoneRulesCompiler.java:191)
at tools.tzdb.TzdbZoneRulesCompiler.<init>(TzdbZoneRulesCompiler.java:307)
at com.sun.tools.tzupdater.ExternalModule.compileToJSRBinary(ExternalModule.java:153)
at com.sun.tools.tzupdater.TimezoneUpdater.run(TimezoneUpdater.java:230)

at com.sun.tools.tzupdater.TimezoneUpdater.main(TimezoneUpdater.java:634)
Caused by: tools.tzdb.DateTimeException: Invalid value for SecondOfDay value: 90000
at tools.tzdb.ChronoField.checkValidValue(ChronoField.java:173)
at tools.tzdb.LocalTime.ofSecondOfDay(LocalTime.java:210)
at tools.tzdb.TzdbZoneRulesCompiler.parseMonthDayTime(TzdbZoneRulesCompiler.java:475)
at tools.tzdb.TzdbZoneRulesCompiler.parseRuleLine(TzdbZoneRulesCompiler.java:399)
at tools.tzdb.TzdbZoneRulesCompiler.parseFile(TzdbZoneRulesCompiler.java:354)
... 5 more

 

Resolution

When executing the tzupdater tool, point tzupdater link it to download the previous update file (2018e).

Please execute the following commands:

Linux/UNIX

cd <de_install_directory>/jre/bin
./java -jar /tmp/tzupdater.jar -l https://data.iana.org/time-zones/releases/tzdata2018e.tar.gz


Windows

cd C:\<de_install_directory>\jre\bin
java -jar C:\temp\tzupdater.jar -l https://data.iana.org/time-zones/releases/tzdata2018e.tar.gz


Note: The above example indicates the tzupdater.jar was downloaded to /tmp or C:\temp.  

Additional Information

For more information on tzupdater defect please refer to this link.

Starting in 2019, the Daylight Summer Time (DST) will be decommissioned in Brazil. Please refer to the product documentation for the steps.

Configure dSeries for the end of Daylight Saving Time in Brazil 2019