When use pax-cdi in karaf 4.0.3, I get the following exception: javax.enterprise.inject.CreationException: java.lang.ClassNotFoundException: org.apache.webbeans.proxy.OwbNormalScopeProxy not found by org.ops4j.pax.cdi.extension [147]
You can see the code: https://github.com/LuisLozano/karafExamples I think the problem is in pax-jsf-support: This feature uses pax-cdi-openwebbeans including the openwebbeans bundles-*/1.2.6 when including bundles should be 1.5.0 or higher. If use pax-cdi-web-weld, the first time I run the distribution get the following error in console (not in log): karaf@root()> ERROR: Bundle servicecdi-impl [166] EventDispatcher: Error during dispatch. (java.lang.NullPointerException) java.lang.NullPointerException at org.ops4j.pax.cdi.extension.impl.ServiceEventBridge.serviceChanged(Se rviceEventBridge.java:50) at org.apache.felix.framework.util.EventDispatcher.invokeServiceListener Callback(EventDispatcher.java:991) at org.apache.felix.framework.util.EventDispatcher.fireEventImmediately( EventDispatcher.java:839) at org.apache.felix.framework.util.EventDispatcher.fireServiceEvent(Even tDispatcher.java:546) at org.apache.felix.framework.Felix.fireServiceEvent(Felix.java:4557) at org.apache.felix.framework.Felix.registerService(Felix.java:3549) at org.apache.felix.framework.BundleContextImpl.registerService(BundleCo ntextImpl.java:348) at org.apache.felix.framework.BundleContextImpl.registerService(BundleCo ntextImpl.java:322) at org.hibernate.osgi.HibernateBundleActivator.start(HibernateBundleActi vator.java:93) at org.apache.felix.framework.util.SecureAction.startActivator(SecureAct ion.java:697) at org.apache.felix.framework.Felix.activateBundle(Felix.java:2226) at org.apache.felix.framework.Felix.startBundle(Felix.java:2144) at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:998) at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:984) at org.apache.karaf.features.internal.service.FeaturesServiceImpl.startB undle(FeaturesServiceImpl.java:1189) at org.apache.karaf.features.internal.service.Deployer.deploy(Deployer.j ava:836) at org.apache.karaf.features.internal.service.FeaturesServiceImpl.doProv ision(FeaturesServiceImpl.java:1079) at org.apache.karaf.features.internal.service.FeaturesServiceImpl$1.call (FeaturesServiceImpl.java:975) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor. java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor .java:617) at java.lang.Thread.run(Thread.java:745) -- View this message in context: http://karaf.922171.n3.nabble.com/Karaf-4-0-3-pax-cdi-exception-tp4043520.html Sent from the Karaf - User mailing list archive at Nabble.com.