• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
siddharth wanjare
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 18098
50
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic