[jboss-user] [JBoss Seam] - Re: Exception when using @EJB (or JNDI to inject a session b

antispart do-not-reply at jboss.com
Wed Nov 8 17:52:44 EST 2006


I forgot to mention. Everything works as expected if I either: A) Get rid of every @In annotation and keep the @EJB; or  B) get rid of the @EJB injected session bean and keep the @In annotated properties.

But, it doesn't work if I have both (and I need access to both - and i get the same error if I use a JNDI lookup to get the session bean instead of using @EJB).

Thanks.

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

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3984335



More information about the jboss-user mailing list