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

Reply via email to