The solution was to add "oracle.security.pki" to 
org.osgi.framework.bootdelegation (without the .*)

It works now.
________________________________
From: Martin Lichtin <[email protected]>
To: "[email protected]" <[email protected]> 
Sent: Sunday, April 9, 2017 12:49 AM
Subject: Karaf Support for Oracle Wallet


Having trouble with adding support for Oracle Wallet. Has anyone had success 
with it?
One needs to register oracle.security.pki.OraclePKIProvider, therefore add 
three JARs

    oraclepki.jar, osdt_cert.jar, osdt_core.jar

to "lib/ext" and extend org.apache.karaf.security.providers with the class name.

So I did that.

However, this doesn't seem to be enough, still getting:

Caused by: java.sql.SQLException: PKI classes not found. To use 'connect /' 
functionality, oraclepki.jar must be in the classpath: 
java.lang.NoClassDefFoundError: oracle/security/pki/OracleWallet

I checked Security.getProviders() and OraclePKIProvider is part of the list.
Also, I tried adding oracle.security.pki.* to org.osgi.framework.bootdelegation 
but that didn't help.

Any further ideas on what I could try?

Reply via email to