Skip to Main Content

DevOps, CI/CD and Automation

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

unable to load dynamic library 'oci8_12c'

3812220Oct 15 2018 — edited Oct 15 2018

I have spended almost 4days...Still don't get the way to solve it.

Please help me...

I would like to connect to Oracle database-11g through Laravel 5.7.1

I have created the Environment Variables for Path- C:\instantclient_12_2 and TNS_ADMIN- C:\instantclient_12_2 as well,

put the php_oci8-2.1.8-7.2-ts-vc15-x64 file in xampp/php/ext and

added the extensions in PHP.ini

[Oracle_10]

extension=php_oci8.dll

[Oracle_11g]

extension=php_oci8_11g.dll

[Oracle_12c]

extension=php_oci8_12c.dll

Tried to install Instant Client for Wins 64-bits or 32-bits/18.3 or 12.2 still can't not loaded the php_oci8-2.1.8-7.2-ts-vc15-x64.

What's the problem?

My computer config:

Win7 Sp1-64Bit      PHP 7.2.1   XAMPP v3.22

This post has been answered by 3812220 on Oct 15 2018
Jump to Answer

Comments

But the jar mentioned in this other thread, <BEA_HOME>\wlserver_10.3\server\lib\consoleapp\webapp\WEB-INF\lib\jsf-impl.jar is NOT in your WEB-INF/lib directory. Can you add this jar as well?

Also, what is the content of your weblogic.xml file?

Steven Davelaar,
Jheadstart team.
778367
Yeah, issue solved. a quite common EAR, WAR library reference problem ^.^

Since I deployed the application as an EAR, it seems that weblogic cannot reference .war/WEB-INF/lib/trinidad-impl.jar. (since the jar is put in viewcontroller project.

So I have to put the trinidad.jar and trinidad-impl.jar to .ear/lib

Edited by: user1027304 on Jun 14, 2010 12:12 AM
778367
I have figured out the problem behind. The J2EE classloader problem.

For some unknown reason, the JHeadStart runtime (jhsadfrt-11.1.1.jar) has been copied to EAR's lib folder.

Thus JhsNavigationHandlerImpl is loaded to EAR classloader, instead of WAR's one.

Since EAR classloader is the parent of WAR classloader, the trinidad runtime cannot be found by JhsNavigationHandlerImpl.


The problem is solved simply by removing jhsadfrt-11.1.1.jar from EAR's lib folder.
1 - 3

Post Details

Added on Oct 15 2018
3 comments
46,737 views