java.lang.Throwable: 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 (No such file or directory)]. java.library.path [/opt/TDI/V6.1.1/jvm/jre/bin:/opt/TDI/V6.1.1/jvm/jre/bin:/opt/TDI/V6.1.1/jvm/jre/bin/classic:/opt/TDI/V6.1.1/jvm/jre/bin:/usr/lib]

ibm.com | 5 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    IBM Error when loading SAP JCo library using SAP NetWeaver Adapter - United States

    ibm.com | 5 months ago
    java.lang.Throwable: 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 (No such file or directory)]. java.library.path [/opt/TDI/V6.1.1/jvm/jre/bin:/opt/TDI/V6.1.1/jvm/jre/bin:/opt/TDI/V6.1.1/jvm/jre/bin/classic:/opt/TDI/V6.1.1/jvm/jre/bin:/usr/lib]

    Root Cause Analysis

    1. java.lang.Throwable

      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 (No such file or directory)]. java.library.path [/opt/TDI/V6.1.1/jvm/jre/bin:/opt/TDI/V6.1.1/jvm/jre/bin:/opt/TDI/V6.1.1/jvm/jre/bin/classic:/opt/TDI/V6.1.1/jvm/jre/bin:/usr/lib]

      at com.sap.mw.jco.JCO.<clinit>()
    2. com.sap.mw
      JCO.<clinit>
      1. com.sap.mw.jco.JCO.<clinit>(JCO.java:820)
      1 frame
    3. Java RT
      J9VMInternals.initialize
      1. java.lang.J9VMInternals.initializeImpl(Native Method)
      2. java.lang.J9VMInternals.initialize(J9VMInternals.java:177)
      2 frames