Guess, this answers my question:
https://docs.jboss.org/author/display/AS7/How+do+I+migrate+my+application...
Namespaces should follow these rules:
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.
Unqualified "absolute" names like "/jdbc/DefaultDS" should be
qualified relative to a "java:jboss/root" name.
Qualified "absolute" names like "java:/jdbc/DefaultDS" should be
qualified the same way as #2.
The special "java:jboss" namespace is shared across the entire AS
server instance.
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:10pm]hbraun:do we have constraints on certain jndi names?
[2:10pm]
[2:11pm]hbraun:looking at
http://pastebin.com/cmsLf3Fz, it seems the the jndi is
"java:/jboss/datasources/ExampleDS"
[2:13pm]hbraun:but "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(a)lists.jboss.org
>
https://lists.jboss.org/mailman/listinfo/jboss-as7-dev