-
1. Re: How to view the jndi tree?
pinan Oct 9, 2008 7:13 PM (in response to yaragalla_murali)From a posting by jaikiran posted on : Sun Feb 17, 2008
- Go to http://< server>:< port>/jmx-console (Ex: http://localhost:8080/jmx-console)
- Search for service=JNDIView on the jmx-console page [ITS NEAR the top of the PAGE]
- Click on that link
- On the page that comes up click on the Invoke button beside the list() method
- The page that comes up will show the contents of the JNDI tree.
Search for your bean here and find out what's it jndi-name. The use it in your code during the lookup. -
2. Re: How to view the jndi tree?
nazia24 Sep 16, 2013 5:50 AM (in response to pinan)Hi,
Using CLI, you can view jndi-tree like this
/subsystem=naming:jndi-view()
-
3. Re: How to view the jndi tree?
berhauz Jun 8, 2016 9:04 AM (in response to yaragalla_murali)in DOMAIN mode, jBoss 7, it becomes, either:
(you'll need to adjust to your names for the server groups, hosts, and servers)
a) via the web admin console: http://localhost:9990/console/App.html#hosts/naming
navigate to: RUNTIME > Server Groups > main-server > server-one > Subsystems > JNDI View
b) via jboss-cli (in <JBOSS-root>\bin) commands:
connect
/host=master/server=server-one/subsystem=naming/:jndi-view
c) via jconsole (in <JBOSS-root>\bin)
use jBoss EAP CLI tab and connect to port 9990 (or some greater port number if you configured ports with an increment)
build a command like: /host=master/server=server-one/subsystem=naming/:jndi-view
and submit