The JNDI tree is itself divided into different namespaces. The java: namespace is meant
for clients within the same JVM. Then there is the java:comp/env which for each
application/component. There is also a Global namespace which is accessible for all (local
as well as remote clients). So if you want to lookup a object from a remote client (stand
alone application), that objects needs to be present in the Global namespace. All these
namespaces and their contents are listed in the JNDI tree view available through
jmx-console. By the way, if you are looking for accessing a datasource(which is by default
bound to java: namespace) from a standalone client, then have a look at this wiki entry
http://wiki.jboss.org/wiki/Wiki.jsp?page=HowCanIAccessADataSourceFromAClient
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4101297#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...