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]

Solutions on the web68

  • via Oracle Community by rmirchan-Oracle, 11 months ago
    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
  • via Oracle Community by Pamato-Oracle, 11 months ago
    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
  • via Oracle Community by tmrabet - oracle, 7 months ago
    JCO.classInitialize(): Could not load middleware layer 'com.sap.mw.jco.rfc.MiddlewareRFC' JCO.nativeInit(): Could not initialize dynamic link library sapjcorfc [apps/oracle/products/10g/as/portal/lib/libsapjcorfc.sl: specified file is not a shared
  • Stack trace

    • 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
    • ative_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>(JCO.java:735) at oracle.webdb.reformlet.plugin.datasource.sap.jco.JCOUtils.testForAuthentication(Unknown Source) at oracle.webdb.reformlet.plugin.datasource.sap.jco.JCOUtils.testForAuthentication(Unknown Source) at oracle.webdb.reformlet.plugin.datasource.sap.LoginServlet.doGet(Unknown Source) at oracle.webdb.reformlet.plugin.datasource.sap.LoginServlet.doPost(Unknown Source) at javax.servlet.http.HttpServlet.service(HttpServlet.java:760) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You are the first who have seen this exception. Write a tip to help other users and build your expert profile.