20021202 Monday December 02, 2002

Change Tomcat's Timezone Did you know that you can change Tomcat's timezone? I didn't, but I learned how to today from Dave. Just create an environment variable, CATALINA_OPTS and add a value similar to the following:

CATALINA_OPTS=-Duser.timezone=America/Denver

BTW, the values in CATALINA_OPTS should be separated by spaces. Here is a list of possible timezones. Posted in Roller at Dec 02 2002, 05:21:24 PM MST 3 Comments

Comments:

You can also specify the CATALINA_OPTS in the $TOMCAT_HOME/bin/catalina.sh or %TOMCAT_HOME%\bin\catalina.bat file as well.

Posted by dsuspense on December 03, 2002 at 01:47 AM MST #

The Link to the list of timezones does not work. A list of Java timezones can also be found at http://www.thescripts.com/forum/thread15954.html.

Posted by phillip23 on October 14, 2007 at 04:28 AM MDT #

The Link to the list of timezones does not work. A list of Java timezones can also be found at http://www.thescripts.com/forum/thread15954.html.

Posted by phillip23 on October 14, 2007 at 04:29 AM MDT #

Post a Comment:
  • HTML Syntax: Allowed
Click me to subscribe
Matt Raible is a Web Architect who enjoys developing applications with open source technologies. Contact me for rates.
« December 2008
SunMonTueWedThuFriSat
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
   
       
Today

Recent Entries

Tag Cloud