Re: Issues with installing camel-jetty and camel-paxlogging features on 4.3.0

2020-10-31 Thread Jean-Baptiste Onofre
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:


  pax-web-jetty


2. I will update Camel.

Regards
JB

> Le 31 oct. 2020 à 11:57, Oleg Cohen  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; 

Issues with installing camel-jetty and camel-paxlogging features on 4.3.0

2020-10-31 Thread Oleg Cohen
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: 

Re: org.apache.karaf.features.xml and repo blacklisting in 4.3.0

2020-10-31 Thread Oleg Cohen
Never mind :-) 

Sorry, it is working.

Thank you again!

> On Oct 31, 2020, at 6:41 AM, Oleg Cohen  wrote:
> 
> Hi JB,
> 
> Thank you for clarifying! 
> 
> I added the file, but the blacklisting isn’t kicking in. I still see the 
> repos in the list.
> 
> Regards,
> Oleg
> 
>> On Oct 31, 2020, at 6:40 AM, Jean-Baptiste Onofré > > wrote:
>> 
>> Hi
>> 
>> You can add the file yourself. The reason of the presence in 4.2.x is to 
>> avoid to get features from 4.3 in 4.2. 
>> 
>> Regards 
>> JB
>> 
>> Le sam. 31 oct. 2020 ? 11:36, Oleg Cohen > > a ?crit :
>> Greetings, 
>> 
>> I am trying the new 4.3.0. 
>> 
>> I noticed that org.apache.karaf.features.xml file is not in the 
>> distribution. When I added one I had in 4.2.10, blacklisting is not going in 
>> effect. 
>> 
>> Is there perhaps a new mechanism for managing blacklisting of repos? 
>> 
>> Thank you! 
>> Oleg
> 



Re: org.apache.karaf.features.xml and repo blacklisting in 4.3.0

2020-10-31 Thread Oleg Cohen
Hi JB,

Thank you for clarifying! 

I added the file, but the blacklisting isn’t kicking in. I still see the repos 
in the list.

Regards,
Oleg

> On Oct 31, 2020, at 6:40 AM, Jean-Baptiste Onofré  wrote:
> 
> Hi
> 
> You can add the file yourself. The reason of the presence in 4.2.x is to 
> avoid to get features from 4.3 in 4.2. 
> 
> Regards 
> JB
> 
> Le sam. 31 oct. 2020 ? 11:36, Oleg Cohen  a 
> ?crit :
> Greetings, 
> 
> I am trying the new 4.3.0. 
> 
> I noticed that org.apache.karaf.features.xml file is not in the distribution. 
> When I added one I had in 4.2.10, blacklisting is not going in effect. 
> 
> Is there perhaps a new mechanism for managing blacklisting of repos? 
> 
> Thank you! 
> Oleg



Re: org.apache.karaf.features.xml and repo blacklisting in 4.3.0

2020-10-31 Thread Jean-Baptiste Onofré
HiYou can add the file yourself. The reason of the presence in 4.2.x is to avoid to get features from 4.3 in 4.2. Regards JBLe sam. 31 oct. 2020 ? 11:36, Oleg Cohen  a ?crit :Greetings,

I am trying the new 4.3.0.

I noticed that org.apache.karaf.features.xml file is not in the distribution. When I added one I had in 4.2.10, blacklisting is not going in effect.

Is there perhaps a new mechanism for managing blacklisting of repos?

Thank you!
Oleg

org.apache.karaf.features.xml and repo blacklisting in 4.3.0

2020-10-31 Thread Oleg Cohen
Greetings,

I am trying the new 4.3.0.

I noticed that org.apache.karaf.features.xml file is not in the distribution. 
When I added one I had in 4.2.10, blacklisting is not going in effect.

Is there perhaps a new mechanism for managing blacklisting of repos?

Thank you!
Oleg