[prev in list] [next in list] [prev in thread] [next in thread] 

List:       jboss-user
Subject:    [JBoss-user] [EJB/JBoss] - Phantom timeout
From:       phillycheese <do-not-reply () jboss ! com>
Date:       2005-10-31 19:06:42
Message-ID: 29957245.1130785602610.JavaMail.jboss () colo-br-02 ! atl ! jboss ! com
[Download RAW message or body]

I'm having a strange problem where a ejbTimer() event is fired, even though no Timer \
was scheduled to go off at that time.

This only seems to occur in the following scenario.
I create a scheduled timer event to go off. At this point ejbTimeout() is called. \
WHILE processing is still going on  inside the ejbTimeout() method, I cancel the \
timer and recreate a new one with the same name but at a different time. Then the \
ejbTimeout() call is complete.  This is where the problem shows up. Immediately after \
ejbTimeout() is done, I get ANOTHER call to ejbTimeout(). This is my phantom \
ejbTimeout(). Where did it come from? Any guesses? It can't be the new one i created \
because i set that one for 24 hours ahead of time.

Thanx

Phil 



View the original post : \
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3904495#3904495

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3904495



-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.
Get Certified Today * Register for a JBoss Training Course
Free Certification Exam for All Training Attendees Through End of 2005
Visit http://www.jboss.com/services/certification for more information
_______________________________________________
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic