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