Jack Stevens [
http://community.jboss.org/people/samalexander10] created the discussion
"Re: javax.naming.NameNotFoundException: jdbc not bound"
To view the discussion, visit:
http://community.jboss.org/message/608223#608223
--------------------------------------------------------------
Hi Peter,
For this:
jboss-web.xml:
<jboss-web>
<resource-ref>
<res-ref-name>jdbc/TheDS</res-ref-name>
<jndi-name>java:jdbc/SomeDS</jndi-name>
</resource-ref>
</jboss-web>
why wouldn't it be:
jboss-web.xml:
<jboss-web>
<resource-ref>
<res-ref-name>java:comp/env/jdbc/TheDS</res-ref-name>
<jndi-name>java:jdbc/SomeDS</jndi-name>
</resource-ref>
</jboss-web>
How does JBoss know to include java:comp/env/ in the <res-ref-name> if we just put
<res-ref-name>jdbc/TheDS</res-ref-name>
--------------------------------------------------------------
Reply to this message by going to Community
[
http://community.jboss.org/message/608223#608223]
Start a new discussion in Beginner's Corner at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]