[jboss-user] [Security & JAAS/JBoss] - Re: EJB3: How to access @Stateless EJBs from custom LoginMod

jaikiran do-not-reply at jboss.com
Sat Jan 19 11:44:16 EST 2008


anonymous wrote : I tried a lookup via JNDI => no success (NameNotFoundException) 

Looks like you are using an incorrect JNDI name to do the lookup. Follow the steps below to figure out the exact jndi-name to which your bean is bound 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. 

If you have difficulty in understanding the output of the JDNIView then post the output here.



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

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



More information about the jboss-user mailing list