anonymous wrote : at
org.jboss.injection.EJBRemoteHandler.ejbRefDependency(EJBRemoteHandler.java:146)
| at
org.jboss.injection.EJBRemoteHandler.handleFieldAnnotations(EJBRemoteHandler.java:393)
| at
org.jboss.injection.InjectionUtil.processFieldAnnotations(InjectionUtil.java:160)
|
I guess you are using @EJB injection inside a bean which belongs to a different jar. As a
workaround, specify the mappedName attribute which points to the JNDI name of the other
bean:
// assuming DataSourceFinderBean is the jndi name of the remote interface of the
| // bean
| @EJB (mappedName="DataSourceFinderBean")
| private DataSourceFinderRemote bean;
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4230553#...
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&a...