Oracle OCI ocijdbc11.dll already loaded in another classloader

One Star

Oracle OCI ocijdbc11.dll already loaded in another classloader

I was trying to use Oracle native client in windows 64 bit machine with Talend and i am getting the below error.
java.lang.UnsatisfiedLinkError: ocijdbc11.dll already loaded in another classloader.
During configuration of the connection i dont see the error. I see it only when i try to define the schema by clicking on Guess Schema.
Moderator

Re: Oracle OCI ocijdbc11.dll already loaded in another classloader

Hi,
java.lang.UnsatisfiedLinkError: ocijdbc11.dll already loaded in another classloader.

From your error message, we found a related bug on talend jira https://jira.talendforge.org/browse/TDI-23560, hope it will help you.
Best regards
Sabrina
--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.
One Star

Re: Oracle OCI ocijdbc11.dll already loaded in another classloader

Yes i had seen this bug earlier. It was closed as functions as designed(not a bug). This did not help me in any way.
Moderator

Re: Oracle OCI ocijdbc11.dll already loaded in another classloader

Hi Tiger_DB,
Your problem "java.lang.UnsatisfiedLinkError: ocijdbc11.dll already loaded in another classloader." appear When you try to define the schema by clicking on Guess Schema? Could you use other DB to test it? The purpose is to make sure something wrong with your Oracle OCI or something wrong with talend component. In addition, which talend production version do you used, and we will take a testing for it.
Best regards
Sabrina
--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.
One Star

Re: Oracle OCI ocijdbc11.dll already loaded in another classloader

* Yes i have tested in couple of DB. The DB that I am working works fine with "Oracle with SID" and "Oracle with Servicename".
* I have done enough verification so that there are no duplicate jars in my system classpath and path.Only reason i want to go for OCI is i feel the performance will be better with native client than thin clients.
* I am using Talend 5.2.1 version.
Moderator

Re: Oracle OCI ocijdbc11.dll already loaded in another classloader

Hi,
That means something only wrong with Oracle OCI. We will take a testing using Oracle OCI DB and come back to you asap.
Best regards
Sabrina
--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.