cancel
Showing results for 
Search instead for 
Did you mean: 

EJB - JNDI Lookup

Former Member
0 Kudos

Hi Experts,

I have create I Enterprise Season Bean. It's deployed on server correctly. But the lookup returns null. I have always problems with the correct lookup string. Is there a rule for the string? I never know If i have to write:

a) localejbs/<srcFolder>~<ApplicationName>/EntityBeanName

b) or without local at the beginning?

<srcFolder>~<ApplicationName>/EntityBeanName

c) ...

Can I see in the Visual Admin the corret path?

Thanks in advance...

Accepted Solutions (0)

Answers (5)

Answers (5)

Former Member
0 Kudos

closed...

Former Member
0 Kudos

Thanks,... does it mean that the lookup is always:

localejbs/<vendor name>/<ejb application>/<entity bean>

Can I see the entry in the visual admin in the JNDI Registry or EJB Container? Where have I to look?

Former Member
0 Kudos

Hi,

In visual admin cluster>services>JNDI Service you can check your JNDI lookup name.

Regards,

Saleem

Edited by: Saleem Baig Mohammed on Jun 3, 2009 10:46 AM

Former Member
0 Kudos

hi

check this blog

/people/alfred.barzewski/blog/2005/07/27/new-samples-and-tutorials-for-web-dynpro-programming

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/user-interface-tec...

Former Member
0 Kudos

Hi,

what is <src folder> ?

Try below


lookup("localejbs/xyz.com/EmployeeEar/EmployeeEntityBean"); //xyz.com is the vendor name. Default is sap.com

Regards,

Jaya.

Former Member