[jboss-jira] [JBoss JIRA] Created: (JBAS-9405) could not find stateful bean - error
Devinder Singh (JIRA)
jira-events at lists.jboss.org
Tue Jun 14 14:44:29 EDT 2011
could not find stateful bean - error
------------------------------------
Key: JBAS-9405
URL: https://issues.jboss.org/browse/JBAS-9405
Project: Legacy JBoss Application Server 6
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: EJB2
Environment: Red hat Linux 5.5
Reporter: Devinder Singh
Assignee: Alexey Loubyansky
If I leave my browser idle for some time (around 3 mins), I get "Could not find stateful bean:" error.
javax.ejb.NoSuchEJBException: Could not find stateful bean: 3j001-jr37lq-gorq3ofr-1-gorq6dxt-da
I grepped by bean id in logs and found below. Not sure but seems like bean is removed before it's attempted to read again.
Is there any configuration I can do to avoid this error.
[root at localhost log]# grep 3j001-jr37lq-gorq3ofr-1-gorq6dxt-da *
server.log:2011-06-10 18:56:25,652 DEBUG [org.jboss.ejb3.cache.simple.StatefulSessionFilePersistenceManager] (SFSB Passivation Thread - jboss.j2ee:ear=foliage.ear,jar=foliageEJB.jar,name=LoginSessionBean,service=EJB3) Attempting to passivate; id=3j001-jr37lq-gorq3ofr-1-gorq6dxt-da
server.log:2011-06-10 18:56:25,660 DEBUG [org.jboss.ejb3.cache.simple.StatefulSessionFilePersistenceManager] (SFSB Passivation Thread - jboss.j2ee:ear=foliage.ear,jar=foliageEJB.jar,name=LoginSessionBean,service=EJB3) Saving session state to: /home/opt/jboss-6.0.0.Final/server/default/tmp/sessions/LoginSessionBean-gorq5pu2-d7/3j001-jr37lq-gorq3ofr-1-gorq6dxt-da.ser
server.log:2011-06-10 18:56:27,206 DEBUG [org.jboss.ejb3.cache.simple.StatefulSessionFilePersistenceManager] (SFSB Passivation Thread - jboss.j2ee:ear=foliage.ear,jar=foliageEJB.jar,name=LoginSessionBean,service=EJB3) Passivation complete; id=3j001-jr37lq-gorq3ofr-1-gorq6dxt-da
server.log:2011-06-10 18:57:16,744 DEBUG [org.jboss.ejb3.cache.simple.StatefulSessionFilePersistenceManager] (http-127.0.0.1-80-1) Attempting to activate; id=3j001-jr37lq-gorq3ofr-1-gorq6dxt-da
server.log:2011-06-10 18:57:16,744 DEBUG [org.jboss.ejb3.cache.simple.StatefulSessionFilePersistenceManager] (http-127.0.0.1-80-1) Reading session state from: /home/opt/jboss-6.0.0.Final/server/default/tmp/sessions/LoginSessionBean-gorq5pu2-d7/3j001-jr37lq-gorq3ofr-1-gorq6dxt-da.ser
server.log:2011-06-10 18:57:16,763 DEBUG [org.jboss.ejb3.cache.simple.StatefulSessionFilePersistenceManager] (http-127.0.0.1-80-1) Removing passivated state file: /home/opt/jboss-6.0.0.Final/server/default/tmp/sessions/LoginSessionBean-gorq5pu2-d7/3j001-jr37lq-gorq3ofr-1-gorq6dxt-da.ser
server.log:2011-06-10 18:57:16,979 DEBUG [org.jboss.ejb3.cache.simple.StatefulSessionFilePersistenceManager] (http-127.0.0.1-80-1) Attempting to activate; id=3j001-jr37lq-gorq3ofr-1-gorq6dxt-da
server.log:2011-06-10 18:57:16,985 DEBUG [org.jboss.ejb3.cache.simple.StatefulSessionFilePersistenceManager] (http-127.0.0.1-80-1) Attempting to activate; id=3j001-jr37lq-gorq3ofr-1-gorq6dxt-da
server.log:2011-06-10 18:57:16,987 DEBUG [org.jboss.ejb3.cache.simple.StatefulSessionFilePersistenceManager] (http-127.0.0.1-80-1) Attempting to activate; id=3j001-jr37lq-gorq3ofr-1-gorq6dxt-da
server.log:2011-06-10 18:57:16,989 DEBUG [org.jboss.ejb3.cache.simple.StatefulSessionFilePersistenceManager] (http-127.0.0.1-80-1) Attempting to activate; id=3j001-jr37lq-gorq3ofr-1-gorq6dxt-da
server.log:2011-06-10 18:57:27,893 DEBUG [org.jboss.ejb3.cache.simple.StatefulSessionFilePersistenceManager] (http-127.0.0.1-80-1) Attempting to activate; id=3j001-jr37lq-gorq3ofr-1-gorq6dxt-da
server.log:2011-06-10 18:57:27,894 SEVERE [javax.enterprise.resource.webcontainer.jsf.application] (http-127.0.0.1-80-1) Error Rendering View[/index.xhtml]: javax.el.ELException: /sections/leftSideBar.xhtml @14,46 rendered="#{! loginbacking.loggedIn}": javax.ejb.NoSuchEJBException: Could not find stateful bean: 3j001-jr37lq-gorq3ofr-1-gorq6dxt-da
server.log:Caused by: javax.ejb.NoSuchEJBException: Could not find stateful bean: 3j001-jr37lq-gorq3ofr-1-gorq6dxt-da
server.log:2011-06-10 18:57:27,998 DEBUG [org.jboss.ejb3.cache.simple.StatefulSessionFilePersistenceManager] (http-127.0.0.1-80-1) Attempting to activate; id=3j001-jr37lq-gorq3ofr-1-gorq6dxt-da
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list