-
1. Re: Issue with message delay
timfox Jun 28, 2010 4:33 AM (in response to joydeep.sarkar)Check the clock on your Linux box is synchronixed with your server
-
2. Re: Issue with message delay
joydeep.sarkar Jun 28, 2010 4:46 AM (in response to timfox)Hi Tim,
The Linux box itself is running the JBoss Server.
Regards,
Joydeep
-
3. Re: Issue with message delay
ataylor Jun 28, 2010 5:33 AM (in response to joydeep.sarkar)Is your client and server on the same box, if not, check there clocks are synced
-
4. Re: Issue with message delay
joydeep.sarkar Jun 28, 2010 8:46 AM (in response to ataylor)Hi,
Thanks a ton for the suggestion. When I put the machine times in sync it worked perfectly.
But since there would be many users accessing the servers from accross different time zones, if I still use "System.currentTimeMillis() + 60000", it would calculate the time based on the client machine. Is there a work around for this problem?
Regards,
Joydeep
-
5. Re: Issue with message delay
ataylor Jun 28, 2010 9:44 AM (in response to joydeep.sarkar)you would need to lookup the time from the server somehow, should be pretty simple to write a service todo this.
-
6. Re: Issue with message delay
joydeep.sarkar Jun 28, 2010 10:04 AM (in response to ataylor)Hello Andy,
Thanks a lot for the suggestion. It was of great help.
Regards,
Joydeep
-
7. Re: Issue with message delay
timfox Jun 28, 2010 10:22 AM (in response to joydeep.sarkar)ntp already does this