plz any one can help me to solve this problam.
I am connecting java to SAP through sapjco.jar. It is working on JDK5.0, tomcat6.0 but not in websphere7.0
Error 500: 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 sapjcorfc (JVMPORT015E Unable to resolve shared library references - a prerequisite shared library may be missing). java.library.path [E:\IBM\WebSphere\AppServer\java\jre\bin;.;E:\IBM\WebSphere\AppServer\bin;E:\IBM\WebSphere\AppServer\java\bin;E:\IBM\WebSphere\AppServer\java\jre\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0]
Thanks & Regards
G.Ranjith Kumar Reddy
DGawron 10000054HC251 Posts
Re: SAPJCO for IBM WebSphere2011-08-12T15:16:35ZThis is the accepted answer. This is the accepted answer.You need to have the SAP DLL in one of the folders listed in the java.library.path, preferably in a folder that is common to both Tomcat and WAS.