0 Replies Latest reply on Oct 9, 2009 2:16 PM by owen ou

    problem in referencing datasource in context.xml

    owen ou Newbie

      Hello, when i try to access datasource in datasource realm from context.xml. I got the datasource name not bound error.

      For example, in context.xml under WEB-INF, I have

      myDS is the datasource defined in *-ds.xml file in Jboss deployment folder.

      My question is, what value I should use for dataSourceName? I tried
      "java:/comp/env/myDS", "java:comp/env/defaultDS", "java:myDS". None of them are working.

      Plz help
      thank you