File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Java in General and the fly likes Windows SBS 2008 and timezone (DST) problem in Europe/Berlin Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "Windows SBS 2008 and timezone (DST) problem in Europe/Berlin" Watch "Windows SBS 2008 and timezone (DST) problem in Europe/Berlin" New topic
Author

Windows SBS 2008 and timezone (DST) problem in Europe/Berlin

Michael Mueller
Greenhorn

Joined: May 17, 2010
Posts: 1
Hello,

I'm facing a timezone / daylight saving time problem:

The time given from the JVM has an offset of -1 hour. It seems it is the additional hour from the DST.

Operating system: Windows SBS 2008 Standard FE.
Timezone: (GMT+01:00) Amsterdam, Berlin, ...
Java Version: 1.6.0_20
Java HotSpot Client 16.3-b01

System time: 09:00
Java time: 08:00

I compared the system properties from this server with my laptop and recognized one difference:
laptop: user.timezone=Europe/Berlin
server: user.timezone=GMT+01:00

When setting the user timezone explicit with -Duser.timezone=Europe/Berlin the problem is gone. So it seems the problem is a broken mapping from system timezone to java timezone.

Any ideas how to fix that?

The workaround to set the timezone explicit is not possible because there are many java based applications on this machine and I can't change the java call for all.

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Windows SBS 2008 and timezone (DST) problem in Europe/Berlin