JBoss Community

Re: JNDI EJB lookup in jboss5.1.0 GA

created by jaikiran pai in JNDI and Naming - View the full discussion

Varsha Hardikar wrote:

 

The lookup is done in the servlet's init() method.

I guess then it's being triggered before the bean is bound to JNDI.

 

Varsha Hardikar wrote:

 

How do I know if the bean is deployed first before the lookup is done?

The logs that you see on the console will show you the jndi bindings too. So ideally, you should see the beans being bound first before the servlet init() tries to lookup. Can you post the entire logs that you see on the console (not the server.log)

Reply to this message by going to Community

Start a new discussion in JNDI and Naming at Community