Skip to Main Content

Java SE (Java Platform, Standard Edition)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Win2008 + DST + NTP = serious problem

843798May 12 2010 — edited May 16 2010
Hello,

sorry If I writing to wrong topic, but I am not really familiar with this.

I work as a senior technical consultant for a company that runs own software on Java. Problem is following:

Customer has windows server 2008 and time is synchronized via NTP. For my zone, there was not daylight saving option in Win2003. But now there is, but it seems that Java is not recognizing, customer has turned off this option and all time is synchronized by NTP. Result is that Java add one more hour in system, so all windows has eg. 10:00 but only Java thinks it is 11:00

I discovered, that problem is actually in combination of timezone (jerusalem - UTC +2) mixed with server 2008 and NTP and daylight saving off. If You take off any of this ingredient in this cocktail, it works fine.

But actually, I cant do anything. If I turn on daylight saving, windows receive packet from NTP and count one hour more (but NTP is correct time, only without DST) = not only java, but whole system has one hour in advance.

NTP must be used and timezone too as well as win2008

PLEASE, is there any possibility to set up Java to synchronize against NTP or let's say, some way how to remove this adding of 1 hr?

Thank You very much

Filip

Edited by: Wolf_Net on May 12, 2010 9:26 AM
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 13 2010
Added on May 12 2010
5 comments
320 views