My Oracle Support Banner

Cannot Load JDBC libocijdbc10.a Library In 10.1.3 OAS (Doc ID 367441.1)

Last updated on AUGUST 30, 2023

Applies to:

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


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-HOME>/lib/libocijdbc10.a. 0509-103 The module has an invalid magic number.)

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

> <ORACLE-HOME>/lib/ java: fatal:
> <ORACLE-HOME>/lib/ wrong ELF class:


To view full details, sign in with your My Oracle Support account.

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

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.