Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

EJB lookup failure??

Hi experts,

I have deployed an enterprise application on Sneak Preview of WebAS , has EJB and a Web Module. the web module tries to look up an EJB which is configured to have the JNDI name

com.xxx.xxx.ejb.HelperBean.

Servlet tries a lookup with

Object ref =ctx.lookup(
"java:comp/env/ejb/com.xxx.xxx.ejb.HelperBean");

<b>Question 1. Is the lookupname specified above right?</b>

The lookup fails giving a NameNotFoundException.

<b>Question 2. Is it possible to check if my EJB was bound properly in the namespace?

Something like <b><i>dumpnamespace</i></b> in WebSphere

</b>

Regards,

Amol

Former Member
Not what you were looking for? View more on this topic or Ask a question