TimeZone Aware Tomcat!

Run Tomcat with timezone of your choice

You can set the timezone in which you want to run your tomcat. This helps in case tomcat hostimg multiple timezone applications, thus required a need to set a universal time zone so that reports , database operations are all performed in single time zone.

  • Create a setenv.bat file & paste the following in Same
set JAVA_OPTS=-Duser.timezone=UTC
  • Copy the file in /bin

  • restart tomcat.

You May Also Enjoy

Define JNDI Name in Tomcat

TimeZone Aware Tomcat!

Secure some web pages

TimeZone Aware Tomcat!

Web Application with Embedded Tomcat… Run as Jar

TimeZone Aware Tomcat!

Enable & Run Tomcat as HTTPS

TimeZone Aware Tomcat!


Dialogue & Discussion