Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Concurrent timers are not getting invoked for same timer info

Status
Not open for further replies.

NeerajKumarGupta

Programmer
Dec 31, 2008
1
0
0
GB
Problem Scope: Concurrent timers are not getting invoked for same timer info (Serializable object containing the details of timer).

Details : I am implementing EJB timer 2.1 and when ejbTimeOut execution of one timer exceeds the interval time, next timeout doesn’t happens till the execution of first ejbTimeOut completes . Ideally the timers should behave in the manner that on every interval the ejbTimeOut should occur no matter the previous timeout is completed or not

for example : consider there is timer T whose timeout occurs every minute, and on every timeout it calls process P, so on every minute ideally container should give call to process P irrespective of the previous status of P (call is complete or not). In our case next call to process P is not happening after timeout also since it is waiting for previous call to P to get completed
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top