I also cannot get @EJB injection to work, using JBoss.4.0.4.GA with whatever 
version of EJB3 that comes bundled with it.

I have experimented with in a few ways such as, specifiing a @LocalBinding, 
@EJB(mappedname=) and so on, but i the injection always results in null :-(.  
The current setup i have is that i am trying to look up the EJB in an MBean 
packaged within the same .ear file, could deployment order (ie .sar before 
.jar) possibly be causing the problem ? i have verified that it is bound in two 
ways, InitialContext.lookup() works and in the JNDI view it is bound,

Any help is appreciated.

Andy

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3976532#3976532

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3976532
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to