Skip to Main Content

New to Java

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!

OS and JVM time difference

807598Sep 1 2006 — edited Sep 14 2006
Hi,

I have a bit of problem with my production server today. Just happened to notice that there is 42secs difference between my OS time (running on HP-UX) and JVM time (represented by my apps-Tomcat+JBoss).

A simple comparison using Java code in JSP and Unix's date command, shows there is 42 seconds gap. The JVM time is behind the server time.

This has caused issues with some of my system interfaces relying on the timestamps for comparison.

Anyone has similar experience and know the resolution?
Pls share your thoughts or experience.

Rgds,
Richard
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 12 2006
Added on Sep 1 2006
27 comments
1,415 views