Hi Mila,

what's the Karaf and PaxExam version ?

Thanks,
Regards
JB

On 11/18/2014 11:32 AM, Milan Tomic wrote:
Hello,

I am trying to run Karaf JUnit test using PaxExam
(@RunWith(PaxExam.class)) but it throws an exception:

Unable to register security provider: java.lang.ClassNotFoundException:
org.bouncycastle.jce.provider.BouncyCastleProvider

I am using custom Karaf installation which comes together with
BouncyCastle JAR in karaf/lib/ext and inside karaf/etc/config.properties
I have:

org.apache.karaf.security.providers =
org.bouncycastle.jce.provider.BouncyCastleProvider

and it still throws above exception while running using PaxExam, but it
doesn't run that exception when my Karaf installation run as standalone
(run using karaf.bat).

There must be some setting that I am missing?

Thank you in advnace,
Milan

--
Jean-Baptiste Onofré
[email protected]
http://blog.nanthrax.net
Talend - http://www.talend.com

Reply via email to