Yeah, to be honest I always use the "la" alias (alias to bundle:list -t 0) ;)
Regards JB On 16/04/2019 13:51, fred wrote: > Thank you, JB. The bundles were already there, only at a different level (and > some at a different version). > > > > > jbonofre wrote >> Hi Fred, >> >> 1. I recommend to use la (or bundle:list -t 0) to be able to see all >> bundles, whatever the level is. >> >> 2. If a bundle is flagged with dependency="true" and another bundle >> already provides the packages/capabilities, then Karaf won't install the >> "new" bundle. >> >> Regards >> JB >> >> On 16/04/2019 10:15, fred wrote: >>> One of my Karafs does not install bundles for certain features. I have >>> Karafs >>> for different environments and they behave differently. The first >>> installs >>> bundles (even more than I expect) while the second doesn't and I can't >>> figure out why. I am posting the commands I used and the logs written by >>> Karaf, hoping someone can help with this. Karaf version is 4.1.1. >>> >>> >>> *1st system* >>> >>> karaf@trun()> bundle:list |grep -i jacks >>> 194 │ Active │ 80 │ 1.9.12 │ Jackson JSON processor >>> 195 │ Active │ 80 │ 1.9.12 │ JAX-RS provider for JSON >>> content type, using Jackson data binding >>> 196 │ Active │ 80 │ 1.9.12 │ Data mapper for Jackson >>> JSON >>> processor >>> 1196 │ Active │ 50 │ 2.17.6 │ camel-jackson >>> >>> karaf@trun()> feature:info jackson-annotations >>> Feature jackson-annotations 2.8.7 >>> Feature has no configuration >>> Feature has no configuration files >>> Feature has no dependencies. >>> Feature contains followed bundles: >>> mvn:com.fasterxml.jackson.core/jackson-annotations/2.8.7 >>> Feature has no conditionals. >>> >>> karaf@trun()> feature:install -v jackson-annotations >>> Adding features: jackson-annotations/[2.8.7,2.8.7] >>> >>> karaf@trun()> bundle:list |grep -i jacks >>> 194 │ Active │ 80 │ 1.9.12 │ Jackson JSON processor >>> 195 │ Active │ 80 │ 1.9.12 │ JAX-RS provider for JSON >>> content type, using Jackson data binding >>> 196 │ Active │ 80 │ 1.9.12 │ Data mapper for Jackson >>> JSON >>> processor >>> 1196 │ Active │ 50 │ 2.17.6 │ camel-jackson >>> 1616 │ Active │ 80 │ 2.8.7 │ Jackson-annotations >>> 1617 │ Active │ 80 │ 2.8.7 │ Jackson-core >>> 1618 │ Active │ 50 │ 2.7.2 │ jackson-databind >>> 1619 │ Active │ 50 │ 2.7.2 │ >>> Jackson-module-JAXB-annotations >>> >>> >>> Log: >>> Adding features: jackson-annotations/[2.8.7,2.8.7] >>> Changes to perform: >>> Region: root >>> Bundles to install: >>> mvn:com.fasterxml.jackson.core/jackson-annotations/2.8.7 >>> mvn:com.fasterxml.jackson.core/jackson-core/2.8.7 >>> mvn:com.fasterxml.jackson.core/jackson-databind/2.7.2 >>> mvn:com.fasterxml.jackson.module/jackson-module-jaxb-annotations/2.7.2 >>> Installing bundles: >>> mvn:com.fasterxml.jackson.core/jackson-annotations/2.8.7 >>> mvn:com.fasterxml.jackson.core/jackson-core/2.8.7 >>> mvn:com.fasterxml.jackson.core/jackson-databind/2.7.2 >>> mvn:com.fasterxml.jackson.module/jackson-module-jaxb-annotations/2.7.2 >>> >>> >>> >>> *2nd system* >>> >>> karaf@trun()> bundle:list |grep -i jack >>> 205 │ Active │ 80 │ 1.9.12 │ Jackson JSON processor >>> 206 │ Active │ 80 │ 1.9.12 │ JAX-RS provider for JSON >>> content type, using Jackson data binding >>> 207 │ Active │ 80 │ 1.9.12 │ Data mapper for Jackson >>> JSON >>> processor >>> 516 │ Active │ 50 │ 2.17.6 │ camel-jackson >>> >>> karaf@trun()> feature:install -v jackson-annotations >>> Adding features: jackson-annotations/[2.8.7,2.8.7] >>> >>> karaf@trun()> bundle:list |grep -i jack >>> 205 │ Active │ 80 │ 1.9.12 │ Jackson JSON processor >>> 206 │ Active │ 80 │ 1.9.12 │ JAX-RS provider for JSON >>> content type, using Jackson data binding >>> 207 │ Active │ 80 │ 1.9.12 │ Data mapper for Jackson >>> JSON >>> processor >>> 516 │ Active │ 50 │ 2.17.6 │ camel-jackson >>> >>> >>> Log: >>> Adding features: jackson-annotations/[2.8.7,2.8.7] >>> No deployment change. >>> Done. >>> >>> >>> >>> -- >>> Sent from: http://karaf.922171.n3.nabble.com/Karaf-User-f930749.html >>> >> >> -- >> Jean-Baptiste Onofré > >> jbonofre@ > >> http://blog.nanthrax.net >> Talend - http://www.talend.com > > > > > > -- > Sent from: http://karaf.922171.n3.nabble.com/Karaf-User-f930749.html > -- Jean-Baptiste Onofré [email protected] http://blog.nanthrax.net Talend - http://www.talend.com
