java.lang.ExceptionInInitializerError: JCO.classInitialize(): Could not load mid dleware layer 'com.sap.mw.jco.rfc.MiddlewareRFC' no sapjcorfc in java.library.path

Oracle Community | Rbaig-Oracle | 1 decade ago
  1. 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
  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

    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]
  6. 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]

    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 mid dleware layer 'com.sap.mw.jco.rfc.MiddlewareRFC' no sapjcorfc in java.library.path

      at com.sap.mw.jco.JCO.<clinit>()
    2. com.sap.mw
      JCO.<clinit>
      1. com.sap.mw.jco.JCO.<clinit>(JCO.java:566)
      1 frame
    3. oracle.portal.integration
      SapObject.<init>
      1. oracle.portal.integration.JCOFramework.<init>(JCOFramework.java:45)
      2. oracle.portal.integration.sap.SapObject.<init>(SapObject.java:126)
      2 frames