users@glassfish.java.net

Failed to get Timer Info: Why it is deleted?

From: <glassfish_at_javadesktop.org>
Date: Thu, 12 Aug 2010 05:03:39 PDT

Hi,

I'm using GlassFish 2.1.1. And I got this exception the first time:

   --- SNIP ---
[#|2010-08-09T13:38:48.154+0000|INFO|sun-appserver2.1|javax.enterprise.system.container.ejb.mdb|_ThreadID=600;_ThreadName=p: thread-pool-1; w: 476;|javax.ejb.NoSuchObjectLocalException
javax.ejb.NoSuchObjectLocalException: timer no longer exists; nested exception is: javax.ejb.ObjectNotFoundException: JDO74011: Bean 'TimerBean' method findByPrimaryKey: cannot find bean with key 34000@@1280557605246@@server@@my-domain
javax.ejb.ObjectNotFoundException: JDO74011: Bean 'TimerBean' method findByPrimaryKey: cannot find bean with key 34000@@1280557605246@@server@@my-domain
        at com.sun.jdo.spi.persistence.support.ejb.cmp.CMPBeanHelper.handleJDOObjectNotFoundException(CMPBeanHelper.java:360)
        at com.sun.ejb.containers.TimerBean_2100919770_ConcreteImpl.ejbFindByPrimaryKey(TimerBean_2100919770_ConcreteImpl.java:2130)
...
        at $Proxy20.findByPrimaryKey(Unknown Source)
        at com.sun.ejb.containers.EJBTimerService.findTimer(EJBTimerService.java:1180)
        at com.sun.ejb.containers.EJBTimerService.getInfo(EJBTimerService.java:1249)
        at com.sun.ejb.containers.TimerWrapper.getInfo(TimerWrapper.java:137)
        at mypackage.MyBean.timerTriggered(MyBean.java:117)
        at sun.reflect.GeneratedMethodAccessor940.invoke(Unknown Source)
...
javax.ejb.NoSuchObjectLocalException: timer no longer exists; nested exception is: javax.ejb.ObjectNotFoundException: JDO74011: Bean 'TimerBean' method findByPrimaryKey: cannot find bean with key 34000@@1280557605246@@server@@my-domain
        at com.sun.ejb.containers.TimerWrapper.getInfo(TimerWrapper.java:139)
        at mypackage.MyBean.timerTriggered(MyBean.java:117)
        at sun.reflect.GeneratedMethodAccessor940.invoke(Unknown Source)
...
|#]
   --- SNAP ---

There is no task, that deletes any timer, but it should be visible at all, because GlassFish should use transactions, or not?

How can this happen? And how can I prevent this? Or is this an issue?

With regards
[Message sent by forum member 'hegalor']

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