Tomcat's time problem when app inserts records in DB

Posted by xain on Server Fault See other posts from Server Fault or by xain
Published on 2010-04-28T17:31:33Z Indexed on 2010/04/28 17:48 UTC
Read the original article Hit count: 256

Filed under:
|

Hi, I have an apache 2 web server working with a tomcat 6 servlet container running on ununtu 9.1, integrated via mod_proxy.

I have the following time mismatch problem:

  • When apache log to its access-log file, the date/time is correct.
  • When a grails app running on tomcat inserts date-related information in the DB, the time is three hours ahead

Any tips on how to fix tomcat's datetime problem ?

Thanks

© Server Fault or respective owner

Related posts about tomcat

Related posts about time