Hi, Yes, jetty feature has been removed, in order to use pax-web.
Some other features (like camel one) can relay on this one. Possible workaround: 1. Add a feature like this: <feature name="jetty" version="9.4.x"> <feature>pax-web-jetty</feature> </feature> 2. I will update Camel. Regards JB > Le 31 oct. 2020 à 11:57, Oleg Cohen <[email protected]> a écrit : > > Greetings, > > As I navigate through trying my stuff on 4.3.0 I ran into the following two > issues: > > 1. Get the following error when I try to install camel-jetty > > karaf@root()> feature:install camel-jetty > org.apache.felix.resolver.reason.ReasonException: Unable to resolve root: > missing requirement [root] osgi.identity; osgi.identity=camel-jetty; > type=karaf.feature; version="[3.6.0,3.6.0]"; > filter:="(&(osgi.identity=camel-jetty)(type=karaf.feature)(version>=3.6.0)(version<=3.6.0))" > [caused by: Unable to resolve camel-jetty/3.6.0: missing requirement > [camel-jetty/3.6.0] osgi.identity; osgi.identity=jetty; type=karaf.feature] > at > org.apache.felix.resolver.Candidates$MissingRequirementError.toException(Candidates.java:1341) > at org.apache.felix.resolver.ResolverImpl.doResolve(ResolverImpl.java:434) > at org.apache.felix.resolver.ResolverImpl.resolve(ResolverImpl.java:421) > at org.apache.felix.resolver.ResolverImpl.resolve(ResolverImpl.java:375) > at > org.apache.karaf.features.internal.region.SubsystemResolver.resolve(SubsystemResolver.java:257) > at > org.apache.karaf.features.internal.service.Deployer.deploy(Deployer.java:392) > 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.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) > at > java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) > at > java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) > at java.base/java.lang.Thread.run(Thread.java:834) > Caused by: org.apache.felix.resolver.reason.ReasonException: Unable to > resolve camel-jetty/3.6.0: missing requirement [camel-jetty/3.6.0] > osgi.identity; osgi.identity=jetty; type=karaf.feature > at > org.apache.felix.resolver.Candidates$MissingRequirementError.toException(Candidates.java:1341) > ... 12 more > Error executing command: Unable to resolve root: missing requirement [root] > osgi.identity; osgi.identity=camel-jetty; type=karaf.feature; > version="[3.6.0,3.6.0]"; > filter:="(&(osgi.identity=camel-jetty)(type=karaf.feature)(version>=3.6.0)(version<=3.6.0))" > [caused by: Unable to resolve camel-jetty/3.6.0: missing requirement > [camel-jetty/3.6.0] osgi.identity; osgi.identity=jetty; type=karaf.feature] > > 2. Get the following error when I try to install camel-paxlogging > > karaf@root()> feature:install camel-paxlogging > org.apache.felix.resolver.reason.ReasonException: Unable to resolve root: > missing requirement [root] osgi.identity; osgi.identity=camel-paxlogging; > type=karaf.feature; version="[3.6.0,3.6.0]"; > filter:="(&(osgi.identity=camel-paxlogging)(type=karaf.feature)(version>=3.6.0)(version<=3.6.0))" > [caused by: Unable to resolve camel-paxlogging/3.6.0: missing requirement > [camel-paxlogging/3.6.0] osgi.identity; > osgi.identity=org.apache.camel.karaf.camel-paxlogging; type=osgi.bundle; > version="[3.6.0,3.6.0]"; resolution:=mandatory [caused by: Unable to resolve > org.apache.camel.karaf.camel-paxlogging/3.6.0: missing requirement > [org.apache.camel.karaf.camel-paxlogging/3.6.0] osgi.wiring.package; > filter:="(&(osgi.wiring.package=org.ops4j.pax.logging.spi)(version>=1.11.0)(!(version>=2.0.0)))"]] > at > org.apache.felix.resolver.Candidates$MissingRequirementError.toException(Candidates.java:1341) > at org.apache.felix.resolver.ResolverImpl.doResolve(ResolverImpl.java:434) > at org.apache.felix.resolver.ResolverImpl.resolve(ResolverImpl.java:421) > at org.apache.felix.resolver.ResolverImpl.resolve(ResolverImpl.java:375) > at > org.apache.karaf.features.internal.region.SubsystemResolver.resolve(SubsystemResolver.java:257) > at > org.apache.karaf.features.internal.service.Deployer.deploy(Deployer.java:392) > 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.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) > at > java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) > at > java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) > at java.base/java.lang.Thread.run(Thread.java:834) > Caused by: org.apache.felix.resolver.reason.ReasonException: Unable to > resolve camel-paxlogging/3.6.0: missing requirement [camel-paxlogging/3.6.0] > osgi.identity; osgi.identity=org.apache.camel.karaf.camel-paxlogging; > type=osgi.bundle; version="[3.6.0,3.6.0]"; resolution:=mandatory [caused by: > Unable to resolve org.apache.camel.karaf.camel-paxlogging/3.6.0: missing > requirement [org.apache.camel.karaf.camel-paxlogging/3.6.0] > osgi.wiring.package; > filter:="(&(osgi.wiring.package=org.ops4j.pax.logging.spi)(version>=1.11.0)(!(version>=2.0.0)))"] > at > org.apache.felix.resolver.Candidates$MissingRequirementError.toException(Candidates.java:1341) > ... 12 more > Caused by: org.apache.felix.resolver.reason.ReasonException: Unable to > resolve org.apache.camel.karaf.camel-paxlogging/3.6.0: missing requirement > [org.apache.camel.karaf.camel-paxlogging/3.6.0] osgi.wiring.package; > filter:="(&(osgi.wiring.package=org.ops4j.pax.logging.spi)(version>=1.11.0)(!(version>=2.0.0)))" > at > org.apache.felix.resolver.Candidates$MissingRequirementError.toException(Candidates.java:1341) > ... 13 more > Error executing command: Unable to resolve root: missing requirement [root] > osgi.identity; osgi.identity=camel-paxlogging; type=karaf.feature; > version="[3.6.0,3.6.0]"; > filter:="(&(osgi.identity=camel-paxlogging)(type=karaf.feature)(version>=3.6.0)(version<=3.6.0))" > [caused by: Unable to resolve camel-paxlogging/3.6.0: missing requirement > [camel-paxlogging/3.6.0] osgi.identity; > osgi.identity=org.apache.camel.karaf.camel-paxlogging; type=osgi.bundle; > version="[3.6.0,3.6.0]"; resolution:=mandatory [caused by: Unable to resolve > org.apache.camel.karaf.camel-paxlogging/3.6.0: missing requirement > [org.apache.camel.karaf.camel-paxlogging/3.6.0] osgi.wiring.package; > filter:="(&(osgi.wiring.package=org.ops4j.pax.logging.spi)(version>=1.11.0)(!(version>=2.0.0)))"]] > > Wondering if anybody else ran into the same issues and if there are any > workarounds? > > There are a number of other camel features that installed with no problems. > > Here is my full list: > > <feature>camel-core</feature> > <feature>camel-blueprint</feature> > <feature>camel-stream</feature> > <feature>camel-mail</feature> > <feature>camel-servlet</feature> > <feature>camel-jackson</feature> > <feature>camel-jacksonxml</feature> > <feature>camel-jaxb</feature> > <feature>camel-rest-openapi</feature> > <feature>camel-rest-swagger</feature> > <feature>camel-jetty</feature> > <feature>camel-quartz</feature> > <feature>camel-paxlogging</feature> > > Thank you! > Oleg > > > -- > Oleg Cohen | Principal | A S S U R E B R I D G E > Office: +1 617 564 0737 <> | Mobile: +1 617 455 7927 <> | Fax: +1 888 409 > 6995 <> > Email: [email protected] <mailto:[email protected]> | > www.assurebridge.com <http://www.assurebridge.com/>
