cancel
Showing results for 
Search instead for 
Did you mean: 

Weird problems with JNDI and connectors

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

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