Hope someone can help me out with this problem.
I have datasource definitions in the *-ds.xml which is deployed in the default/deploy folder of Jboss.
Now i want to use these datasource in my web app, so i have a jboss-web.xml file which looks as follows:
I want to use ResourceLink in the in the META-INF/context.xml to define the link to the jndi as follows:
When i startup the application. i get the Exception saying the deployment scanner was looking for the res-ref in the web.xml.
If i put the <resource-ref> ... in web.xml it works.
But is there a way to make it Read the context.xml file instead of complaining