cancel
Showing results for 
Search instead for 
Did you mean: 

Master Document Containing Package-jar association

Former Member
0 Kudos

Is there a master document out there that contains a map of what .class files are in what .jar files that are in the Netweaver Developer Studio/JDT plugins folder?

I am having a difficult time resolving NoClassDefFoundError exceptions in my code. It would be helpful to know what .jar files to include as part of my project build path BEFORE runtime.

This code segment:

Connection conn = null;

Context ctx = null;

try

{

ctx = new InitialContext(env);

Object obj = (Object)ctx.lookup("jdbc/SAPJ2EDB");

....

yields the following exception:

=====================

com.sap.engine.services.jndi.persistent.exceptions.NamingException: Exception during lookup operation of object with name jdbc/SAPJ2EDB, cannot resolve object reference. [Root exception is com.sap.engine.services.connector.exceptions.BaseResourceException: Cannot lookup ManageConnectionFactory "SAPJ2EDB". Cannot deserialize object: java.lang.NoClassDefFoundError: javax/resource/spi/ResourceAdapter.

=====================

My questions are:

1) Am I looking up the datasource correctly?

2) What .jar file contains the ResourceAdapter.class file? NoClassDefFoundError exceptions make me nervous.

Thanks in Advance,

JC

Accepted Solutions (1)

Accepted Solutions (1)

Vlado
Advisor
Advisor
0 Kudos

See thread.

Answers (0)