Genesys CTI User Forum

Genesys CTI User Forum => Genesys CTI Technical Discussion => Topic started by: CASANOVA on February 12, 2019, 05:22:28 AM

Title: Time zone difference in Tomcat servers
Post by: CASANOVA on February 12, 2019, 05:22:28 AM
Hi,

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.

https://docs.openkm.com/kcenter/view/okm-6.4/configuring-tomcat-timezone.html

can anyone help me on this please.

Thanks
Title: Re: Time zone difference in Tomcat servers
Post by: cavagnaro on February 12, 2019, 11:54:37 AM
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?


https://stackoverflow.com/questions/32771124/how-to-pass-environment-variable-to-tomcat-running-as-windows-service


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