RuntimeException discards the EJB3 stateful session bean instance in JBoss EAP
Issue
-
If a call to a stateful session bean method returns a RuntimeException, which the client is catching and logging, a subsequent call to that method with the same session bean handle is throwing the exception:
javax.ejb.NoSuchEJBException: Could not find stateful bean: abcdefg-hijklm-nopqrstu-v-wxyz1234-567 (bean was marked as removed at org.jboss.ejb3.cache.simple.SimpleStatefulCache.get(SimpleStatefulCache.java:543) ...
Environment
- JBoss Enterprise Application Platform (EAP)
- 5
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
