开发者

EJB Timer Wildly Wrong

开发者 https://www.devze.com 2023-02-11 12:30 出处:网络
I am using an EJB timer with Glassfish.The code works fine in many installations, but on one, the timed results are very much off.The timer is created like this:

I am using an EJB timer with Glassfish. The code works fine in many installations, but on one, the timed results are very much off. The timer is created like this:

TimerService ts = sc.getTimerService();
Timer timer = ts.createTimer(20000, "myTimer");
开发者_如何学Go

This works correctly on many systems. But we have one single Windows installation (a specific computer) however where the timer does not fire for 5, 6, 7 even as long as ten minutes. The times vary quite a bit. The computer is not busy as far as we can tell, it show single digit CPU usage percentages at all times.

Any ideas? Thank you.

0

精彩评论

暂无评论...
验证码 换一张
取 消