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 | 6 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

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

    ibm.com | 6 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