Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Java Beans > Problem with Ti...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 1 Topic 1327 of 1403
Post > Topic >>

Problem with TimerService

by kgorlo@[EMAIL PROTECTED] Oct 15, 2007 at 02:29 PM

Hello,

I'm using EJB 3.0 with Glassfish v2 and I have problem with
TimerService. I have method in my stateless bean which should be
called in 15 sec intervals (@[EMAIL PROTECTED]
 annotation). This method is
critical part of my application and it must work all the time.

Everything works great but in last 48 hours this Timer stopped two
times for about 4 minutes... After this break Timer tried to fix his
mistakes and called my critical method in 7 sec intervals (for some
time) :) And now everything is working OK again (15 sec intervals).

This is not the first time I see such behaviour.

No exception was thrown, method is not complicated and it is very fast
(from start to end it takes 0.5 sec max).

What is problem? Maybe it is normal behaviour? If yes, do you know any
solutions where "timer" is working without stops (Quartz?)?

Cheers,
Kamil
 




 1 Posts in Topic:
Problem with TimerService
kgorlo@[EMAIL PROTECTED]   2007-10-15 14:29:23 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Thu Dec 4 0:40:13 CST 2008.