You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@karaf.apache.org by Matthieu Vincent <mv...@gmail.com> on 2016/02/25 16:43:05 UTC

[karaf-4.0.4] bundle no longer valid

Hi

Still working on my migration to Karaf4, now getting an error when trying
to start a bundle :

Caused by: java.security.NoSuchAlgorithmException: class configured for
CertificateFactory (provider: BC) cannot be found.
at
java.security.Provider$Service.getImplClass(Provider.java:1649)[:1.8.0_65]
at java.security.Provider$Service.newInstance(Provider.java:1592)[:1.8.0_65]
at sun.security.jca.GetInstance.getInstance(GetInstance.java:236)[:1.8.0_65]
at sun.security.jca.GetInstance.getInstance(GetInstance.java:206)[:1.8.0_65]
at
java.security.cert.CertificateFactory.getInstance(CertificateFactory.java:230)[:1.8.0_65]
... 25 more
Caused by: java.lang.ClassNotFoundException: Unable to load class
'org.bouncycastle.jcajce.provider.asymmetric.x509.CertificateFactory'
because the bundle wiring for bcprov is no longer valid.
at
org.apache.felix.framework.BundleWiringImpl.findClassOrResourceByDelegation(BundleWiringImpl.java:1539)
at
org.apache.felix.framework.BundleWiringImpl.access$400(BundleWiringImpl.java:79)
at
org.apache.felix.framework.BundleWiringImpl$BundleClassLoader.loadClass(BundleWiringImpl.java:2018)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)[:1.8.0_65]
at
java.security.Provider$Service.getImplClass(Provider.java:1636)[:1.8.0_65]

My bcprov bundle is correclty started & active.
Tried to refesh and restart it, but nothing can make it work.

Hopefully my last error to end the upgrade, if anyone can help ? :)

Thanks

Re: [karaf-4.0.4] bundle no longer valid

Posted by carl <cp...@gmail.com>.
Did you resolve that? I have the same issue (with Karaf 4.0.7)



--
View this message in context: http://karaf.922171.n3.nabble.com/karaf-4-0-4-bundle-no-longer-valid-tp4045558p4050963.html
Sent from the Karaf - User mailing list archive at Nabble.com.