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]

Oracle Community | rmirchan-Oracle | 1 decade ago
  1. 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]
  2. 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/lib/libsapjcorfc.so: /export/home/oracle/midtier/lib/libsapjcorfc.so: cannot open shared object file: No such file or directory]. java.library.path [export/home/oracle/midtier/jdk/jre/lib/i386/server:/export/home/oracle/midtier/jdk/jre/lib/i386:/export/home/oracle/midtier/jdk/jre/../lib/i386:/export/home/oracle/midtier/lib:/export/home/oracle/midtier/lib:/export/home/oracle/midtier/network/lib:/export/home/oracle/midtier/jdk/jre/lib/i386]
  3. 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:]
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 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)".
  6. 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

    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/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]

      at com.sap.mw.jco.JCO.<clinit>()
    2. com.sap.mw
      JCO.<clinit>
      1. com.sap.mw.jco.JCO.<clinit>(JCO.java:735)
      1 frame
    3. oracle.webdb.reformlet
      LoginServlet.doPost
      1. oracle.webdb.reformlet.plugin.datasource.sap.jco.JCOUtils.testForAuthentication(Unknown Source)
      2. oracle.webdb.reformlet.plugin.datasource.sap.jco.JCOUtils.testForAuthentication(Unknown Source)
      3. oracle.webdb.reformlet.plugin.datasource.sap.LoginServlet.doGet(Unknown Source)
      4. oracle.webdb.reformlet.plugin.datasource.sap.LoginServlet.doPost(Unknown Source)
      4 frames
    4. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
      2. javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      2 frames