Hi Sana, To add one more question: what does the xyz feature look like?
Regards, Gert Vanthienen On Wed, Nov 26, 2014 at 4:17 PM, Krzysztof Sobkowiak <[email protected]> wrote: > Could you please check logs for any error messages? > > Regards > Krzysztof > > On 26.11.2014 16:09, Krzysztof Sobkowiak wrote: >> It's a diff of installed bundles between fresh ServiceMix and after >> the installing and uninstalling the obr feature >> >> [ 21] [Active ] [Created ] [ ] [ 30] Apache Karaf :: >> Shell :: Log Commands (2.3.8) >> [ 22] [Active ] [Created ] [ ] [ 30] Apache Karaf :: >> Admin :: Management (2.3.8) >> [ 23] [Active ] [ ] [ ] [ 30] Apache Aries >> JMX API (1.1.0) >> *-[ 24] [Active ] [Created ] [ ] [ 30] Apache Karaf >> :: Features :: OBR Resolver (2.3.8)* >> [ 25] [Active ] [ ] [ ] [ 30] Apache Aries >> JMX Core (1.1.1) >> [ 26] [Active ] [ ] [ ] [ 30] Apache Mina >> SSHD :: Core (0.12.0) >> [ 27] [Active ] [ ] [ ] [ 30] Apache MINA >> Core (2.0.7) >> @@ -30,7 +29,6 @@ >> [ 29] [Active ] [Created ] [ ] [ 30] Apache Karaf :: >> Features :: Management (2.3.8) >> [ 30] [Active ] [Created ] [ ] [ 30] Apache Karaf :: >> Diagnostic :: Command (2.3.8) >> [ 31] [Active ] [Created ] [ ] [ 30] Apache Karaf :: >> Shell :: Development Commands (2.3.8) >> *-[ 32] [Active ] [ ] [ ] [ 30] Apache Felix >> Bundle Repository (1.6.6)* >> [ 33] [Active ] [Created ] [ ] [ 30] Apache Karaf :: >> Features :: Core (2.3.8) >> [ 34] [Active ] [ ] [ ] [ 30] Apache Karaf :: >> Diagnostic :: Core (2.3.8) >> [ 35] [Active ] [Created ] [ ] [ 30] Apache Karaf :: >> Shell :: OSGi Commands (2.3.8) >> >> >> It removes the obr bundles configured in startup.properties - so we >> have no obr anymore. >> Perhaps this gives some hints. >> >> Regards >> Krzysztof >> >> >> On 26.11.2014 08:57, Gert Vanthienen wrote: >>> L.S., >>> >>> >>> Does it work if you remove the resolver="obr" bit entirely or if you >>> use resolver="(obr)" (which makes the OBR resolver optional instead of >>> mandatory)? >>> >>> >>> Regards, >>> >>> Gert Vanthienen >>> >>> >>> On Wed, Nov 26, 2014 at 5:10 AM, Sana <[email protected]> wrote: >>>> Hi, >>>> >>>> In service mix, I am using feature for deploying my bundles. Something like >>>> >>>> <feature name="abc" version=<> resolver="obr"> >>>> <feature version=<>>xyz</feature> >>>> <bundle>mvn:gruopID/artifactId/version/bundle</bundle> >>>> </feature> >>>> >>>> When I do features:install abc, it fails because feature xyz is not >>>> installed. >>>> >>>> But after i install and uninstall obr and do features:install abc, it works >>>> becuase xyz also gets installed. >>>> >>>> Here is what I did, >>>> >>>> features:install obr >>>> features:uninstall obr >>>> features:install abc >>>> >>>> Not sure what is the hidden thing that kicks in for feature deployment to >>>> work properly after installing and uninstalling obr when obr itself is not >>>> installed initially. >>>> >>>> Please advice. >>>> >>>> >>>> Thanks! >>>> >>>> >>>> >>>> >>>> >>>> -- >>>> View this message in context: >>>> http://servicemix.396122.n5.nabble.com/obr-feature-tp5721909.html >>>> Sent from the ServiceMix - User mailing list archive at Nabble.com. >> > Krzysztof Sobkowiak > > JEE & OSS Architect | Senior Solution Architect @ Capgemini | Committer > @ ASF > Capgemini <http://www.pl.capgemini.com/> | Software Solutions Center > <http://www.pl.capgemini-sdm.com/> | Wroclaw > e-mail: [email protected] <mailto:[email protected]> | > Twitter: @KSobkowiak > Calendar: http://goo.gl/yvsebC
