This week's book giveaway is in the OCMJEA forum.
We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line!
See this thread for details.
The moose likes JBoss/WildFly and the fly likes Difference in time between server.log and system time Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "Difference in time between server.log and system time" Watch "Difference in time between server.log and system time" New topic
Author

Difference in time between server.log and system time

Avin Saraf
Greenhorn

Joined: Jan 05, 2012
Posts: 1
I observed that my system (opensuse linux) was in a timezone GMT. In server.log of JBOSS the entires showed me date with a time lag of 5hrs for any current activity. I restarted my jboss but still the logs entry showed me 5hrs time delay.I then changed my timezone to EST and then back to GMT and restarted the JBOSS. This time the entries got corrected to OS time. Can anyone tell me reason behind this? Can the solution can be achieved without restarting the JBOSS?
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5823
    
    7

Also posted at: http://community.jboss.org/message/645027#645027

I simple search for jboss linux timezone would have yielded this prior discussion:
http://www.coderanch.com/t/432154/JBoss/set-timezone-Jboss-server


JBoss In Action
 
jQuery in Action, 2nd edition
 
subject: Difference in time between server.log and system time