[jboss-jira] [JBoss JIRA] Created: (JBAS-6813) EJB 2.1 is not correctly injected into wen application context listener

Micha? Piotrowski (JIRA) jira-events at lists.jboss.org
Tue Apr 21 07:30:22 EDT 2009


EJB 2.1 is not correctly injected into wen application context listener
-----------------------------------------------------------------------

                 Key: JBAS-6813
                 URL: https://jira.jboss.org/jira/browse/JBAS-6813
             Project: JBoss Application Server
          Issue Type: Bug
      Security Level: Public (Everyone can see)
    Affects Versions: JBossAS-5.0.1.GA
         Environment: Linux, Fedora 10, Sun JDK 1.6.0_13, JBoss 5.01.GA jdk6 binary distribution
            Reporter: Micha? Piotrowski
         Attachments: EJB2InjectionTestCase.zip

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.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list