Time zone not being updated in the OpManager.(Updating the time.jar )

Time zone not being updated in the OpManager.(Updating the time.jar )

Issue: To fix the time zone issue in the OpManager by updating time.jar.


Reason: Time changes that happen across various regions needs an update in OpManager Java's timezone database. OpManager 12300+ builds uses java.version: 1.7.0_55 with JRE tzdata version: tzdata2013i. OpManger 12400+ builds uses java.version: 1.8.0_181 with tzdata version: tzdata2018g. 


So updating our JRE tzdata to the latest version (tzdata2020a ) will help to update latest time changes to respective timezone and helps to fix the time difference issue


Solution


1. Stop OpManager service.

2. Extract the attached zip under OpManager\ directory and check if OpManager/jre/bin has tzupdater.jar and tzdata-latest.tar.gz files.

3. Open CommandPrompt in Administrator Privilege and run tzupdater.jar by executing below command from \OpManager\jre\bin directory


java -jar tzupdater.jar -l "file:///<OpManagerHome>/jre/bin/tzdata-latest.tar.gz" -v


Example:


C:/ManageEngine/OpManager/jre/bin> java -jar tzupdater.jar -l "file:///C:/ManageEngine/OpManager/jre/bin/tzdata-latest.tar.gz" -v


4. Once command successfully executed "Validation complete. JRE updated to version : tzdata2020a -rearguard" message will be shown.

5. Start OpManager and Check the timezone as well as time displayed in OpManager.