Workload Automation

 View Only

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

Oct 22, 2018 07:11 PM

Document ID : KB000117971
Last Modified Date : 23/10/2018

 

Products
  • CA Workload Automation DE
Releases
  • CA Workload Automation DE:Release:11.3
  • CA Workload Automation DE:Release:12.0
  • CA Workload Automation DE:Release:12.1
  • CA Workload Automation DE:Release:11.1
Components
  • CA DSERIES WORKLOAD AUTOMATION HIGH AVAILABILITY:DSERHA
  • CA WORKLOAD AUTOMATION DE (DSERIES) DESKTOP CLIENT:DSRDTC
  • CA WORKLOAD AUTOMATION DE (DSERIES):DSRIES
  • CYBERMATION Z/OS RESTART OPTION FOR ESP: DSERIES:DSRRST
Issue:
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 below 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.  

Statistics
0 Favorited
3 Views
0 Files
0 Shares
0 Downloads

Tags and Keywords

Related Entries and Links

No Related Resource entered.