Change Tomcat timezone

From OpenKM Documentation
Revision as of 19:12, 1 December 2012 by Pavila (talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Tomcat works in GMT timezone if you want to change it you should add something like at $TOMCAT_HOME/bin/setenv.sh ( or setenv.bat if you're on Windows ):

CATALINA_OPTS="-Duser.timezone=Asia/Hong_Kong"

Take a look here for a timezone list