Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8940

Re: JNDI Context lookup issues between EJB and Servlet and others

$
0
0

Hi,

 

I am able to look up container injected object through JNDI look up in EJB context. (Using neo sdk 2.29.13.1) I looked for com.sap.ecm.api.EcmService configured through resource-ref in web.xml.

But not able to look up application injected object through JNDI look up in EJB context.

I am injecting (binding) object through context.rebind(String, Object) method (context is object of InitialContext created through new InitialContext()).

 

Getting same behavior on Cloud as well as on local environment.

 

Attached is source code (jndi.zip.txt please rename to jndi.zip).

 

Is it expected behavior?

 

Thanks,

Sachin


Viewing all articles
Browse latest Browse all 8940

Trending Articles