tomcat - Java 1.7 change in daylight savings is not recognized -
java: ver 1.7 update 71 db: mysql ver 5.6.x
we having multiple applications running accessing same db. 2 applications running on tomcat 7 (ver 7.0.52) , 2 applications using netty 3.10. servers on est (us) time zone.
web application tech stack: spring 3.1.x struts mvc 2.3.14 hibernate 3.3.x
netty application tech stack: netty 3.10 hibernate 3.3.x
we using many of apache log4j, commons libraries across apps.
during recent change in daylight savings time, apps running under tomcat able right time after dst. linux , db showing correct time, per timezone dst. however, ones running on netty continued run 1 hour behind. not dates set rows inserted apps, date values including time stamp in log files showing incorrect time.
once restarted, started showing right time.
the java using time zone details of underlying os. no specific settings related timezone have been given part of startup.
i thought problem resolved during jdk 1.5/1.6 , automatically handled in 1.7.
is there patch needs applied java 1.7? there explicitly needs done in application recognize change in dst? how tomcat taking care of this?
Comments
Post a Comment