geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matthias Berndt (JIRA)" <j...@apache.org>
Subject [jira] Created: (GERONIMO-4210) EJB Injection in JSF Managed Bean
Date Sun, 20 Jul 2008 11:36:31 GMT
EJB Injection in JSF Managed Bean
---------------------------------

                 Key: GERONIMO-4210
                 URL: https://issues.apache.org/jira/browse/GERONIMO-4210
             Project: Geronimo
          Issue Type: Bug
      Security Level: public (Regular issues)
    Affects Versions: 2.1.1
         Environment: Linux antares 2.6.25-2-686 #1 SMP Fri Jun 27 03:23:20 UTC 2008 i686
GNU/Linux
Debian
java version "1.6.0_06"
Java(TM) SE Runtime Environment (build 1.6.0_06-b02)
Java HotSpot(TM) Client VM (build 10.0-b22, mixed mode, sharing)
            Reporter: Matthias Berndt
            Priority: Critical
         Attachments: ltg3.tar.gz

I've got two managed beans in a JSF 1.2 webapp. Both beans are quite equal. I try to inject
a stateless session bean (EJB3) into the managed beans. 

@EJB(name = "java:comp/env/ejb/CredentialData")
private CredentialData credentialData;

In the first managed bean the EJB is injected correctly in CredentialDataController. The second
bean with exactly the same injection code does not get the EJB inCredentialTableBean. There
is no error but at runtime credentialData is null.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message