JBoss Community

Re: @EJB injection not working in JBoss 6.x

created by gunter zeilinger in JBoss Microcontainer - View the full discussion

Oops, I missed your comment at http://exitcondition.alrubinger.com/2008/12/20/doing-two-models-at-the-same-time/ :

 

Perhaps a missing detail that gave you problems as well is the no-fields by default.

Meaning one must change BeanAccessMode –> FIELDS or ALL.

 

Adding

<bean .. access-mode="ALL">

and it works as expected. Thanks!

Reply to this message by going to Community

Start a new discussion in JBoss Microcontainer at Community