users@glassfish.java.net

Re: Failed to get Timer Info: Why it is deleted?

From: <glassfish_at_javadesktop.org>
Date: Thu, 12 Aug 2010 15:11:52 PDT

By default the timer is not verified in the database before the delivery. That's why Timer.getInfo() can throw NoSuchObjectLocalException (see http://download.oracle.com/javaee/5/api/javax/ejb/Timer.html#getInfo())

You can set up a System property "com.sun.ejb.timer.ReadDBBeforeTimeout" to true to change the default behavior.

That said, I do not know what could've happen in between timeouts... an application was undeployed, or another method canceled the timer...

Regards,
-marina
[Message sent by forum member 'mvatkina']

http://forums.java.net/jive/thread.jspa?messageID=480052