Hey Christian! Nice finding you! Thanks for the tutorials, they are really
nice. If you run for president, you have my vote :)

2016-02-18 20:15 GMT+01:00 Christian Schneider <[email protected]>:
...

> I never tested CXF-DOSGi on karaf 2.4. You should try to 1.7.0 version on
> karaf 3 or 4.
>

I would like, but I'm constrained to 2.4.1. I will ask my team to change
the version, but few chances. We are all old grumpy men :D


> I just tested the install on karaf 3.0.3 and 4.0.3. It worked fine on both
> versions.
>

Mmm, I believed this was working with older versions. Maybe this should be
corrected, seems to apply to Karaf 2.2:
https://github.com/cschneider/Karaf-Tutorial/tree/master/dosgi


> Normally you should not need to install CXF as the dosgi feature refers to
> it.
>

Sadly, no. I shouldn't, but when I refer to cxf-dosgi-discovery-distributed,
Karaf asks me to provide
(&(osgi.wiring.package=org.apache.cxf)(version>=3.1.0)(!(version>=4.0.0))).
See:

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

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.7.0
in feature(s) cxf-dosgi-core-1.7.0: Unresolved constraint in bundle
cxf-dosgi-ri-dsw-cxf [317]: Unable to resolve 317.0: missing requirement
[317.0] osgi.wiring.package;
(&(osgi.wiring.package=org.apache.cxf)(version>=3.1.0)(!(version>=4.0.0)))

Will try another versions of Karaf. Thanks!

Rodolfo

Reply via email to