[jboss-as7-dev] :jndi-view() borked?
Heiko Braun
hbraun at redhat.com
Wed Jul 20 08:16:25 EDT 2011
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:
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 at lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/jboss-as7-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-as7-dev/attachments/20110720/76fdbedc/attachment-0001.html
More information about the jboss-as7-dev
mailing list