This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Linux / UNIX and the fly likes Java Runtime Environment (JRE) - JDK 1.5.0_15 unable to determine DST changes Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Engineering » Linux / UNIX
Bookmark "Java Runtime Environment (JRE) - JDK 1.5.0_15 unable to determine DST changes" Watch "Java Runtime Environment (JRE) - JDK 1.5.0_15 unable to determine DST changes" New topic
Author

Java Runtime Environment (JRE) - JDK 1.5.0_15 unable to determine DST changes

siddharth wanjare
Greenhorn

Joined: Jun 22, 2008
Posts: 1
Hi,

We are having a strange problem with one of a dev-env boxes that runs on following version of Linux and JRE. The problem is JRE is unable to determine the DST changes as per the set rules, but the system time does changes the moment DST comes into effect and reset when DST ends. We tried to upgrade the DST rules using tzupdater but that too didnt work.

Linux 2.6.9-22.ELsmp #1 SMP Sat Oct 8 21:32:36 BST 2005 x86_64 x86_64 x86_64 GNU/LInux

java version "1.5.0_15"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_15-b04)
Java HotSpot(TM) 64-Bit Server VM (build 1.5.0_15-b04, mixed mode)


Hardware details are as follows

Systemboard: Super Micro X6DVL-EG2
Dual Intel Xeon 3Ghz single core
CPU family 15, model 4, stepping 10

Memory: DDR2 ECC/REG 4GB

Hard Drive:
Seagate 250GB(mirror) - 3ware 8006-2LP raid controller

OS: centos 4.1 Kernel: 2.6.9-22.ELsmp

Any help is this regards would be great.

Thanks,
Siddharth
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 15951
    
  19

On Linux, I've found that life is much more pleasant when you set the server's hardware clock to UTC timezone instead of local time.

I don't know if it's still true, but at one time, the OS wouldn't properly switch when using local time zone in hardware. Probably because they assumed that you'd update the hardware clock.


Customer surveys are for companies who didn't pay proper attention to begin with.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Java Runtime Environment (JRE) - JDK 1.5.0_15 unable to determine DST changes
 
Similar Threads
JMS application is slow
Jarsigner Error
knb page# 793 doubt.
java -version
Resources sorting in CLASSPATH are not same in different Linux kernels