Ir al contenido
Otras versiones

Cargando…

Configuring Tomcat timezone

Esta página aún no está disponible en tu idioma.

Tomcat works in the GMT time zone. If you want to change it, you should add something like the following to $TOMCAT_HOME/bin/setenv.sh (or $TOMCAT_HOME/bin/setenv.bat if you’re on Windows):  

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

More information about the timezone list.