Skip to Content

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

Strange Lookup Error (SAP Resource Adapter)

Hi all,

I received a quite stange error (Below you can see the relavent part of the logfile).

While the first attempt to get the ConnectionFactory of the SAP JRA succeeds, the second one fails. As you can see, context and parameters of the lookup are exactly the same. Does anybody has experiences with this problem?

Thanks a lot



<b>1st attempt</b>

DEBUG SAPEngine_Application_Thread[impl:3]_18 - return jca

name: java:comp/env/SAPJCA

INFO SAPEngine_Application_Thread[impl:3]_18 - search for

JCA Adapter: java:comp/env/SAPJCA

DEBUG SAPEngine_Application_Thread[impl:3]_18 -


<b>2nd attempt</b>

DEBUG SAPEngine_Application_Thread[impl:3]_1 - return jca

name: java:comp/env/SAPJCA

INFO SAPEngine_Application_Thread[impl:3]_1 - search for JCA Adapter: java:comp/env/SAPJCA

ERROR SAPEngine_Application_Thread[impl:3]_1 - Path to object does not exist at java:comp, the whole lookup name is java:comp/env/SAPJCA.

Former Member

Hi Nadine,

Yes, this exactly causes the problem. The resource SAPJCA is available in SAPGenericEJB's environment and the lookup succeeds since it is performed on behalf of that EJB. What is this workflow-engine? If it is another EJB or web module, then you have to define the resource-ref in its deployment descriptor too.

Best regards,


0 View this answer in context

Helpful Answer

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