JBoss Community

Re: JNDI EJB lookup in jboss5.1.0 GA

created by User User11 in JNDI and Naming - View the full discussion

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

Start a new discussion in JNDI and Naming at Community