Bind your ds under say SportsbookDS and read some docs on how /comp/env works. Trying to bind it yourself under comp/env in the XADataSourceLoader will ensure ejbs will never ever find it.
Could you please give me a reference to the documentation you mentioned.
Should I place appropriate <resource-ref> to the jboss.xml? For example, map "java:comp/env/jdbc/SportsbookDB" to "java:SportsbookDB"?
I cannot find anything else about JNDI bindings :(
And also could you give an URL to the "/comp/env docs" for Jboss 2.4?
I am looking with google.com, maybe it is a wrong place?