Re: Failure creating a timer in ServerImplementation

2010-06-16 Thread uwi_u
It indeed was the reason. No GWT-Client-Code in ServerImplementation. Sounds sane ;-) On 15 Jun., 16:39, uwi_u uwe.chris...@gad.de wrote: A. I guess it's the following: I included com.google.gwt.user.client.Timer instead of java.util.Timer... could this be the reason? On 15 Jun., 16:25,

Re: Failure creating a timer in ServerImplementation

2010-06-16 Thread Ravi Sharma
Looking into your code i can see that you are trying to re invent the wheel, also user will always timeout even if he is using ur application continuously. Most of the servers have session management build in facility. So you can just set the time like 15 minutes or something and your user

Failure creating a timer in ServerImplementation

2010-06-15 Thread uwi_u
Hi! I'm writing an application which starts a new timer for each user logging in. I'm storing the timers in a HashMap for easy access. A KeepAlive from Client will get the timer out of the Hashmap and reset it. But when executing Timer t = new Timer(){}, the method crashes. Can somebody tell

Re: Failure creating a timer in ServerImplementation

2010-06-15 Thread uwi_u
A. I guess it's the following: I included com.google.gwt.user.client.Timer instead of java.util.Timer... could this be the reason? On 15 Jun., 16:25, uwi_u uwe.chris...@gad.de wrote: Hi! I'm writing an application which starts a new timer for each user logging in. I'm storing the