Injecting a stateful without scope doesnt make sense since the caller handle the lifecycle of a stateful in such a case (@remove) Le 6 mars 2013 07:35, "Howard W. Smith, Jr." <[email protected]> a écrit :
> Seems as though i need to use CDI @ApplicationScoped, because i get > the following when using @Stateful. > > > Mar 06, 2013 1:12:48 AM > org.apache.openejb.core.stateful.SimplePassivater activate > INFO: Activation failed: file not found > > C:\apache-tomee-plus-1.6.0-SNAPSHOT\temp\d475e8ab6e37b72c=-5512631c=13d3e328e90=-8000 > javax.ejb.NoSuchEJBException: Not Found > at > org.apache.openejb.core.ivm.BaseEjbProxyHandler.convertException(BaseEjbProxyHandler.java:354) > at > org.apache.openejb.core.ivm.BaseEjbProxyHandler.invoke(BaseEjbProxyHandler.java:283) > at > mdb.ApplicationMessageBean$LocalBeanProxy.deleteEvents(mdb/ApplicationMessageBean.java) > at > pf.ApplicationScopeBean.sendDeleteEventsMsg(ApplicationScopeBean.java:345) >
