https://docs.jelastic.com/timezone-management/



To update tzupdater use the attached version. Copy over to linux system and run:


java -jar tzupdater.jar -l -l https://www.iana.org/time-zones/repository/tzdata-latest.tar.gz 



Now update timezone   -Duser.timezone=Europe/London


3. In order to change the actual timezone for a particular server, perform the following:

  • for TomcatTomEEPayaraSpring Boot and Jetty
    Switch to the variables.conf configuration file and add the -Duser.timezone variable with the required zone as a value, for example:
    -Duser.timezone=US/Pacific
Note: 

Depending on a particular application server used, the location of this file may vary:

  • Tomcat 7, 8, 9, TomEE - /opt/tomcat/conf/variables.conf
  • Jetty 9 - /opt/jetty/etc/variables.conf
  • Payara 4, 5 - /opt/payara/glassfish/domains/domain1/config/variables.conf
  • Spring Boot 1, 2 - /opt/shared/conf/variables.conf

variables.conf timezone variable