You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@felix.apache.org by Charles Moulliard <cm...@gmail.com> on 2010/04/01 14:30:48 UTC

Mix of features - karaf

Hi,

If we install the features file of camel for release 2.2 where a reference
to the repository of karaf is defined (but for the version 1.2.0) top of an
Apache Felix Karaf 1.4.0 server, then we have a mix in the features
installed.

Repo defined in camel features file
<repository>
     mvn:org.apache.felix.karaf/apache-felix-karaf/1.2.0/xml/features
</repository>

ex :

[installed  ] [2.5.6.SEC01 ] spring                   karaf-1.4.0
[installed  ] [1.2.0       ] spring-dm                karaf-1.4.0
[uninstalled] [1.4.0       ] wrapper                  karaf-1.4.0
[uninstalled] [1.4.0       ] obr                      karaf-1.4.0
[installed  ] [1.4.0       ] http                     karaf-1.4.0
[installed  ] [1.4.0       ] war                      karaf-1.4.0
[uninstalled] [1.4.0       ] webconsole               karaf-1.4.0
[installed  ] [1.4.0       ] ssh                      karaf-1.4.0
[installed  ] [1.4.0       ] management               karaf-1.4.0

[installed  ] [2.5.6.SEC01 ] spring                   karaf-1.2.0
[installed  ] [1.2.0       ] spring-dm                karaf-1.2.0
[uninstalled] [1.2.0       ] wrapper                  karaf-1.2.0
[uninstalled] [1.2.0       ] obr                      karaf-1.2.0
[installed  ] [1.2.0       ] http                     karaf-1.2.0
[uninstalled] [1.2.0       ] webconsole               karaf-1.2.0
[uninstalled] [1.2.0       ] ssh                      karaf-1.2.0
[uninstalled] [1.2.0       ] management               karaf-1.2.0

and bundles

Ex for the feature http

Version 0.7.1 is defined for OPS4J in Apache Felix Karaf 1.2

[  79] [Active     ] [            ] [       ] [   60] OPS4J Pax Web - API
(0.7.1)
[  80] [Active     ] [            ] [       ] [   60] OPS4J Pax Web -
Service SPI (0
[  81] [Active     ] [            ] [       ] [   60] OPS4J Pax Web -
Runtime (0.7.1
[  82] [Active     ] [            ] [       ] [   60] OPS4J Pax Web - Jetty
(0.7.1)

Version 0.7.1 is defined for OPS4J in Apache Felix Karaf 1.4

[  53] [Active     ] [            ] [       ] [   60] OPS4J Pax Web - API
(0.7.2)
[  54] [Active     ] [            ] [       ] [   60] OPS4J Pax Web -
Service SPI (0.7.2)
[  55] [Active     ] [            ] [       ] [   60] OPS4J Pax Web -
Runtime (0.7.2)
[  56] [Active     ] [            ] [       ] [   60] OPS4J Pax Web - Jetty
(0.7.2)

Remarks :

- I think that Apache Felix Karaf should warn the user that there is a mix
of different bundles version and ask him what to do ?
- It should be possible to uninstall one of the feature but as we can see in
my copy/paste, karaf says that both http features is installed (for karaf
1.2 and 1.4) ?

Kind regards,

Charles Moulliard
Senior Enterprise Architect
Apache Camel Committer

*****************************
blog : http://cmoulliard.blogspot.com
twitter : http://twitter.com/cmoulliard
Linkedlin : http://www.linkedin.com/in/charlesmoulliard

Apache Camel Group :
http://www.linkedin.com/groups?home=&gid=2447439&trk=anet_ug_hm