[ 
https://issues.apache.org/jira/browse/CAMEL-17137?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17434845#comment-17434845
 ] 

Kiryanov Vlad commented on CAMEL-17137:
---------------------------------------

Yes.

I do in karaf console:

repo-add camel 3.11.3

feature:install camel

feature:install camel-cxf

and get error

I try add cxf and get error

karaf@root()> feature:install cxf
Error executing command: No matching features for cxf/0

I try to list all cxf components

karaf@root()> feature:list | grep cxf
camel-cxf │ 3.11.3 │ │ Uninstalled │ camel-3.11.3 │

---------

I try in camel 3.11.0 and get list cxf components

karaf@root()> feature:list | grep cxf
...
...
cxf │ 3.5.0.SNAPSHOT │ │ Uninstalled │ cxf-3.5.0-SNAPSHOT
cxf-sts │ 3.5.0.SNAPSHOT │ │ Uninstalled │ cxf-3.5.0-SNAPSHOT
cxf-wsn-api │ 3.5.0.SNAPSHOT │ │ Uninstalled │ cxf-3.5.0-SNAPSHOT
cxf-wsn │ 3.5.0.SNAPSHOT │ │ Uninstalled │ cxf-3.5.0-SNAPSHOT
cxf-ws-discovery-api │ 3.5.0.SNAPSHOT │ │ Uninstalled │ cxf-3.5.0-SNAPSHOT
cxf-ws-discovery │ 3.5.0.SNAPSHOT │ │ Uninstalled │ cxf-3.5.0-SNAPSHOT
cxf-bean-validation-core │ 3.5.0.SNAPSHOT │ │ Uninstalled │ cxf-3.5.0-SNAPSHOT
cxf-bean-validation │ 3.5.0.SNAPSHOT │ │ Uninstalled │ cxf-3.5.0-SNAPSHOT
cxf-jaxrs-cdi │ 3.5.0.SNAPSHOT │ │ Uninstalled │ cxf-3.5.0-SNAPSHOT
camel-cxf │ 3.11.0 │ x │ Started │ camel-3.11.0

 

> camel-karaf - Error while adding camel-cxf
> ------------------------------------------
>
>                 Key: CAMEL-17137
>                 URL: https://issues.apache.org/jira/browse/CAMEL-17137
>             Project: Camel
>          Issue Type: Bug
>          Components: came-cxf, karaf
>    Affects Versions: 3.11.3
>            Reporter: Kiryanov Vlad
>            Priority: Minor
>         Attachments: karaf.log
>
>
> Hello!
> In Karaf 4.3.2 while add camel-cxf an error occurs
> 2021-10-27T11:59:22,050 | ERROR | Karaf local console user karaf | ShellUtil 
> | 43 - org.apache.karaf.shell.core - 4.3.2 | Exception caught while executing 
> command
> org.apache.felix.resolver.reason.ReasonException: Unable to resolve root: 
> missing requirement [root] osgi.identity; osgi.identity=camel-cxf; 
> type=karaf.feature; version="[3.11.3,3.11.3]"; 
> filter:="(&(osgi.identity=camel-cxf)(type=karaf.feature)(version>=3.11.3)(version<=3.11.3))"
>  [caused by: Unable to resolve camel-cxf/3.11.3: missing requirement 
> [camel-cxf/3.11.3] osgi.identity; osgi.identity=cxf-core; type=karaf.feature; 
> version="[3.3.0,4.0.0)"]
>  at 
> org.apache.felix.resolver.Candidates$MissingRequirementError.toException(Candidates.java:1341)
>  ~[?:?]
>  at org.apache.felix.resolver.ResolverImpl.doResolve(ResolverImpl.java:433) 
> ~[?:?]
>  at org.apache.felix.resolver.ResolverImpl.resolve(ResolverImpl.java:420) 
> ~[?:?]
>  at org.apache.felix.resolver.ResolverImpl.resolve(ResolverImpl.java:374) 
> ~[?:?]
>  at 
> org.apache.karaf.features.internal.region.SubsystemResolver.resolve(SubsystemResolver.java:257)
>  ~[?:?]
>  at 
> org.apache.karaf.features.internal.service.Deployer.deploy(Deployer.java:399) 
> ~[?:?]
>  at 
> org.apache.karaf.features.internal.service.FeaturesServiceImpl.doProvision(FeaturesServiceImpl.java:1069)
>  ~[?:?]
>  at 
> org.apache.karaf.features.internal.service.FeaturesServiceImpl.lambda$doProvisionInThread$13(FeaturesServiceImpl.java:1004)
>  ~[?:?]
>  at java.util.concurrent.FutureTask.run(FutureTask.java:264) ~[?:?]
>  at 
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
>  ~[?:?]
>  at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
>  ~[?:?]
>  at java.lang.Thread.run(Thread.java:834) [?:?]
> Caused by: org.apache.felix.resolver.reason.ReasonException: Unable to 
> resolve camel-cxf/3.11.3: missing requirement [camel-cxf/3.11.3] 
> osgi.identity; osgi.identity=cxf-core; type=karaf.feature; 
> version="[3.3.0,4.0.0)"
>  at 
> org.apache.felix.resolver.Candidates$MissingRequirementError.toException(Candidates.java:1341)
>  ~[?:?]
>  ... 12 more



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to