• 1 reply
  • Latest Post - ‏2011-08-12T15:16:35Z by DGawron
2 Posts

Pinned topic SAPJCO for IBM WebSphere

‏2011-08-03T07:28:00Z |
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 '' 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
Updated on 2011-08-12T15:16:35Z at 2011-08-12T15:16:35Z by DGawron
  • DGawron
    251 Posts

    Re: SAPJCO for IBM WebSphere

    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.