Hello,
We are getting the following error when deploying an ear file.
Caused by: java.lang.IllegalArgumentException: Failed to determine resource binding value for BindingDescription{bindingName='java:comp/env/com.enfusion.fds.common.BaseSession/ds', bindingType='javax.sql.DataSource', referenceSourceDescription=org.jboss.as.ee.component.LazyBindingSourceDescription@502a3135}
at org.jboss.as.ee.component.LazyBindingSourceDescription.getResourceValue(LazyBindingSourceDescription.java:50)
at org.jboss.as.ee.component.ComponentInstallProcessor.addJndiBinding(ComponentInstallProcessor.java:253)
at org.jboss.as.ee.component.ComponentInstallProcessor.deployComponent(ComponentInstallProcessor.java:187)
at org.jboss.as.ee.component.ComponentInstallProcessor.deploy(ComponentInstallProcessor.java:67)
... 5 more
Here is what we did:
The base class of the EJB has ds declared as:
@Resource(mappedName="java:/FinancialDataServerDS")
protected DataSource ds;
The ear file is deployed under "standalone/deployments".
This works in 4, and 61. Thanks in advance of any pointers.
Tarek