Details
-
Bug
-
Resolution: Obsolete
-
Major
-
JBossAS-5.0.1.GA
-
None
-
None
Description
When I inject EJB 2.1 a home interface into a web application context listener it gives an exception: "javax.naming.NameNotFoundException: local not bound".
Injecting EJB 3.0 into web application works fine and injecting EJB 2.1 in later application lifecycle phases also works fine.
I will attach a test case (zipped project with source code and EAR).
My test case works fine in Glassfish and Geronimo and I think that according to JEE 5 specification it is correct.