Deployment failing after applying Update 2 or later to EAP 7.4 with :
No qualifying bean of type 'javax.ejb.SessionContext' available: expected at least 1 bean which qualifies as autowire candidate.
The same ear works fine in jboss EAP 7.4 Update 1 and starts failing if we upgrade to 7.4 Update 2. Also fails with 7.4 Update 6
We have checked the revision history for jboss 7.4 Update 2 and found that the commit https://github.com/wildfly/wildfly/commit/178b026d6ebdcb8cef757c045492dbd81f70af33 made for WFLY-11566 could be the reason for this failure.
We tried replacing wildfly-ee-7.4.6.GA-redhat-00002.jar from modules overlay to wildfly-ee-7.4.0.GA-redhat-00005.jar and then deployment works fine.
Let us know if this is the bug in 7.4 Update 2 onwards or are we missing something?
- is caused by
-
JBEAP-22303 [GSS](7.4.z) WFLY-11566 - Follow-up fixes for WFLY-11566
- Closed