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 10.1.3.0.0 and laterJDBC - 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-HOME>/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:
> <ORACLE-HOME>/lib/libocijdbc10.so: ld.so.1: java: fatal:
> <ORACLE-HOME>/lib/libocijdbc10.so: wrong ELF class:
> ELFCLASS64
Cause
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
Symptoms |
Cause |
Solution |
References |