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 [export/home/oracle/midtier/jdk/jre/lib/i386/libsapjcorfc.so: /export/home/oracle/midtier/jdk/jre/lib/i386/libsapjcorfc.so: cannot open shared object file: No such file or directory]. java.library.path [export/home/oracle/midtier/jdk/jre/lib/i386/client:/export/home/oracle/midtier/jdk/jre/lib/i386:/export/home/oracle/midtier/jdk/jre/../lib/i386]

Oracle Community | Pamato-Oracle | 1 decade ago
  1. 0

    OmniPortlet SAP Provider Error

    Oracle Community | 1 decade ago | Pamato-Oracle
    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 [export/home/oracle/midtier/jdk/jre/lib/i386/libsapjcorfc.so: /export/home/oracle/midtier/jdk/jre/lib/i386/libsapjcorfc.so: cannot open shared object file: No such file or directory]. java.library.path [export/home/oracle/midtier/jdk/jre/lib/i386/client:/export/home/oracle/midtier/jdk/jre/lib/i386:/export/home/oracle/midtier/jdk/jre/../lib/i386]
  2. 0

    Password sync

    Oracle Community | 7 years ago | 17928
    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 /opt/jco/lib/libsapjcorfc.so already loaded in another classloader]. java.library.path [opt/j2sdk1.4.2_16/jre/lib/i386/server:/opt/j2sdk1.4.2_16/jre/lib/i386:/opt/j2sdk1.4.2_16/jre/../lib/i386:/opt/jco/lib:/usr/lib:/lib:/opt/oracle/xellerate/ThirdParty:/usr/lib:/usr/local/lib:]
  3. 0

    No container-managed authentication alias found for connection factory or datasource sae/sap/Factory

    Coderanch | 4 years ago | Ethiraj Palchuru
    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. Found version "2.1.6 (2005-06-20)" but required version "2.1.8 (2006-12-11)".
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    SAP Portlet Sample fixed the IllegalStateException bug

    Oracle Community | 1 decade ago | Rbaig-Oracle
    java.lang.ExceptionInInitializerError: JCO.classInitialize(): Could not load mid dleware layer 'com.sap.mw.jco.rfc.MiddlewareRFC' no sapjcorfc in java.library.path
  6. 0

    SAPDS Portlet: Errors: java.lang.*

    Oracle Community | 1 decade ago | rmirchan-Oracle
    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 [export/oracle/products/9ias_midtier/lib/libsapjcorfc.so: ld.so.1: /export/oracle/products/9ias_midtier/jdk//bin/../bin/sparc/native_threads/java: fatal: /export/oracle/products/9ias_midtier/lib/libsapjcorfc.so: wrong ELF class: ELFCLASS64]. java.library.path [export/oracle/products/9ias_midtier/jdk//bin/../jre/lib/sparc/client:/export/oracle/products/9ias_midtier/jdk//bin/../jre/lib/sparc::/export/oracle/products/9ias_midtier/jdk//bin/../jre/../lib/sparc:/export/oracle/products/9ias_midtier/lib::/usr/lib]

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. 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 [export/home/oracle/midtier/jdk/jre/lib/i386/libsapjcorfc.so: /export/home/oracle/midtier/jdk/jre/lib/i386/libsapjcorfc.so: cannot open shared object file: No such file or directory]. java.library.path [export/home/oracle/midtier/jdk/jre/lib/i386/client:/export/home/oracle/midtier/jdk/jre/lib/i386:/export/home/oracle/midtier/jdk/jre/../lib/i386]

      at com.sap.mw.jco.JCO.<clinit>()
    2. com.sap.mw
      JCO.<clinit>
      1. com.sap.mw.jco.JCO.<clinit>(JCO.java:738)
      1 frame
    3. Java RT
      Class.forName
      1. java.lang.Class.forName0(Native Method)
      2. java.lang.Class.forName(Class.java:141)
      2 frames
    4. com.sap.mw
      About.main
      1. com.sap.mw.jco.About.<init>(About.java:33)
      2. com.sap.mw.jco.About.main(About.java:93)
      2 frames