Cannot Load JDBC libocijdbc10.a Library In 10.1.3 OAS

(Doc ID 367441.1)

Last updated on JULY 26, 2017

Applies to:

Oracle Containers for J2EE - Version 10.1.3.0.0 and later
JDBC - Version 10.1.0.5 and later
Information in this document applies to any platform.

Symptoms

An application deployed into an 10.1.3 Oracle Application Server which is using the Oracle OCI JDBC driver can fail with the following error:

java.lang.UnsatisfiedLinkError exception


The details of the error depend on the used operating system. For example:

 
On 64 bit AIX5L Based Systems, it fails with the following error :

java.lang.UnsatisfiedLinkError: ocijdbc10
ocijdbc10 ( 0509-022 Cannot load module
/oracle/app/oracle/product/10.1.3/lib/libocijdbc10.a. 0509-103 The module has an invalid magic number.)

On 64 bit Solaris System , it fails with the following error:

java.lang.UnsatisfiedLinkError:
> /export/home/oracle/mpris10g_r3/lib/libocijdbc10.so: ld.so.1: java: fatal:
> /export/home/oracle/mpris10g_r3/lib/libocijdbc10.so: wrong ELF class:
> ELFCLASS64 



Changes

 

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