[jboss-user] [JNDI/Naming/Network] - Re: JNDI looking up problem from servlet container

jaikiran do-not-reply at jboss.com
Sun Feb 17 09:02:12 EST 2008


Looks like you have specified an incorrect jndi-name for the lookup string (Actually i am surprised as to how it worked with the test client using java:Hello jndi-name, since the java: is not available to remote clients). Follow the steps below to figure out what the jndi-name of the bean is and then use that name to do the lookup:

- Go to http://< server>:< port>/jmx-console (Ex: http://localhost:8080/jmx-console)
- Search for service=JNDIView on the jmx-console 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. 







View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4129888#4129888

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4129888



More information about the jboss-user mailing list