0

Where should I specify Tomcat timezone (-Duser.timezone=America/Los_Angeles) on startup? Should it be CATALINA_OPTS or JAVA_OPTS?

I am using Tomcat 8.5.37 on Linux.

Thanks.

Md.
  • 496
  • 4
  • 11

1 Answers1

0

In the setenv.sh which is located at CATALINA_HOME/bin/. Set the CATALINA_OPTS

Ahzam
  • 36
  • 3
  • Thanks. Can you clarify? Why not to use JAVA_OPTS? – Md. Aug 01 '19 at 01:23
  • 1
    Please refer to the link. You will get an understanding. https://stackoverflow.com/questions/11222365/catalina-opts-vs-java-opts-what-is-the-difference – Ahzam Aug 01 '19 at 04:24