Hi.
I'm developing an Axis Handler which should call a BABI on ABAP Stack.
I try to use JCo 3 in my own written Axis Handler in order to call a BAPI in ABAP Stack. When I include sapjco3.jar in my SDA I get an error message saying:
"Exception caught by adapter framework: nested exception is: java.lang.RuntimeException: java.lang.ExceptionInInitializerError: JCo: Unsupported runtime environment
JCo standalone is detected inside of SAP AS Java.
This environment already comes with its own integrated JCo version.
There is no need to install or deploy the JCo standalone in this environment.
Please remove the 'sapjco3.jar' archive from the Java class path, from the Java extension path ('java.ext.dirs') and from all custom software deployment archives.
Wherever needed, add an application reference to the library 'com.sap.conn.jco'to your application or to its deployment descriptor instead."
I then removed the jar again and tried to reference the library in provider.xml:
<reference type="library" strength="weak" provider-name="sap.com">com.sap.conn.jco</reference>
In the later case my sda is deployed, but it cannot be started.
"Application sap.com/com.sap.aii.axis.app cannot be started. Reason: it has hard reference to library:com.sap.aii.af.axis.lib, which is not active on the server because library is deployed but cannot be loaded. Contact component owners for assistance."
So my primary question is how to use JCo-lib within my SDA?
Thanks & Regards
Heinz