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.
精彩评论