Many times whenever I try to access some pages or click buttons "Could not find stateful bean: 3j011-udy7sm-hkt798pd-1-hkt7bobh-9"error hits on the screen for the JSF project.Do anybody know the cause for this errpr
javax.ejb.NoSuchEJBException: Could not find stateful bean: 3j011-udy7sm-hkt798pd-1-hkt7bobh-9
4.5k views Asked by shree18 At
1
Possibly you ran into a timeout, and the stateful session been has been removed by the container.
You can use
@StatefulTimeout
(EJB 3.1) to set this value. A quote from the Javadoc:To verify if that is really the case, add a method with
@PreDestroy
, so you can see if the SFSB has been removed.Example: