Can I change the JVM Time Zone?

Issue

  • For business reasons the JVM's Time Zone was set to something other than UTC.
    • Now we are seeing odd behavior across the bundle:
      • A scheduled daily event is off by a day
      • Web Content Articles are showing the incorrect time and/or date
    • Within the logs we see the below
      • The default JVM time zone "EST" is not UTC or GMT. Please review the JVM property "user.timezone".

Environment

  • Liferay 6.2
  • Liferay DXP 7.0+

Resolution

  • The JVM being used should be set to UTC and not changed.

Additional Information

Was this article helpful?
0 out of 1 found this helpful