You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Jean-Baptiste Onofré (Jira)" <ji...@apache.org> on 2019/11/19 13:05:00 UTC
[jira] [Resolved] (KARAF-6521) openjpa feature can't be installed
[ https://issues.apache.org/jira/browse/KARAF-6521?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jean-Baptiste Onofré resolved KARAF-6521.
-----------------------------------------
Fix Version/s: (was: 4.2.8)
(was: 4.3.0)
Resolution: Not A Problem
{{openjpa3}} feature (provided by Karaf) should be used (not {{openjpa}} feature provided by OpenJPA).
> openjpa feature can't be installed
> ----------------------------------
>
> Key: KARAF-6521
> URL: https://issues.apache.org/jira/browse/KARAF-6521
> Project: Karaf
> Issue Type: Bug
> Components: karaf
> Affects Versions: 4.2.7
> Reporter: Jean-Baptiste Onofré
> Assignee: Jean-Baptiste Onofré
> Priority: Major
>
> While trying to install {{openjpa}} feature, we got:
> {code:java}
> karaf@root()> feature:install -v openjpa
> Adding features: openjpa/[3.0.0,3.0.0]
> org.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:393)
> at org.apache.karaf.features.internal.service.FeaturesServiceImpl.doProvision(FeaturesServiceImpl.java:1062)
> at org.apache.karaf.features.internal.service.FeaturesServiceImpl.lambda$doProvisionInThread$13(FeaturesServiceImpl.java:998)
> 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 more
> Caused 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 more
> Error 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)))"]]
> {code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)