Closed GoogleCodeExporter closed 8 years ago
The latest time displayed at the right of the graph is based on the time and
timezone of the server, and not of the client computer. This behavior seems ok
to me in order to display in the graphic the last values for the server.
What is the hour (and default timezone) of the server for example when it is
12:36 on the client computer? And what is really displayed in the main page of
the report after "monitoring taken at"?
You don't want that the time at the right of the graphic is based only on the
client computer time, or do you?
Original comment by evernat@free.fr
on 5 Nov 2010 at 8:25
bash-3.00$ date
Wed Nov 10 16:24:11 EST 2010
bash-3.00$ cd temp/javamelody
bash-3.00$ cat applications.properties
#urls des applications à monitorer
#Wed Nov 10 05:18:07 UTC 2010
My Solaris box is using AEST, but the javamelody use UTC.
Is it the problem?
Regards,
Bill
Original comment by OZbillw...@gmail.com
on 10 Nov 2010 at 5:26
I think I fixed the problem by myself.
In tomcat start/stop script cataline.sh, there is a line define the timezone.
CATALINA_OPTS=-Duser.timezone=Etc/UTC
After I remove it, javamelody shows the correct time.
bash-3.00$ cat applications.properties
#urls des applications à monitorer
#Thu Nov 11 13:01:09 EST 2010
So you can close the issue now.
But I recommend maybe you can add this in FAQ, if someone else meet the same
problem in the future.
Original comment by OZbillw...@gmail.com
on 11 Nov 2010 at 2:09
ok, thanks
(I have added a note in the online help for the next release)
Original comment by evernat@free.fr
on 11 Nov 2010 at 9:45
Original issue reported on code.google.com by
OZbillw...@gmail.com
on 5 Nov 2010 at 1:41Attachments: