-
-
2. ejb injection
rop Mar 30, 2011 5:13 PM (in response to jaikiran)1 of 1 people found this helpfulThanks, Jaikiran, for the jira-link!
Yes, I replaced
@EJB(name="xxx")
with
@EJB(mappedName="xxx/local")
and that worked
/BR
-
3. ejb injection
rop Mar 30, 2011 5:36 PM (in response to jaikiran)I just noticed though, when deploying the web-app, I get a warning in the server-log :
23:23:56,531 WARN [org.jboss.deployment.MappedReferenceMetaDataResolverDeployer]
Unresolved references exist in JBossWebMetaData:
[#web-app:AnnotatedEJBReferenceMetaData
{name=........., mapped/jndi-name=xxx/local,resolved-jndi-name=null,beanInterface=......},
But the application still works.
Any ideas about that warning?
-
4. ejb injection
jaikiran Mar 31, 2011 2:59 AM (in response to rop)I think you can ignore that warning. It's probably logging that warning because the EJB which belongs to a different app isn't yet deployed when the processing is happening. I guess it's safe to ignore it.