Hi, my first time on the list :)

I'm using karaf 2.4.1 (can't change version) and want to test dosgi. I'm
following some tutorials, mainly lessons 4 & 8 in
http://www.liquid-reality.de/, but can't make dosgi startup in karaf. I'm
stucked here (the versions shown below give the less errors, others give
thougher errors):

karaf@root> features:chooseurl cxf-dosgi 1.4.0
Adding feature url mvn:org.apache.cxf.dosgi/cxf-dosgi/1.4.0/xml/features

(good!)

karaf@root> features:install cxf-dosgi-discovery-distributed
Error executing command: Can't install feature
cxf-dosgi-discovery-distributed/0.0.0:
Could not start bundle mvn:org.apache.cxf.dosgi/cxf-dosgi-ri-dsw-cxf/1.4.0
in feature(s) cxf-dosgi-core-1.4.0: Unresolved constraint in bundle
cxf-dosgi-ri-dsw-cxf [216]: Unable to resolve 216.0: missing requirement
[216.0] osgi.wiring.package;
(&(osgi.wiring.package=org.apache.cxf)(version>=2.7.0)(!(version>=3.0.0)))

(oops, ok, let's provide cxf)...

karaf@root> features:chooseurl cxf 2.7.4
Adding feature url mvn:org.apache.cxf.karaf/apache-cxf/2.7.4/xml/features

(ok)

karaf@root> features:install cxf

(ok, and here we go again:)

karaf@root> features:install cxf-dosgi-discovery-distributed
Error executing command: Can't install feature
cxf-dosgi-discovery-distributed/0.0.0:
Could not start bundle mvn:org.apache.cxf.dosgi/cxf-dosgi-ri-dsw-cxf/1.4.0
in feature(s) cxf-dosgi-core-1.4.0: Unresolved constraint in bundle
cxf-dosgi-ri-dsw-cxf [223]: Unable to resolve 223.0: missing requirement
[223.0] osgi.wiring.package;
(&(osgi.wiring.package=org.apache.cxf)(version>=2.7.0)(!(version>=3.0.0)))

karaf@root> list|grep cxf
[ 197] [Active     ] [Created     ] [       ] [   50] camel-cxf-transport
(2.14.1)
[ 198] [Active     ] [Created     ] [       ] [   50] camel-cxf (2.14.1)

Why? I'm on the right version, providing the right package! As said, with
other versions I get other errors, mainly if I use cxf 3.1.0 or higher :
google for "joda-time via two dependency chains"

Any help on this will be welcome, thanks in advance.

Greets. R.

Reply via email to