Hi Jack,
 By the Java EE spec, all local references (ejb-ref, resource-ref, env-ref)
are supposed to be under java:comp/env/. The specs also says this prefix is
ommited from the standard deployment descriptors (web.xml, ejb-jar.xml) and
so JBoss AS is simply being consistent by omitting also from its
proprietary deploymento descriptos (jboss-web.xml, jboss.xml)
 []s, Fernando Lozano

 ---- Original Message ----
From: Jack Stevens
To: "User development"
Sent: Qui, Jun 2, 2011, 6:19 AM
Subject: [jboss-user] [Beginner's Corner] - Re:
javax.naming.NameNotFoundException: jdbc not bound
    JBoss Community (http://community.jboss.org/index.jspa)
     Re: javax.naming.NameNotFoundException: jdbc not bound

      created by Jack Stevens
(http://community.jboss.org/people/samalexander10) in Beginner's Corner -
View the full discussion (http://community.jboss.org/message/608223#608223)

------------------------------------
        Hi Peter,
        For this:

        jboss-web.xml:
        jdbc/TheDS

        java:jdbc/SomeDS
        why wouldn't it be:

        jboss-web.xml:
        java:comp/env/jdbc/TheDS

        java:jdbc/SomeDS
        How does JBoss know to include java:comp/env/ in the  if we just put
jdbc/TheDS

        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%21input.jspa?contentType=1&containerType=14&container=2075)


_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to