cancel
Showing results for 
Search instead for 
Did you mean: 

com.sap.engine.services.jndi.persistent.exceptions.NameNotFoundException

ReenaWadhwa
Advisor
Advisor
0 Kudos

Hi Colleagues,

I am getting exception :-

com.sap.engine.services.jndi.persistent.exceptions.NameNotFoundException: Path to object does not exist at java:comp, the whole lookup name is java:comp/env/SAP/WFM/itc.

while running one of the webservice of our application. Exception comes when we try to create a connection to our default data source. Application is not able to look up the JNDI. The strange thing is when we use the same code and JNDI name to get the connection from a servlet or a java file(from web module) ,it is working fine. But when we ty to look up from a webservice which is in a different DC (ejbmodule),it is not able to lookup. Can you please suggest what is wrong here.

Thanks and Regards,

Reena

Accepted Solutions (0)

Answers (1)

Answers (1)

0 Kudos

Dear Reena,

Reagarding the error posted by you i would suggest you to refer the following SAP Note:

1339895 - Workaround for failing JNDI lookup of UserTransaction

This should help you out.

Regards,

Abhishek