Tomcat & Eclipse: change time zone

I was trying to change timezone of my Tomcat instance started from Eclipse. This turned out to be quite easy. Just go to
Run > Run Configurations... and choose
Apache Tomcat > Your Tomcat Server and change to tab Arguments.
In the VM Arguments section add for example

-Duser.timezone=America/Montreal

Source: http://www.loria.fr/~szathmar/pmwiki/index.php?n=Liferay.20100204TomcatTimezone

VN:F [1.9.22_1171]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.22_1171]
Rating: 0 (from 0 votes)

Leave a Reply