This content has been marked as final.
Show 2 replies
-
1. Re: How to fix? missing dependencies in ejb
jaikiran Aug 1, 2016 11:34 PM (in response to milspec)The error seems to indicate that the application needs a datasource (appDS) which seems to be missing. How have you created and deployed the datasource?
-
2. Re: How to fix? missing dependencies in ejb
milspec Aug 3, 2016 9:32 AM (in response to jaikiran)Hi Jakiran,
Thanks for lending a hand here; it helped greatly. I had missed. Jndi definition was the problem.
To recap, I had customized jndi-name in the data source
<datasource jndi-name="java:/app"
but left jndi-name in the default-bindings "as is":
<default-bindings
...
datasource="java:jboss/datasources/appDS
/>
This fixed it:
<default-bindings
...
datasource="java:/app"
/>
thanks again.