[jboss-user] [EJB3] - Re: Random NameNotFoundException in jboss 6.1-SNAPSHOT

jaikiran pai do-not-reply at jboss.com
Wed Jun 1 03:51:10 EDT 2011


jaikiran pai [http://community.jboss.org/people/jaikiran] created the discussion

"Re: Random NameNotFoundException in jboss 6.1-SNAPSHOT"

To view the discussion, visit: http://community.jboss.org/message/608057#608057

--------------------------------------------------------------
I haven't read your previous couple of posts and have just briefly scanned your latest posts. You seem to be using @org.jboss.ejb3.annotation.IgnoreDependency with @EJB annotations. Do not use this in JBoss AS6. Using that can lead to issues like the one you are noticing. Using that instruction causes the container to not setup the dependencies correctly. Remove the use of that annotation.

P.S: I think in 6.1.0, I'll just change the JBoss EJB3 code to just ignore the use of @IgnoreDependency for @EJB injection. That way, it won't affect users anymore.
--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/608057#608057]

Start a new discussion in EJB3 at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2029]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20110601/f113c7cf/attachment.html 


More information about the jboss-user mailing list