Hi,

camel-cxf is a feature which depend on cxf-jaxrs/cxf-jaxws feature etc.

The workaround for now is edit 
SMX5_HOME/system/org/apache/cxf/karaf/apache-cxf/2.7.3/apache-cxf-2.7.3-features.xml,
find
<bundle start-level='10'  
dependency="true">mvn:org.apache.servicemix.specs/org.apache.servicemix.specs.jsr339-api-m10/2.2.0</bundle>
and remove 
dependency="true"
so the bundle should be like
<bundle 
start-level='10'>mvn:org.apache.servicemix.specs/org.apache.servicemix.specs.jsr339-api-m10/2.2.0</bundle>

And yeah, please fill a smx jira, the issue should be addressed on CXF in the 
end but we can add a workaround for smx5 now to fix it.
-------------
Freeman(Yue) Fang

Red Hat, Inc. 
FuseSource is now part of Red Hat
Web: http://fusesource.com | http://www.redhat.com/
Twitter: freemanfang
Blog: http://freemanfang.blogspot.com
http://blog.sina.com.cn/u/1473905042
weibo: @Freeman小屋

On 2013-4-9, at 上午5:40, alanfoster wrote:

> I was trying to investigate this issue, and I noticed that inside
> servicemix/etc/org.apache.karaf.features.cfg there is the following:
> 
> #
> # Comma separated list of features to install at startup
> #
> featuresBoot=karaf-framework,config,activemq-broker,cxf-specs,camel,camel-cxf,camel-blueprint,war
> 
> Which I think is trying to install camel-cxf by default. If i understand
> correctly camel-cxf is a bundle which depends on both cxf-jaxws and
> cxf-jaxrs? Because I can see in the log on a fresh statup the following
> error as well
> 
> 2013-04-08 22:34:57,855 | WARN  | Thread-6         | FeaturesServiceImpl
>      | ?                                   ? | 42 -
> org.apache.karaf.features.c
> ore - 2.3.1 | Error when installing feature camel-cxf: java.lang.Exception:
> Can
> not resolve feature:
> Unsatisfied requirement(s):
> ---------------------------
>   package:(&(package=javax.ws.rs)(version>=2.0.0)(!(version>=3.0.0)))
>      Apache CXF JAX-RS Extensions: Providers
>   package:(&(package=javax.ws.rs.core)(version>=2.0.0)(!(version>=3.0.0)))
>      Apache CXF JAX-RS Extensions: Search
>   package:(&(package=javax.ws.rs.ext)(version>=2.0.0)(!(version>=3.0.0)))
>      Apache CXF JAX-RS Extensions: Providers
>   package:(&(package=javax.ws.rs.core)(version>=2.0.0)(!(version>=3.0.0)))
>      Apache CXF Runtime JAX-RS Frontend
> 
> package:(&(package=javax.ws.rs.client)(version>=2.0.0)(!(version>=3.0.0)))
>      Apache CXF Runtime JAX-RS Frontend
>   package:(&(package=javax.ws.rs.core)(version>=2.0.0)(!(version>=3.0.0)))
>      Apache CXF JAX-RS Extensions: Providers
>   package:(&(package=javax.ws.rs.ext)(version>=2.0.0)(!(version>=3.0.0)))
>      Apache CXF Runtime JAX-RS Frontend
> 
> package:(&(package=javax.ws.rs.container)(version>=2.0.0)(!(version>=3.0.0)))
> 
>      Apache CXF Runtime JAX-RS Frontend
>   package:(&(package=javax.ws.rs)(version>=2.0.0)(!(version>=3.0.0)))
>      Apache CXF Runtime JAX-RS Frontend
>   package:(&(package=javax.ws.rs.ext)(version>=2.0.0)(!(version>=3.0.0)))
>      Apache CXF JAX-RS Extensions: Search
> 
> Unfortunately I don't know the best way to fix this issue :( Shall I raise a
> Jira issue for this maybe?
> 
> 
> 
> 
> --
> View this message in context: 
> http://servicemix.396122.n5.nabble.com/features-install-cxf-jaxrs-SMX-5-0-SNAPSHOT-error-tp5716427p5716428.html
> Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to