Hello to all,
I've developed a java servlet, which calls a abap fm with the help of sapjco 2.1.9
I've added the sapjco library as user-library in nwds and deployed the ear-file.
Now if I reqest the url I get the following error:
com.sap.engine.services.servlets_jsp.server.exceptions.ServletNotFoundException: Cannot load the requested servlet [EARSendSMS14Web/servlet/SendSMS].
If I add the sapjco.jar as external jar an deploy the application I get the following error:
java.lang.ExceptionInInitializerError: JCO.classInitialize(): Could not load middleware layer 'com.sap.mw.jco.rfc.MiddlewareRFC' JCO.nativeInit(): Could not initialize dynamic link library sapjcorfc [Native Library /home/sltadm/sapjco/libsapjcorfc.so already loaded in another classloader]. . ....
Sorry, I'm at loss
Pleave advice
Regards Christian