]
David Lloyd updated WFLY-9288:
------------------------------
Git Pull Request:
EJB session auto-creation is not working
----------------------------------------
Key: WFLY-9288
URL:
https://issues.jboss.org/browse/WFLY-9288
Project: WildFly
Issue Type: Bug
Components: EJB
Reporter: David Lloyd
Assignee: David Lloyd
In {{org.jboss.as.ejb3.remote.AssociationImpl#receiveInvocationRequest}}, when the EJB
component is being looked up, two things need to happen which are not happening:
* The incoming locator should be examined; if it is a stateful locator and the physical
EJB is stateless, then {{Request#writeNotStateful()}} should be called and processing
should be aborted.
* If the incoming locator is a stateless locator and the physical EJB is stateful, then
{{component#createSessionRemote()}} should be called and the resultant session ID should
be set using {{Request#convertToStateful()}}.