tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ben Stringer <...@burbong.com>
Subject Re: Wrong Time Shown in Catalina.out of Tomcat.
Date Tue, 17 Feb 2009 11:17:50 GMT
The Java runtime (JRE or JDK) maintains it's own timezone files. Most
likely there is a mismatch between the timezone for the OS and the Java
runtime (eg. daylight savings time).

Try installing the latest Java runtime and rechecking. For more info,
google for "Java Olson timezone".

Cheers, Ben

On Tue, 2009-02-17 at 02:25 -0800, kashif_tomcat wrote:
> Hi All,
> 
> These days i am facing a strange problem on Production Server. here is my
> issue.
> 
> We are running tomcat 6.0.18 in QA and Production environment. 
> 
> ON QA Server, When i start tomcat, its catalina shows the same time as of
> OS. 
> 
> [root@qatest ~]# date
> Tue Feb 17 10:04:53 GMT 2009
> [root@qatest ~]# tail -f /usr/local/apache-tomcat-6.0.18/logs/catalina.out
> 2009-02-17 10:04:38,333 INFO [com.............
> 
> 
> On Production Server. When i start Tomcat, its catalina shows time OS Time
> +1 hour.
> 
> [root@Production ~]# date
> Tue Feb 17 10:20:05 GMT 2009
> [root@Production ~]# /usr/local/apache-tomcat-6.0.18/logs/catalina.out 
> 2009-02-17 11:20:00,840 INFO [com.................
> 
> 
> i am unable to understand that why tomcat is not picking the time of OS to
> put in Catalina.out and from where it is getting that time??? 
> 
> can anyone tell me that from where Tomcat reads this time to put in
> Catalina.out. and what can be the reason of this wrong time in Catalina.out?
> 
> Thanks in advance. 
> 
> Kashif
> 
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message