Injected EJB is not behaving as an EJB when invoked
Issue
- We deploy a
@Statefulor@StatelessEJB class and@Injectit into another class. We are able to call that injected object, but we notice some problem behaviors suggesting the injected object is not properly behaving as expected per our EJB annotations and config. For example, no bean instance is being fetched from the EJB pool upon invocation and we can see concurrency issues as the same instance of the class is being shared and used across multiple threads at once.
Environment
- JBoss Enterprise Application Platform (EAP)
- 7.x
- 8.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.