:jndi-view() borked?

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

:jndi-view() borked?

Heiko Braun


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


Ike
_______________________________________________
jboss-as7-dev mailing list
[hidden email]
https://lists.jboss.org/mailman/listinfo/jboss-as7-dev
Reply | Threaded
Open this post in threaded view
|

Re: :jndi-view() borked?

Heiko Braun



it doesn't pick up my changes
2:10pm<a href="member:hbraun" title="hbraun@p5B04E153.dip.t-dialin.net" class="member self" style="font-weight: bold; color: rgb(170, 34, 17); text-decoration: none !important; margin-right: 0.5ex; white-space: nowrap; ">hbraundo we have constraints on certain jndi names?
2:10pm
2:11pm<a href="member:hbraun" title="hbraun@p5B04E153.dip.t-dialin.net" class="member self" style="font-weight: bold; color: rgb(170, 34, 17); text-decoration: none !important; margin-right: 0.5ex; white-space: nowrap; ">hbraunlooking at http://pastebin.com/cmsLf3Fz, it seems the the jndi is "java:/jboss/datasources/ExampleDS"
2:13pm<a href="member:hbraun" title="hbraun@p5B04E153.dip.t-dialin.net" class="member self" style="font-weight: bold; color: rgb(170, 34, 17); text-decoration: none !important; margin-right: 0.5ex; white-space: nowrap; ">hbraunbut "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
[hidden email]
https://lists.jboss.org/mailman/listinfo/jboss-as7-dev


_______________________________________________
jboss-as7-dev mailing list
[hidden email]
https://lists.jboss.org/mailman/listinfo/jboss-as7-dev
Reply | Threaded
Open this post in threaded view
|

Re: :jndi-view() borked?

Heiko Braun

Guess, this answers my question:


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:10pm<a href="member:hbraun" title="hbraun@p5B04E153.dip.t-dialin.net" class="member self" style="font-weight: bold; color: rgb(170, 34, 17); text-decoration: none !important; margin-right: 0.5ex; white-space: nowrap; ">hbraundo we have constraints on certain jndi names?
2:10pm
2:11pm<a href="member:hbraun" title="hbraun@p5B04E153.dip.t-dialin.net" class="member self" style="font-weight: bold; color: rgb(170, 34, 17); text-decoration: none !important; margin-right: 0.5ex; white-space: nowrap; ">hbraunlooking at http://pastebin.com/cmsLf3Fz, it seems the the jndi is "java:/jboss/datasources/ExampleDS"
2:13pm<a href="member:hbraun" title="hbraun@p5B04E153.dip.t-dialin.net" class="member self" style="font-weight: bold; color: rgb(170, 34, 17); text-decoration: none !important; margin-right: 0.5ex; white-space: nowrap; ">hbraunbut "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
[hidden email]
https://lists.jboss.org/mailman/listinfo/jboss-as7-dev



_______________________________________________
jboss-as7-dev mailing list
[hidden email]
https://lists.jboss.org/mailman/listinfo/jboss-as7-dev