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?
Yes, you can kill the java process (use ps -ef and then grep it) and then restart your appl server.
After analyzing the problem more into my machine I found that it was the OS timezone files which was corrupt. I reinstalled the timezone rpm and now with any change in timezone at OS level the log entry time, in server.log, also changes immediately without restarting the JBOSS.