"java.lang.UnsatisfiedLinkError: no ocijdbc12 in java.library.path" when trying to use OCI driver with Oracle Database in JWS
Issue
- When using OCI driver with Oracle database in application deployed to Tomcat on Windows, the error "java.lang.UnsatisfiedLinkError: no ocijdbc12 in java.library.path" was seen in the Tomcat log.
Environment
- Red Hat JBoss Web Server (JWS)
- 5.3.x
- OS
- Windows 2012 R2
- Oracle Database instant client
- 12.1.0.2
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.