0 Replies Latest reply on Mar 14, 2008 3:18 AM by sachin mishra


    sachin mishra Newbie


      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