"Exception In Thread Java.lang.UnsatisfiedLinkError: No Ocijdbc12 In Java.library.path" When Running "ces_setup.ces"
(Doc ID 2634684.1)
Last updated on AUGUST 05, 2022
Applies to:
Oracle Utilities Network Management System - Version 2.3.0.2.0 and laterOracle Network Management for Utilities - DMS - Version 2.3.0.2.0 and later
Information in this document applies to any platform.
Symptoms
On : 2.3.0.2.0 version, Installation
ces_setup.ces Exception in thread java.lang.UnsatisfiedLinkError: no ocijdbc12 in java.library.path
Running ces_setup.ces to upgrade environment from 2.3.0.2.12 to 2.3.0.2.14, the setup stops with this error:
Searching for new or updated migrations...
Exception in thread "main" java.lang.UnsatisfiedLinkError: no ocijdbc12 in java.library.path
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1867)
at java.lang.Runtime.loadLibrary0(Runtime.java:870)
at java.lang.System.loadLibrary(System.java:1122)
at oracle.jdbc.driver.T2CConnection$1.run(T2CConnection.java:4158)
at java.security.AccessController.doPrivileged(Native Method)
at oracle.jdbc.driver.T2CConnection.loadNativeLibrary(T2CConnection.java:4154)
at oracle.jdbc.driver.T2CConnection.logon(T2CConnection.java:453)
at oracle.jdbc.driver.PhysicalConnection.connect(PhysicalConnection.java:688)
at oracle.jdbc.driver.T2CDriverExtension.getConnection(T2CDriverExtension.java:60)
at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:691)
at java.sql.DriverManager.getConnection(DriverManager.java:664)
at java.sql.DriverManager.getConnection(DriverManager.java:208)
at com.oracle.ugbu.nms.apply.ApplyMigration.(ApplyMigration.java:77)
at com.oracle.ugbu.nms.apply.ApplyMigration.main(ApplyMigration.java:507)
utility-apply-migrations.sh -before failed
ERROR ces_setup.ces terminated
Customer has ORACLE_HOME set to /oracle/product/12.1.0.2.0
( In /etc/oratab, ORACLE_PATH was specified to be /oracle/product/12.1.0.2 )
CLASSPATH was set to $ORACLE_HOME/jdbc/lib/ojdbc6.jar
The file, $CES_HOME/templates/nmsrc.template, had this line:
Changes
Customer installed the 2.3.0.2.14 patch bundle. (They were previously at 2.3.0.2.12)
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 |
Changes |
Cause |
Solution |