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 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 Murach's Java Servlets and JSP this week in the Servlets 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: 5812
    
    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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Difference in time between server.log and system time
 
Similar Threads
How to get System Timezone?
To extract the timezone from the system
GMT
java.util.date time is different than the system time
stop server.log getting clearedoff on restarts