Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Driver update to ojdbc7.jar gives error for oracle/security/pki/OraclePKIProvider

Tags:

java

oracle12c

I have been using ojdbc14.jar earlier and now want to upgrade it to ojdbc7.jar for supporting oracle12c.

But while connecting server gives error for "oracle/security/pki/OraclePKIProvider".

If I add oraclepki.jar to the classpath server starts up properly without any error.

I am trying to figure out what special got added in ojdbc7.jar that its asking me to add oraclepki.jar, As with ojdbc14.jar it never asked me to add oraclepki into my classpath.

Does anyone know what changes with ojdbc7 that's causing this error and what can be done to avoid adding oraclepki on classpath?

like image 943
ankur singhal Avatar asked May 19 '15 06:05

ankur singhal


1 Answers

Check your classpath and make sure you remove the following: (if it exists)

-XX:-UseSplitVerifier

like image 191
Joseph Carroll Avatar answered Oct 31 '22 10:10

Joseph Carroll