[jboss-user] [EJB 3.0] - Re: @EJB not working?

andydale do-not-reply at jboss.com
Fri Oct 6 06:18:42 EDT 2006

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.


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

More information about the jboss-user mailing list