Ok, This is because in Karaf 4.2.2 the version of both XBean and ASM was updated to 4.12 for XBean and 7 for ASM. The problem is in the OpenJPA feature. We will check this, thanks for the report ;) regards, Francois Envoyé depuis mon smartphone Samsung Galaxy. -------- Message d'origine --------De : Matteo Rulli <matteo.ru...@gmail.com> Date : 26/12/2018 22:12 (GMT+04:00) À : user@karaf.apache.org Objet : Re: Openjpa feature resolution error on Karaf 4.2.2 The error is this: feature:install openjpaorg.apache.felix.resolver.reason.ReasonException: Unable to resolve root: missing requirement [root] osgi.identity; osgi.identity=openjpa; type=karaf.feature; version="[3.0.0,3.0.0]"; filter:="(&(osgi.identity=openjpa)(type=karaf.feature)(version>=3.0.0)(version<=3.0.0))" [caused by: Unable to resolve openjpa/3.0.0: missing requirement [openjpa/3.0.0] osgi.identity; osgi.identity=org.apache.openjpa; type=osgi.bundle; version="[3.0.0,3.0.0]"; resolution:=mandatory [caused by: Unable to resolve org.apache.openjpa/3.0.0: missing requirement [org.apache.openjpa/3.0.0] osgi.wiring.package; filter:="(&(osgi.wiring.package=org.apache.xbean.asm6)(version>=6.1.0)(!(version>=7.0.0)))"]] at org.apache.felix.resolver.Candidates$MissingRequirementError.toException(Candidates.java:1343) at org.apache.felix.resolver.ResolverImpl.doResolve(ResolverImpl.java:392) at org.apache.felix.resolver.ResolverImpl.resolve(ResolverImpl.java:378) at org.apache.felix.resolver.ResolverImpl.resolve(ResolverImpl.java:332) at org.apache.karaf.features.internal.region.SubsystemResolver.resolve(SubsystemResolver.java:257) at org.apache.karaf.features.internal.service.Deployer.deploy(Deployer.java:388) at org.apache.karaf.features.internal.service.FeaturesServiceImpl.doProvision(FeaturesServiceImpl.java:1025) at org.apache.karaf.features.internal.service.FeaturesServiceImpl.lambda$doProvisionInThread$13(FeaturesServiceImpl.java:964) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748)Caused by: org.apache.felix.resolver.reason.ReasonException: Unable to resolve openjpa/3.0.0: missing requirement [openjpa/3.0.0] osgi.identity; osgi.identity=org.apache.openjpa; type=osgi.bundle; version="[3.0.0,3.0.0]"; resolution:=mandatory [caused by: Unable to resolve org.apache.openjpa/3.0.0: missing requirement [org.apache.openjpa/3.0.0] osgi.wiring.package; filter:="(&(osgi.wiring.package=org.apache.xbean.asm6)(version>=6.1.0)(!(version>=7.0.0)))"] at org.apache.felix.resolver.Candidates$MissingRequirementError.toException(Candidates.java:1343) ... 12 moreCaused by: org.apache.felix.resolver.reason.ReasonException: Unable to resolve org.apache.openjpa/3.0.0: missing requirement [org.apache.openjpa/3.0.0] osgi.wiring.package; filter:="(&(osgi.wiring.package=org.apache.xbean.asm6)(version>=6.1.0)(!(version>=7.0.0)))" at org.apache.felix.resolver.Candidates$MissingRequirementError.toException(Candidates.java:1343) ... 13 moreError executing command: Unable to resolve root: missing requirement [root] osgi.identity; osgi.identity=openjpa; type=karaf.feature; version="[3.0.0,3.0.0]"; filter:="(&(osgi.identity=openjpa)(type=karaf.feature)(version>=3.0.0)(version<=3.0.0))" [caused by: Unable to resolve openjpa/3.0.0: missing requirement [openjpa/3.0.0] osgi.identity; osgi.identity=org.apache.openjpa; type=osgi.bundle; version="[3.0.0,3.0.0]"; resolution:=mandatory [caused by: Unable to resolve org.apache.openjpa/3.0.0: missing requirement [org.apache.openjpa/3.0.0] osgi.wiring.package; filter:="(&(osgi.wiring.package=org.apache.xbean.asm6)(version>=6.1.0)(!(version>=7.0.0)))"]] I managed to fix this installing the following bundle install mvn:org.apache.xbean/xbean-asm6-shaded/4.10 My java version: java version "1.8.0_161" Thanks,Matteo
On 26 Dec 2018, at 19:09, Francois Papon <francois.pa...@openobject.fr> wrote: Hi Matteo, We can't see the error on your message. Can you re paste it please? Regards, François Papon fpa...@apache.org Le 26/12/2018 à 22:03, matteor a écrit : Hello, I'm trying to upgrade to Karaf 4.2.2 but I get the following error with the openjpa feature: Is this a known issue? Any workaround available? Thanks, Matteo -- Sent from: http://karaf.922171.n3.nabble.com/Karaf-User-f930749.html