2011-10-19

Tomcat: Set Timezone & Other JVM / CATALINA Parameters

If you want to change the timezone in which a Tomcat instance is running, you have to add


-Duser.timezone=GMT

to JVM_OPTS environment variable or more specific (and better for most cases), to Tomcat's CATALINA_OPTS environment variable. You can do it on the command line or via Tomcat's Configure dialog:


This way you can also add other parameters to Tomcat's startup script.