[jboss-user] [JNDI and Naming] - Re: JNDI EJB lookup in jboss5.1.0 GA

User User11 do-not-reply at jboss.com
Tue Nov 23 12:43:29 EST 2010


User User11 [http://community.jboss.org/people/varsha7] created the discussion

"Re: JNDI EJB lookup in jboss5.1.0 GA"

To view the discussion, visit: http://community.jboss.org/message/572543#572543

--------------------------------------------------------------
This is what I see in the log:-

16:40:43,605 INFO  [JndiSessionRegistrarBase] Binding the following Entries in Global JNDI:
 ABCBean/remote - EJB3.x Default Remote Business Interface
 myear/ABCBean/remote-com.mycompany.smf.interfaces.SecurityManagerRemote - EJB3.x Remote Business Interface
 ABCBean/local - EJB3.x Default Local Business Interface
 myear/ABCBean/local-com.mycompany.smf.interfaces.SecurityManagerLocal - EJB3.x Local Business Interface

6:41:14,561 ERROR [[/smfui]] Servlet /smfui threw load() exception
javax.naming.NameNotFoundException: ABCBean/remote could not be found
 at com.mycompany.smf.gui.servlet.SecurityManagerServlet.getSecurityManager(SecurityManagerServlet.java:120)
 at com.mycompany.smf.gui.servlet.SecurityManagerServlet.init(SecurityManagerServlet.java:46)

Looks like the bean is bound first before the servlet init() tries to lookup but I am not sure what the two lines mean and which jndi binding is picked up.

ABCBean/remote - EJB3.x Default Remote Business Interface
 myear/ABCBean/remote-com.mycompany.smf.interfaces.SecurityManagerRemote - EJB3.x Remote Business Interface
--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/572543#572543]

Start a new discussion in JNDI and Naming at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2083]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20101123/c9e11b7a/attachment.html 


More information about the jboss-user mailing list