• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • Rob Spoor
  • Bear Bibeault
Saloon Keepers:
  • Jesse Silverman
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • Al Hobbs
  • salvin francis

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

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Saloon Keeper
Posts: 24560
168
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
You showed up just in time for the waffles! And this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic