Skip to Content
0
Former Member
Jul 22, 2008 at 09:38 AM

Exception com.sap.engine.services.jndi.persistent.exceptions.NameNotFoundEx

572 Views

Hi SAP-Portal Developer,

this is my first week with SAP Portal and I have a Exception and I don't know how to fixed.

I have my Business logic in a EJB Module Project (with EJB) than I create a ejbProject.jar from this Project and add it on my Portal Application Project in my lib directory. When I use this business logic I have a runtime error

"Exception com.sap.engine.services.jndi.persistent.exceptions.NameNotFoundException: Object not found in lookup of RoadManager"

In the ejb Project I have set the JNDI name of the Bean to manager/RoadManager (in my ebj-j2ee-engine.xml) and in the portal Project I use this rows

...

12 InitialContext ctx = new InitialContext();

13 Object obj = ctx.lookup("manager/RoadManager");

14 RoadManagerHome home = (RoadManagerHome)PortableRemoteObject.narrow(obj, RoadManagerHome.class);

...

on Line 13 I have this Exception.

Can anyone help me?

Best regards Sandra