Author Topic: Time zone difference in Tomcat servers  (Read 253 times)


  • Newbie
  • *
  • Posts: 39
  • Karma: 0
Time zone difference in Tomcat servers
« on: February 12, 2019, 02:22:28 PM »

i have 2 Apache tomcat servers for GSS with 2 url's.

Reports from Server 1 gives the proper time where as Reports from server 2 gives me time in GMT.

i have gone through few articles from internet, it says to change the setenv.bat where the time zone is configured. But same batch file is not available in my both tomcat servers. I have referred the below link.

can anyone help me on this please.


Offline cavagnaro

  • Administrator
  • Hero Member
  • *****
  • Posts: 6981
  • Karma: 56331
Re: Time zone difference in Tomcat servers
« Reply #1 on: February 12, 2019, 08:54:37 PM »
If you don't have a bat, Tomcat will seek enviroment variables at the OS level too. So just declare them and should work.
U using Linux or Windows?

Have a read on how Tomcat work with those variables and then you will need to adjust to your OS and configurations.