DST TimeZone is not showing the correct time even after setting below properties in be-engine.tra file:
"java.property.user.timezone=America/Mazatlan"
Or
"java.property.user.timezone=America/Chihuahua"
BE 6.1.2 is delivered with Java 11.0.11, the java version that updates the timezone savings is 11.0.18(1), which includes the TZ with Central time update. The links to the announcements are in the references(2).
Environment
All
Resolution
Below are the options to resolve the issue, please choose the best option that works in your case:
If you are deploying the BE app with Administrator then verify be-engine.tra file in app server and in Administrator server has the property:
java.property.user.timezone=true
Verify if you have tzupdater: <JAVA_HOME>/bin/java -jar tzupdater.jar -V, if you don't have it download the tzupdater to update the timezones of your JRE, you can do it from:
Verify you have sufficient privileges to modify the tibcojre64/lib folder and run the below command:
java -jar tzupdater.jar -f
This will patch the time zones to the recent ones. For more information about the command and tzupdater usage please check the reference(3). After updating the time zones, clean the project in Studio and rebuild the EAR.
Try setting in the JVM properties the next command to update the timezone:
-Duser.timezone=<timezonevalue>
Restart the engine.
Upgrade to minimum Open JRE 11.0.18 which has the timezone updates.
You can request TIBCO JRE supplement through support case, our INFRA team can help facilitate this release.
If none of the above works, you can copy the tibcojre64 directory from BE 6.2.2HF3 to replace the one from 6.1.2HF2. This step would not be needed in general and earlier recommendations should resolve the TZ issue, but if you choose to go with this approach please proceed only after thorough testing in a non-prod environment.
Issue/Introduction
This article shows how to fix the timezones from java versions delivered with BE 6.1.2 and before as these are not update with latest day-light savings.