Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
2.1.1
-
None
-
Security Level: public (Regular issues)
-
None
-
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)
Description
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.