"java.lang.UnsatisfiedLinkError" Exception While Connecting to Domain Using JDBC (Doc ID 853744.1)

Last updated on AUGUST 17, 2016

Applies to:

Oracle Retail Predictive Application Server - Version 13.0.0 and later
Information in this document applies to any platform.

Symptoms

When attempting to connect to a domain using JDBC client jdbcisql, the following error occurs:


DEV>/home/ukmpdev/java jdbcisql -d jdbc.sql.oadriver -u jdbc:OpenRDA:LineFlow
Exception in thread "main" java.lang.UnsatisfiedLinkError: oajdbc (Not found in java.library.path)
at java.lang.ClassLoader.loadLibraryWithPath(ClassLoader.java:981)
at java.lang.ClassLoader.loadLibraryWithClassLoader(ClassLoader.java:950)
at java.lang.System.loadLibrary(System.java:453)
at jdbc.sql.cli.oacli.<clinit>(oacli.java:48)
at java.lang.J9VMInternals.initializeImpl(Native Method)
at java.lang.J9VMInternals.initialize(J9VMInternals.java:194)
at jdbc.sql.oautilobj.<clinit>(oautilobj.java:33)
at java.lang.J9VMInternals.initializeImpl(Native Method)
at java.lang.J9VMInternals.initialize(J9VMInternals.java:194)
at java.lang.J9VMInternals.initialize(J9VMInternals.java:159)
at java.lang.Class.forNameImpl(Native Method)
at java.lang.Class.forName(Class.java:130)
at jdbcisql.init(jdbcisql.java:159)
at jdbcisql.main(jdbcisql.java:93)


The Java version is as follows:

DEV>/home/ukmpdev/java -version
java version "1.5.0"
Java(TM) 2 Runtime Environment, Standard Edition (build pap32dev-20080315 (SR7))
IBM J9 VM (build 2.3, J2RE 1.5.0 IBM J9 2.3 AIX ppc-32 j9vmap3223-20080315 (JIT enabled)
J9VM - 20080314_17962_bHdSMr
JIT - 20080130_0718ifx2_r8
GC - 200802_08)
JCL - 20080314



Steps to Reproduce:

1. Configure the ODBC server and JDBC client
2. Start ODBCMeasureModeServer
3. Execute the command:

java jdbcisql -d jdbc.sql.oadriver -u jdbc:OpenRDA:<DATABASE>

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