Configuring SAP JCO Adapter Fails With java.lang.ExceptionInInitializerError In OC4J 10.1.3.3.0 (Doc ID 565452.1)

Last updated on NOVEMBER 05, 2016

Applies to:

Oracle Containers for J2EE - Version: 10.1.3.3.0
HP-UX PA-RISC (64-bit)

Symptoms

08/04/18 12:47:15.21 empleo: 10.1.3.3.0 Started
08/04/18 12:47:44.541 empleo: Servlet error
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
[/oraias/usuarios/oraias/middletier/sapjco/libsapjcorfc.sl: Exec format error]
. java.library.path [/home/oraias/middletier/sapjco:/home/oraias/middletier/lib32:/home/oraias/middletier/network/lib32:
/home/oraias/middletier/jdk/
jre/lib/PA_RISC2.0:/home/oraias/middletier/jdk/jre/lib/PA_RISC2.0/server]
at com.sap.mw.jco.JCO.<clinit>(JCO.java:776)
at com.aena.dti.empleo.managers.R3ConnManager.<init>(R3ConnManager.java:34)
at com.aena.dti.empleo.managers.R3ConnManager.getInstance(R3ConnManager.java:60)
at com.aena.dti.empleo.servlets.Root.getConnection(Root.java:67)
at com.aena.dti.empleo.servlets.PFSrv.manageRequest(PFSrv.java:59)
at com.aena.dti.empleo.servlets.Root.doGet(Root.java:40)
at com.aena.dti.empleo.servlets.PFSrv.doGet(PFSrv.java:35)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0)
[...]


Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms