Guess, this answers my question:

https://docs.jboss.org/author/display/AS7/How+do+I+migrate+my+application+from+AS5+or+AS6+to+AS7

Namespaces should follow these rules:

  1. Unqualified relative names like "DefaultDS" or "jdbc/DefaultDS"
    should be qualified relative to "java:comp/env", "java:module/env", or
    "java:jboss/env", depending on the context.
  2. Unqualified "absolute" names like "/jdbc/DefaultDS" should be
    qualified relative to a "java:jboss/root" name.
  3. Qualified "absolute" names like "java:/jdbc/DefaultDS" should be
    qualified the same way as #2.
  4. The special "java:jboss" namespace is shared across the entire AS
    server instance.
  5.  Any "relative" name with a "java:" lead-in must be in one of the five
    namespaces: "comp", "module", "app", "global", or our proprietary
    "jboss".  Any name starting with "java:xxx" where "xxx" is a name which
    is not equal to one of the above five would result in an invalid name error. 






On Jul 20, 2011, at 2:14 PM, Heiko Braun wrote:




it doesn't pick up my changes
2:10pmhbraundo we have constraints on certain jndi names?
2:10pm
2:11pmhbraunlooking at http://pastebin.com/cmsLf3Fz, it seems the the jndi is "java:/jboss/datasources/ExampleDS"
2:13pmhbraunbut "jdbc/mysql" doesnt show up instead


On Jul 20, 2011, at 1:56 PM, Heiko Braun wrote:



Is ${subject} supposed to work?
It doesn't even show the default datasource.


Ike
_______________________________________________
jboss-as7-dev mailing list
jboss-as7-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-as7-dev