You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@karaf.apache.org by Oleg Cohen <ol...@assurebridge.com> on 2020/12/28 15:44:45 UTC
Camel 3.7.0 and Karaf 4.3.0
Greetings,
Happy Holidays!
I have a question. I just migrated to Karaf 4.3.0 and Camel 3.7.0. It went
well, however, I had to remove two features that I previously had installed:
*camel-jetty*
*camel-paxlogging*
There were a number of errors/dependency issues and I simply ended up
removing these two.
I am wondering what those were for and what, if any, capabilities have I
lost.
Would appreciate any insight!
Cheers,
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: Oleg.Cohen@assurebridge.com <Ol...@assurebridge.com> **|
www.assurebridge.com <http://www.assurebridge.com>*
Re: Camel 3.7.0 and Karaf 4.3.0
Posted by Jean-Baptiste Onofre <jb...@nanthrax.net>.
Hi,
I’m working on 4.3.1 preparation right now. I hope to have it on vote for the end of the week.
Regards
JB
> Le 29 déc. 2020 à 15:53, Oleg Cohen <ol...@assurebridge.com> a écrit :
>
> Thank you, JB, it is great!
>
> When is 4.3.1 targeted for?
>
> Best,
> Oleg
>
> On Tue, Dec 29, 2020 at 9:52 AM Jean-Baptiste Onofre <jb@nanthrax.net <ma...@nanthrax.net>> wrote:
> Hi Oleg,
>
> Thanks and it confirms what I said in my previous email:
> - for camel-jetty, missing jetty feature, fixed in Karaf 4.3.1
> - for camel-paxlogging, import range should be extended (I will fix that in Camel Karaf).
>
> Regards
> JB
>
>> Le 29 déc. 2020 à 10:36, Oleg Cohen <oleg.cohen@assurebridge.com <ma...@assurebridge.com>> a écrit :
>>
>> Thank you for looking into these, JB!
>>
>> Yes, below are the errors I got when trying to install these two features.
>>
>> Best regards,
>> Oleg
>>
>> 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.7.0,3.7.0]"; filter:="(&(osgi.identity=camel-jetty)(type=karaf.feature)(version>=3.7.0)(version<=3.7.0))" [caused by: Unable to resolve camel-jetty/3.7.0: missing requirement [camel-jetty/3.7.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.7.0: missing requirement [camel-jetty/3.7.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.7.0,3.7.0]"; filter:="(&(osgi.identity=camel-jetty)(type=karaf.feature)(version>=3.7.0)(version<=3.7.0))" [caused by: Unable to resolve camel-jetty/3.7.0: missing requirement [camel-jetty/3.7.0] osgi.identity; osgi.identity=jetty; type=karaf.feature]
>>
>>
>> and
>>
>> 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.7.0,3.7.0]"; filter:="(&(osgi.identity=camel-paxlogging)(type=karaf.feature)(version>=3.7.0)(version<=3.7.0))" [caused by: Unable to resolve camel-paxlogging/3.7.0: missing requirement [camel-paxlogging/3.7.0] osgi.identity; osgi.identity=org.apache.camel.karaf.camel-paxlogging; type=osgi.bundle; version="[3.7.0,3.7.0]"; resolution:=mandatory [caused by: Unable to resolve org.apache.camel.karaf.camel-paxlogging/3.7.0: missing requirement [org.apache.camel.karaf.camel-paxlogging/3.7.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.7.0: missing requirement [camel-paxlogging/3.7.0] osgi.identity; osgi.identity=org.apache.camel.karaf.camel-paxlogging; type=osgi.bundle; version="[3.7.0,3.7.0]"; resolution:=mandatory [caused by: Unable to resolve org.apache.camel.karaf.camel-paxlogging/3.7.0: missing requirement [org.apache.camel.karaf.camel-paxlogging/3.7.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.7.0: missing requirement [org.apache.camel.karaf.camel-paxlogging/3.7.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.7.0,3.7.0]"; filter:="(&(osgi.identity=camel-paxlogging)(type=karaf.feature)(version>=3.7.0)(version<=3.7.0))" [caused by: Unable to resolve camel-paxlogging/3.7.0: missing requirement [camel-paxlogging/3.7.0] osgi.identity; osgi.identity=org.apache.camel.karaf.camel-paxlogging; type=osgi.bundle; version="[3.7.0,3.7.0]"; resolution:=mandatory [caused by: Unable to resolve org.apache.camel.karaf.camel-paxlogging/3.7.0: missing requirement [org.apache.camel.karaf.camel-paxlogging/3.7.0] osgi.wiring.package; filter:="(&(osgi.wiring.package=org.ops4j.pax.logging.spi)(version>=1.11.0)(!(version>=2.0.0)))"]]
>>
>>
>>
>>> On Dec 29, 2020, at 1:01 AM, Jean-Baptiste Onofre <jb@nanthrax.net <ma...@nanthrax.net>> wrote:
>>>
>>> Hi Oleg,
>>>
>>> Do you have the error ?
>>>
>>> For camel-jetty, I think it’s related to the jetty feature (it should be fixed with Karaf 4.3.1): jetty feature was removed to use pax-jetty, but Camel still reference jetty. For transition purpose, I added a jetty "meta" in coming Karaf 4.3.1.
>>>
>>> For camel-paxlogging, I’m suspecting the import range: camel-paxlogging reference paxlogging 1.11.2, with import range like [1,2). Whereas Karaf 4.3.x uses pax logging 2.x. So, at least camel-paxlogging should extend the range to [1,3) to work. I will create the Jira and do this change.
>>>
>>> Regards
>>> JB
>>>
>>>> Le 28 déc. 2020 à 16:44, Oleg Cohen <oleg.cohen@assurebridge.com <ma...@assurebridge.com>> a écrit :
>>>>
>>>> Greetings,
>>>>
>>>> Happy Holidays!
>>>>
>>>> I have a question. I just migrated to Karaf 4.3.0 and Camel 3.7.0. It went well, however, I had to remove two features that I previously had installed:
>>>>
>>>> camel-jetty
>>>> camel-paxlogging
>>>>
>>>> There were a number of errors/dependency issues and I simply ended up removing these two.
>>>>
>>>> I am wondering what those were for and what, if any, capabilities have I lost.
>>>>
>>>> Would appreciate any insight!
>>>>
>>>> Cheers,
>>>> 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: Oleg.Cohen@assurebridge.com <ma...@assurebridge.com> | www.assurebridge.com <http://www.assurebridge.com/>
>>
>
>
>
> --
> 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: Oleg.Cohen@assurebridge.com <ma...@assurebridge.com> | www.assurebridge.com <http://www.assurebridge.com/>
Re: Camel 3.7.0 and Karaf 4.3.0
Posted by Oleg Cohen <ol...@assurebridge.com>.
Thank you, JB, it is great!
When is 4.3.1 targeted for?
Best,
Oleg
On Tue, Dec 29, 2020 at 9:52 AM Jean-Baptiste Onofre <jb...@nanthrax.net>
wrote:
> Hi Oleg,
>
> Thanks and it confirms what I said in my previous email:
> - for camel-jetty, missing jetty feature, fixed in Karaf 4.3.1
> - for camel-paxlogging, import range should be extended (I will fix that
> in Camel Karaf).
>
> Regards
> JB
>
> Le 29 déc. 2020 à 10:36, Oleg Cohen <ol...@assurebridge.com> a écrit
> :
>
> Thank you for looking into these, JB!
>
> Yes, below are the errors I got when trying to install these two features.
>
> Best regards,
> Oleg
>
> 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.7.0,3.7.0]";
> filter:="(&(osgi.identity=camel-jetty)(type=karaf.feature)(version>=3.7.0)(version<=3.7.0))"
> [caused by: Unable to resolve camel-jetty/3.7.0: missing requirement
> [camel-jetty/3.7.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.7.0: missing requirement [camel-jetty/3.7.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.7.0,3.7.0]";
> filter:="(&(osgi.identity=camel-jetty)(type=karaf.feature)(version>=3.7.0)(version<=3.7.0))"
> [caused by: Unable to resolve camel-jetty/3.7.0: missing requirement
> [camel-jetty/3.7.0] osgi.identity; osgi.identity=jetty; type=karaf.feature]*
>
>
> and
>
> 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.7.0,3.7.0]";
> filter:="(&(osgi.identity=camel-paxlogging)(type=karaf.feature)(version>=3.7.0)(version<=3.7.0))"
> [caused by: Unable to resolve camel-paxlogging/3.7.0: missing requirement
> [camel-paxlogging/3.7.0] osgi.identity;
> osgi.identity=org.apache.camel.karaf.camel-paxlogging; type=osgi.bundle;
> version="[3.7.0,3.7.0]"; resolution:=mandatory [caused by: Unable to
> resolve org.apache.camel.karaf.camel-paxlogging/3.7.0: missing requirement
> [org.apache.camel.karaf.camel-paxlogging/3.7.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.7.0: missing requirement
> [camel-paxlogging/3.7.0] osgi.identity;
> osgi.identity=org.apache.camel.karaf.camel-paxlogging; type=osgi.bundle;
> version="[3.7.0,3.7.0]"; resolution:=mandatory [caused by: Unable to
> resolve org.apache.camel.karaf.camel-paxlogging/3.7.0: missing requirement
> [org.apache.camel.karaf.camel-paxlogging/3.7.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.7.0: missing requirement
> [org.apache.camel.karaf.camel-paxlogging/3.7.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.7.0,3.7.0]";
> filter:="(&(osgi.identity=camel-paxlogging)(type=karaf.feature)(version>=3.7.0)(version<=3.7.0))"
> [caused by: Unable to resolve camel-paxlogging/3.7.0: missing requirement
> [camel-paxlogging/3.7.0] osgi.identity;
> osgi.identity=org.apache.camel.karaf.camel-paxlogging; type=osgi.bundle;
> version="[3.7.0,3.7.0]"; resolution:=mandatory [caused by: Unable to
> resolve org.apache.camel.karaf.camel-paxlogging/3.7.0: missing requirement
> [org.apache.camel.karaf.camel-paxlogging/3.7.0] osgi.wiring.package;
> filter:="(&(osgi.wiring.package=org.ops4j.pax.logging.spi)(version>=1.11.0)(!(version>=2.0.0)))"]]*
>
>
>
> On Dec 29, 2020, at 1:01 AM, Jean-Baptiste Onofre <jb...@nanthrax.net> wrote:
>
> Hi Oleg,
>
> Do you have the error ?
>
> For camel-jetty, I think it’s related to the jetty feature (it should be
> fixed with Karaf 4.3.1): jetty feature was removed to use pax-jetty, but
> Camel still reference jetty. For transition purpose, I added a jetty "meta"
> in coming Karaf 4.3.1.
>
> For camel-paxlogging, I’m suspecting the import range: camel-paxlogging
> reference paxlogging 1.11.2, with import range like [1,2). Whereas Karaf
> 4.3.x uses pax logging 2.x. So, at least camel-paxlogging should extend the
> range to [1,3) to work. I will create the Jira and do this change.
>
> Regards
> JB
>
> Le 28 déc. 2020 à 16:44, Oleg Cohen <ol...@assurebridge.com> a écrit
> :
>
> Greetings,
>
> Happy Holidays!
>
> I have a question. I just migrated to Karaf 4.3.0 and Camel 3.7.0. It went
> well, however, I had to remove two features that I previously had installed:
>
> *camel-jetty*
> *camel-paxlogging*
>
> There were a number of errors/dependency issues and I simply ended up
> removing these two.
>
> I am wondering what those were for and what, if any, capabilities have I
> lost.
>
> Would appreciate any insight!
>
> Cheers,
> 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: Oleg.Cohen@assurebridge.com <Ol...@assurebridge.com> **|
> www.assurebridge.com <http://www.assurebridge.com/>*
>
>
>
>
>
--
*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: Oleg.Cohen@assurebridge.com <Ol...@assurebridge.com> **|
www.assurebridge.com <http://www.assurebridge.com>*
Re: Camel 3.7.0 and Karaf 4.3.0
Posted by Jean-Baptiste Onofre <jb...@nanthrax.net>.
Hi Oleg,
Thanks and it confirms what I said in my previous email:
- for camel-jetty, missing jetty feature, fixed in Karaf 4.3.1
- for camel-paxlogging, import range should be extended (I will fix that in Camel Karaf).
Regards
JB
> Le 29 déc. 2020 à 10:36, Oleg Cohen <ol...@assurebridge.com> a écrit :
>
> Thank you for looking into these, JB!
>
> Yes, below are the errors I got when trying to install these two features.
>
> Best regards,
> Oleg
>
> 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.7.0,3.7.0]"; filter:="(&(osgi.identity=camel-jetty)(type=karaf.feature)(version>=3.7.0)(version<=3.7.0))" [caused by: Unable to resolve camel-jetty/3.7.0: missing requirement [camel-jetty/3.7.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.7.0: missing requirement [camel-jetty/3.7.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.7.0,3.7.0]"; filter:="(&(osgi.identity=camel-jetty)(type=karaf.feature)(version>=3.7.0)(version<=3.7.0))" [caused by: Unable to resolve camel-jetty/3.7.0: missing requirement [camel-jetty/3.7.0] osgi.identity; osgi.identity=jetty; type=karaf.feature]
>
>
> and
>
> 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.7.0,3.7.0]"; filter:="(&(osgi.identity=camel-paxlogging)(type=karaf.feature)(version>=3.7.0)(version<=3.7.0))" [caused by: Unable to resolve camel-paxlogging/3.7.0: missing requirement [camel-paxlogging/3.7.0] osgi.identity; osgi.identity=org.apache.camel.karaf.camel-paxlogging; type=osgi.bundle; version="[3.7.0,3.7.0]"; resolution:=mandatory [caused by: Unable to resolve org.apache.camel.karaf.camel-paxlogging/3.7.0: missing requirement [org.apache.camel.karaf.camel-paxlogging/3.7.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.7.0: missing requirement [camel-paxlogging/3.7.0] osgi.identity; osgi.identity=org.apache.camel.karaf.camel-paxlogging; type=osgi.bundle; version="[3.7.0,3.7.0]"; resolution:=mandatory [caused by: Unable to resolve org.apache.camel.karaf.camel-paxlogging/3.7.0: missing requirement [org.apache.camel.karaf.camel-paxlogging/3.7.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.7.0: missing requirement [org.apache.camel.karaf.camel-paxlogging/3.7.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.7.0,3.7.0]"; filter:="(&(osgi.identity=camel-paxlogging)(type=karaf.feature)(version>=3.7.0)(version<=3.7.0))" [caused by: Unable to resolve camel-paxlogging/3.7.0: missing requirement [camel-paxlogging/3.7.0] osgi.identity; osgi.identity=org.apache.camel.karaf.camel-paxlogging; type=osgi.bundle; version="[3.7.0,3.7.0]"; resolution:=mandatory [caused by: Unable to resolve org.apache.camel.karaf.camel-paxlogging/3.7.0: missing requirement [org.apache.camel.karaf.camel-paxlogging/3.7.0] osgi.wiring.package; filter:="(&(osgi.wiring.package=org.ops4j.pax.logging.spi)(version>=1.11.0)(!(version>=2.0.0)))"]]
>
>
>
>> On Dec 29, 2020, at 1:01 AM, Jean-Baptiste Onofre <jb@nanthrax.net <ma...@nanthrax.net>> wrote:
>>
>> Hi Oleg,
>>
>> Do you have the error ?
>>
>> For camel-jetty, I think it’s related to the jetty feature (it should be fixed with Karaf 4.3.1): jetty feature was removed to use pax-jetty, but Camel still reference jetty. For transition purpose, I added a jetty "meta" in coming Karaf 4.3.1.
>>
>> For camel-paxlogging, I’m suspecting the import range: camel-paxlogging reference paxlogging 1.11.2, with import range like [1,2). Whereas Karaf 4.3.x uses pax logging 2.x. So, at least camel-paxlogging should extend the range to [1,3) to work. I will create the Jira and do this change.
>>
>> Regards
>> JB
>>
>>> Le 28 déc. 2020 à 16:44, Oleg Cohen <oleg.cohen@assurebridge.com <ma...@assurebridge.com>> a écrit :
>>>
>>> Greetings,
>>>
>>> Happy Holidays!
>>>
>>> I have a question. I just migrated to Karaf 4.3.0 and Camel 3.7.0. It went well, however, I had to remove two features that I previously had installed:
>>>
>>> camel-jetty
>>> camel-paxlogging
>>>
>>> There were a number of errors/dependency issues and I simply ended up removing these two.
>>>
>>> I am wondering what those were for and what, if any, capabilities have I lost.
>>>
>>> Would appreciate any insight!
>>>
>>> Cheers,
>>> 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: Oleg.Cohen@assurebridge.com <ma...@assurebridge.com> | www.assurebridge.com <http://www.assurebridge.com/>
>
Re: Camel 3.7.0 and Karaf 4.3.0
Posted by Oleg Cohen <ol...@assurebridge.com>.
Thank you for looking into these, JB!
Yes, below are the errors I got when trying to install these two features.
Best regards,
Oleg
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.7.0,3.7.0]"; filter:="(&(osgi.identity=camel-jetty)(type=karaf.feature)(version>=3.7.0)(version<=3.7.0))" [caused by: Unable to resolve camel-jetty/3.7.0: missing requirement [camel-jetty/3.7.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.7.0: missing requirement [camel-jetty/3.7.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.7.0,3.7.0]"; filter:="(&(osgi.identity=camel-jetty)(type=karaf.feature)(version>=3.7.0)(version<=3.7.0))" [caused by: Unable to resolve camel-jetty/3.7.0: missing requirement [camel-jetty/3.7.0] osgi.identity; osgi.identity=jetty; type=karaf.feature]
and
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.7.0,3.7.0]"; filter:="(&(osgi.identity=camel-paxlogging)(type=karaf.feature)(version>=3.7.0)(version<=3.7.0))" [caused by: Unable to resolve camel-paxlogging/3.7.0: missing requirement [camel-paxlogging/3.7.0] osgi.identity; osgi.identity=org.apache.camel.karaf.camel-paxlogging; type=osgi.bundle; version="[3.7.0,3.7.0]"; resolution:=mandatory [caused by: Unable to resolve org.apache.camel.karaf.camel-paxlogging/3.7.0: missing requirement [org.apache.camel.karaf.camel-paxlogging/3.7.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.7.0: missing requirement [camel-paxlogging/3.7.0] osgi.identity; osgi.identity=org.apache.camel.karaf.camel-paxlogging; type=osgi.bundle; version="[3.7.0,3.7.0]"; resolution:=mandatory [caused by: Unable to resolve org.apache.camel.karaf.camel-paxlogging/3.7.0: missing requirement [org.apache.camel.karaf.camel-paxlogging/3.7.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.7.0: missing requirement [org.apache.camel.karaf.camel-paxlogging/3.7.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.7.0,3.7.0]"; filter:="(&(osgi.identity=camel-paxlogging)(type=karaf.feature)(version>=3.7.0)(version<=3.7.0))" [caused by: Unable to resolve camel-paxlogging/3.7.0: missing requirement [camel-paxlogging/3.7.0] osgi.identity; osgi.identity=org.apache.camel.karaf.camel-paxlogging; type=osgi.bundle; version="[3.7.0,3.7.0]"; resolution:=mandatory [caused by: Unable to resolve org.apache.camel.karaf.camel-paxlogging/3.7.0: missing requirement [org.apache.camel.karaf.camel-paxlogging/3.7.0] osgi.wiring.package; filter:="(&(osgi.wiring.package=org.ops4j.pax.logging.spi)(version>=1.11.0)(!(version>=2.0.0)))"]]
> On Dec 29, 2020, at 1:01 AM, Jean-Baptiste Onofre <jb...@nanthrax.net> wrote:
>
> Hi Oleg,
>
> Do you have the error ?
>
> For camel-jetty, I think it’s related to the jetty feature (it should be fixed with Karaf 4.3.1): jetty feature was removed to use pax-jetty, but Camel still reference jetty. For transition purpose, I added a jetty "meta" in coming Karaf 4.3.1.
>
> For camel-paxlogging, I’m suspecting the import range: camel-paxlogging reference paxlogging 1.11.2, with import range like [1,2). Whereas Karaf 4.3.x uses pax logging 2.x. So, at least camel-paxlogging should extend the range to [1,3) to work. I will create the Jira and do this change.
>
> Regards
> JB
>
>> Le 28 déc. 2020 à 16:44, Oleg Cohen <oleg.cohen@assurebridge.com <ma...@assurebridge.com>> a écrit :
>>
>> Greetings,
>>
>> Happy Holidays!
>>
>> I have a question. I just migrated to Karaf 4.3.0 and Camel 3.7.0. It went well, however, I had to remove two features that I previously had installed:
>>
>> camel-jetty
>> camel-paxlogging
>>
>> There were a number of errors/dependency issues and I simply ended up removing these two.
>>
>> I am wondering what those were for and what, if any, capabilities have I lost.
>>
>> Would appreciate any insight!
>>
>> Cheers,
>> 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: Oleg.Cohen@assurebridge.com <ma...@assurebridge.com> | www.assurebridge.com <http://www.assurebridge.com/>
Re: Camel 3.7.0 and Karaf 4.3.0
Posted by Jean-Baptiste Onofre <jb...@nanthrax.net>.
Hi Oleg,
Do you have the error ?
For camel-jetty, I think it’s related to the jetty feature (it should be fixed with Karaf 4.3.1): jetty feature was removed to use pax-jetty, but Camel still reference jetty. For transition purpose, I added a jetty "meta" in coming Karaf 4.3.1.
For camel-paxlogging, I’m suspecting the import range: camel-paxlogging reference paxlogging 1.11.2, with import range like [1,2). Whereas Karaf 4.3.x uses pax logging 2.x. So, at least camel-paxlogging should extend the range to [1,3) to work. I will create the Jira and do this change.
Regards
JB
> Le 28 déc. 2020 à 16:44, Oleg Cohen <ol...@assurebridge.com> a écrit :
>
> Greetings,
>
> Happy Holidays!
>
> I have a question. I just migrated to Karaf 4.3.0 and Camel 3.7.0. It went well, however, I had to remove two features that I previously had installed:
>
> camel-jetty
> camel-paxlogging
>
> There were a number of errors/dependency issues and I simply ended up removing these two.
>
> I am wondering what those were for and what, if any, capabilities have I lost.
>
> Would appreciate any insight!
>
> Cheers,
> 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: Oleg.Cohen@assurebridge.com <ma...@assurebridge.com> | www.assurebridge.com <http://www.assurebridge.com/>