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

Weird problems with JNDI and connectors

Hi all,

I'm porting a J2EE Application to Web AS 6.40. This application uses two Resource Adapter, one for R/3 and one for another EIS. I deployed the two on Web AS.

<u>SAP-Adapter is configured as follows:</u>

Provider-Name: SAPJRA

JNDI-Name: SAPJCA

Lookup-Name from Code: java:comp/env/SAPJCA

This one works perfectly.

<u>The other Adapter is configured as follows:</u>

Provider-Name: DPPRJCA

JNDI-Name: DPPRJCA

Lookup-Name from Code: java:comp/env/DPPRJCA

The lookup throws the com.sap.engine.services.jndi.persistent.exceptions.NameNotFoundException.

Both Adapters are references from the application with "application/weak". The Classloader Viewer shows the application with both references.

In the Visual Admin Tool JNDI-Tree, I can see both Adapters in the same way (Same context / subcontexts) in mcf and deployedAdapters. The Connector Container doesn't contain any obvious differences, too.

The only difference, I recognized, is that the provider for the second one is not sap.com.

I really don't know what to do, so <i>any</i> suggestions are welcome!!!

Thanks in advance, Nadine

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Jan 18, 2005 at 05:08 PM

    Problem solved...

    Because the Javaclass (which tries to set up a connection) is not an EJB component, I forgot to declare resource references ;-( Sorry!

    Nadine

    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.