users@glassfish.java.net

Application time behind on server time???

From: <glassfish_at_javadesktop.org>
Date: Fri, 05 Jun 2009 01:41:05 PDT

I have a strange problem on a glassfish server; the time in an deployed application is behind on the server time. Just off with a few seconds at first, but is slowly becomes a major problem (few hours off!!!)

Here an example log;

[#|2009-06-05T10:15:47.494+0200|INFO|sun-appserver9.1|javax.enterprise.system.container.web|_ThreadID=19;_ThreadName=httpSSLWorkerThread-80-0;|PWC1412: WebModule[] ServletContext.log():

Processing PdfsController#index (for 172.50.0.1 at 2009-06-05 10:15:10) [GET]

and

[#|2009-06-05T10:17:46.115+0200|INFO|sun-appserver9.1|javax.enterprise.system.container.web|_ThreadID=19;_ThreadName=httpSSLWorkerThread-80-0;|PWC1412: WebModule[] ServletContext.log():

Processing PdfsController#index (for 172.50.0.5 at 2009-06-05 10:16:48) [GET]

keeps getting more:
[#|2009-06-05T10:26:47.683+0200|INFO|sun-appserver9.1|javax.enterprise.system.container.web|_ThreadID=18;_ThreadName=httpSSLWorkerThread-80-1;|PWC1412: WebModule[] ServletContext.log():

Processing SessionsController#new (for 172.16.0.14 at 2009-06-05 10:24:06) [GET]

A restart of the server didn't help....
Is there a way to keep the application time in sync with the GlassFish time?
[Message sent by forum member 'davidakachaos' (davidakachaos)]

http://forums.java.net/jive/thread.jspa?messageID=349260