"java.lang.UnsatisfiedLinkError: no ocijdbc12 in java.library.path" when trying to use OCI driver with Oracle Database in JWS

Solution Verified - Updated -

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.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content