Skip to Content
author's profile photo Former Member
Former Member

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

Nadine

*******************************************************

<b>1st attempt</b>

DEBUG SAPEngine_Application_Thread[impl:3]_18 com.xxx.ik.ejb.srouter.util.SystemRouterUtil - return jca

name: java:comp/env/SAPJCA

INFO SAPEngine_Application_Thread[impl:3]_18 com.xxx.ik.ejb.sap.generic.bo.SAPGenericBO - search for

JCA Adapter: java:comp/env/SAPJCA

DEBUG SAPEngine_Application_Thread[impl:3]_18 com.xxx.ik.ejb.sap.generic.bo.SAPGenericBO -

connectionfactory: com.sap.mw.jco.jra.JRA$ConnectionFactoryImpl@1d4445d

<b>2nd attempt</b>

DEBUG SAPEngine_Application_Thread[impl:3]_1 com.xxx.ik.ejb.srouter.util.SystemRouterUtil - return jca

name: java:comp/env/SAPJCA

INFO SAPEngine_Application_Thread[impl:3]_1 com.xxx.ik.ejb.sap.generic.bo.SAPGenericBO - search for JCA Adapter: java:comp/env/SAPJCA

ERROR SAPEngine_Application_Thread[impl:3]_1 com.xxx.ik.ejb.sap.generic.bo.SAPGenericBO -

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/SAPJCA.

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Best Answer
    Posted on Feb 08, 2005 at 09:17 AM

    Hi Nadine,

    Maybe the application of the EJB com.xxx.ik.ejb.sap.generic.bo.SAPGenericBO has been redeployed/restarted between the two attempts?

    You can list the whole JNDI tree using the telnet command "lsn" from the "naming" group (>jump 0, then >add naming, then >lsn). The JNDI context of your EJB should be under

    ejbContexts/<provider-name>/<application-name>/<jndi-name>

    By default the <jndi-name> of an EJB is

    <provider-name>/<application-name>/<ejb-name>

    Hope this will be of help,

    Vladimir

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.