Hi, The problem seems appear when OBR enable If remember well the problem seems to be addressed at karaf level from https://issues.apache.org/jira/browse/KARAF-830
Anyway, while I figure out the real cause the problem IMHO the issue can be address at documentation level WDYT ? --Filippo 2014-08-01 10:18 GMT+02:00 Walzer, Thomas <[email protected]>: > Hi Krzysztof, > > it works on plain vanilla karaf 2.3.4 > > Cheers, Thomas. > > -----Ursprüngliche Nachricht----- > Von: Krzysztof Sobkowiak [mailto:[email protected]] > Gesendet: Freitag, 01. August 2014 10:08 > An: [email protected] > Betreff: Re: AW: Servicemix 5.1.1 & Cellar 2.3.1 > > Hi Thomas > > On which Karaf version it works? ServiceMix 5.1.1 uses Karaf 2.3.4. We will > release soon a new version based on Karaf 2.3.6. > > Best regards > Krzysztof > > On 01.08.2014 09:54, Walzer, Thomas wrote: >> Hi Filippo, >> >> that works like a charm. Now I have got the cluster-commands available. >> Thank you very much. >> So, should I log a JIRA? Because on plain karaf it works out of the box. No >> manual hazelcast-installation. Should be the same for Servicemix, or not? >> >> Cheers, Thomas. >> >> -----Ursprüngliche Nachricht----- >> Von: Filippo Balicchia [mailto:[email protected]] >> Gesendet: Freitag, 01. August 2014 09:46 >> An: users >> Betreff: Re: Servicemix 5.1.1 & Cellar 2.3.1 >> >> Hi Thomas, >> >> could you please type the following command and tell me if it works >> for you >> >> features:chooseurl cellar 2.3.1 >> osgi:install -s mvn:com.hazelcast/hazelcast/2.6 features:install >> cellar >> >> Regards >> >> --Filippo >> >> >> >> >> 2014-08-01 9:36 GMT+02:00 Walzer, Thomas <[email protected]>: >>> returns empty... >>> >>> -----Ursprüngliche Nachricht----- >>> Von: Achim Nierbeck [mailto:[email protected]] >>> Gesendet: Freitag, 01. August 2014 09:28 >>> An: [email protected] >>> Betreff: Re: Servicemix 5.1.1 & Cellar 2.3.1 >>> >>> Hi, >>> >>> could you do a: >>> >>> la | grep -i "hazelcast" >>> >>> this will give you a list of all bundles installed containing hazelcast. >>> >>> I fear some sort of bundle is already installed because: >>> >>> There is no bundle installed while doing this: >>> >>> Installing feature cellar-hazelcast 2.3.1 >>>> Installing feature hazelcast 2.6 >>>> Checking configuration file mvn:org.apache.karaf.cellar/ >>>> apache-karaf-cellar/2.3.1/xml/hazelcast >>>> Installing feature cellar-core 2.3.1 >>> >>> regards, Achim >>> >>> >>> >>> >>> 2014-08-01 9:24 GMT+02:00 Walzer, Thomas <[email protected]>: >>> >>>> Hi Achim, >>>> >>>> thanks for looking into this: >>>> >>>> Here what I tried: >>>> >>>> karaf@root> features:chooseurl cellar 2.3.1 adding feature url >>>> mvn:org.apache.karaf.cellar/apache-karaf-cellar/2.3.1/xml/features >>>> karaf@root> features:install -v cellar Installing feature cellar >>>> 2.3.1 Installing feature cellar-hazelcast 2.3.1 Installing feature >>>> hazelcast >>>> 2.6 Checking configuration file >>>> mvn:org.apache.karaf.cellar/apache-karaf-cellar/2.3.1/xml/hazelcast >>>> Installing feature cellar-core 2.3.1 Checking configuration file >>>> mvn:org.apache.karaf.cellar/apache-karaf-cellar/2.3.1/cfg/groups >>>> Checking configuration file >>>> mvn:org.apache.karaf.cellar/apache-karaf-cellar/2.3.1/cfg/node >>>> Installing bundle >>>> mvn:org.apache.karaf.cellar/org.apache.karaf.cellar.core/2.3.1 >>>> Installing bundle >>>> mvn:org.apache.karaf.cellar/org.apache.karaf.cellar.utils/2.3.1 >>>> Error executing command: Can not resolve feature: >>>> Unsatisfied requirement(s): >>>> --------------------------- >>>> >>>> package:(&(package=com.hazelcast.core)(version>=2.6.0)(!(version>=3.0.0))) >>>> Apache Karaf :: Cellar :: Hazelcast >>>> >>>> >>>> package:(&(package=com.hazelcast.config)(version>=2.6.0)(!(version>=3.0.0))) >>>> Apache Karaf :: Cellar :: Hazelcast >>>> >>>> >>>> package:(&(package=com.hazelcast.merge)(version>=2.6.0)(!(version>=3.0.0))) >>>> Apache Karaf :: Cellar :: Hazelcast >>>> >>>> >>>> I don´t think there is anything Hazelcast related already installed: >>>> >>>> karaf@root> features:list |grep -i hazel >>>> [uninstalled] [2.6 ] hazelcast >>>> karaf-cellar-2.3.1 In memory data grid >>>> [uninstalled] [2.3.1 ] cellar-hazelcast >>>> karaf-cellar-2.3.1 Cellar implementation based on Hazelcast >>>> [uninstalled] [2.13.2 ] camel-hazelcast >>>> camel-2.13.2 >>>> >>>> --- >>>> and the log: >>>> >>>> 2014-08-01 09:21:45,437 | ERROR | l Console Thread | Console >>>> | ? ? | 15 - >>>> org.apache.karaf.shell.cons >>>> ole - 2.3.4 | Exception caught while executing command >>>> java.lang.Exception: Can not resolve feature: >>>> Unsatisfied requirement(s): >>>> --------------------------- >>>> >>>> package:(&(package=com.hazelcast.core)(version>=2.6.0)(!(version>=3.0.0))) >>>> Apache Karaf :: Cellar :: Hazelcast >>>> >>>> >>>> package:(&(package=com.hazelcast.config)(version>=2.6.0)(!(version>=3.0.0))) >>>> Apache Karaf :: Cellar :: Hazelcast >>>> >>>> >>>> package:(&(package=com.hazelcast.merge)(version>=2.6.0)(!(version>=3.0.0))) >>>> Apache Karaf :: Cellar :: Hazelcast >>>> >>>> at >>>> org.apache.karaf.features.obr.internal.ObrResolver.resolve(ObrResolver.java:129)[35:org.apache.karaf.features.obr:2.3.4] >>>> at >>>> org.apache.karaf.features.internal.FeaturesServiceImpl.resolve(FeaturesServiceImpl.java:657)[26:org.apache.karaf.features.core:2.3.4] >>>> at >>>> org.apache.karaf.features.internal.FeaturesServiceImpl.doInstallFeature(FeaturesServiceImpl.java:620)[26:org.apache.karaf.features.core:2.3.4] >>>> at >>>> org.apache.karaf.features.internal.FeaturesServiceImpl.doInstallFeature(FeaturesServiceImpl.java:596)[26:org.apache.karaf.features.core:2.3.4] >>>> at >>>> org.apache.karaf.features.internal.FeaturesServiceImpl.installFeatures(FeaturesServiceImpl.java:417)[26:org.apache.karaf.features.core:2.3.4] >>>> at >>>> org.apache.karaf.features.internal.FeaturesServiceImpl.installFeature(FeaturesServiceImpl.java:405)[26:org.apache.karaf.features.core:2.3.4] >>>> at >>>> org.apache.karaf.features.internal.FeaturesServiceImpl.installFeature(FeaturesServiceImpl.java:401)[26:org.apache.karaf.features.core:2.3.4] >>>> at >>>> org.apache.karaf.features.command.InstallFeatureCommand.doExecute(InstallFeatureCommand.java:62)[28:org.apache.karaf.features.command:2.3.4] >>>> at >>>> org.apache.karaf.features.command.FeaturesCommandSupport.doExecute(FeaturesCommandSupport.java:41)[28:org.apache.karaf.features.command:2.3.4] >>>> at >>>> org.apache.karaf.shell.console.OsgiCommandSupport.execute(OsgiCommandSupport.java:38)[15:org.apache.karaf.shell.console:2.3.4] >>>> at >>>> org.apache.felix.gogo.commands.basic.AbstractCommand.execute(AbstractCommand.java:35)[15:org.apache.karaf.shell.console:2.3.4] >>>> at >>>> org.apache.felix.gogo.runtime.CommandProxy.execute(CommandProxy.java:78)[15:org.apache.karaf.shell.console:2.3.4] >>>> at >>>> org.apache.felix.gogo.runtime.Closure.executeCmd(Closure.java:474)[15:org.apache.karaf.shell.console:2.3.4] >>>> at >>>> org.apache.felix.gogo.runtime.Closure.executeStatement(Closure.java:400)[15:org.apache.karaf.shell.console:2.3.4] >>>> at >>>> org.apache.felix.gogo.runtime.Pipe.run(Pipe.java:108)[15:org.apache.karaf.shell.console:2.3.4] >>>> at >>>> org.apache.felix.gogo.runtime.Closure.execute(Closure.java:183)[15:org.apache.karaf.shell.console:2.3.4] >>>> at >>>> org.apache.felix.gogo.runtime.Closure.execute(Closure.java:120)[15:org.apache.karaf.shell.console:2.3.4] >>>> at >>>> org.apache.felix.gogo.runtime.CommandSessionImpl.execute(CommandSessionImpl.java:89)[15:org.apache.karaf.shell.console:2.3.4] >>>> at >>>> org.apache.karaf.shell.console.jline.Console.run(Console.java:183)[15:org.apache.karaf.shell.console:2.3.4] >>>> at >>>> org.apache.karaf.shell.console.jline.DelayedStarted.run(DelayedStart >>>> e d .java:79)[15:org.apache.karaf.shell.console:2.3.4] >>>> >>>> >>>> Cheers, Thomas. >>>> -----Ursprüngliche Nachricht----- >>>> Von: Achim Nierbeck [mailto:[email protected]] >>>> Gesendet: Freitag, 01. August 2014 09:06 >>>> An: [email protected] >>>> Betreff: Re: Servicemix 5.1.1 & Cellar 2.3.1 >>>> >>>> Hi, >>>> >>>> could you do the feature:install with -v for verbose? >>>> At leas it'll show which bundle it fails to install that obviously >>>> is already present. >>>> >>>> regards, Achim >>>> >>>> >>>> 2014-08-01 7:41 GMT+02:00 Walzer, Thomas <[email protected]>: >>>> >>>>> Dear all, >>>>> >>>>> I tried to install cellar on smx 5.1.1: however there seems to be >>>>> some kind of dependency problem with Hazelcast that I don´t know >>>>> how to >>>> remedy. >>>>> Any ideas? >>>>> >>>>> karaf@root> info >>>>> Karaf >>>>> Karaf version 2.3.4 >>>>> Karaf home D:\apache-servicemix-5.1.1 >>>>> Karaf base D:\apache-servicemix-5.1.1 >>>>> OSGi Framework org.apache.felix.framework - 4.0.3 >>>>> >>>>> JVM >>>>> Java Virtual Machine Java HotSpot(TM) Server VM version >>>> 20.45-b01 >>>>> Version 1.6.0_45 >>>>> Vendor Sun Microsystems Inc. >>>>> Pid 8352 >>>>> Uptime 44.304 seconds >>>>> Total compile time 15.753 seconds >>>>> Threads >>>>> Live threads 69 >>>>> Daemon threads 56 >>>>> Peak 69 >>>>> Total started 82 >>>>> Memory >>>>> Current heap size 36,738 kbytes >>>>> Maximum heap size 466,048 kbytes >>>>> Committed heap size 140,160 kbytes >>>>> Pending objects 0 >>>>> Garbage collector Name = 'PS Scavenge', Collections = 15, >>>> Time >>>>> = 0.127 seconds >>>>> Garbage collector Name = 'PS MarkSweep', Collections = 1, >>>> Time >>>>> = 0.156 seconds >>>>> Classes >>>>> Current classes loaded 5,469 >>>>> Total classes loaded 5,470 >>>>> Total classes unloaded 1 >>>>> Operating system >>>>> Name Windows Server 2008 R2 version 6.1 >>>>> Architecture x86 >>>>> Processors 32 >>>>> >>>>> >>>>> >>>>> karaf@root> features:chooseurl cellar 2.3.1 adding feature url >>>>> mvn:org.apache.karaf.cellar/apache-karaf-cellar/2.3.1/xml/features >>>>> karaf@root> features:install cellar Error executing command: Can >>>>> not resolve feature: >>>>> Unsatisfied requirement(s): >>>>> --------------------------- >>>>> >>>>> >>>> package:(&(package=com.hazelcast.merge)(version>=2.6.0)(!(version>=3. >>>> 0 >>>> .0))) >>>>> Apache Karaf :: Cellar :: Hazelcast >>>>> >>>>> >>>> package:(&(package=com.hazelcast.core)(version>=2.6.0)(!(version>=3.0. >>>> 0))) >>>>> Apache Karaf :: Cellar :: Hazelcast >>>>> >>>>> >>>> package:(&(package=com.hazelcast.config)(version>=2.6.0)(!(version>=3. >>>> 0.0))) >>>>> Apache Karaf :: Cellar :: Hazelcast >>>>> >>>>> ---- >>>>> log: >>>>> 14-08-01 07:36:58,051 | ERROR | l Console Thread | Console >>>>> | ? ? | 15 - >>>>> org.apache.karaf.shell.cons >>>>> e - 2.3.4 | Exception caught while executing command >>>>> va.lang.Exception: Can not resolve feature: >>>>> satisfied requirement(s): >>>>> ------------------------- >>>>> >>>>> >>>> package:(&(package=com.hazelcast.merge)(version>=2.6.0)(!(version>=3. >>>> 0 >>>> .0))) >>>>> Apache Karaf :: Cellar :: Hazelcast >>>>> >>>> package:(&(package=com.hazelcast.core)(version>=2.6.0)(!(version>=3.0. >>>> 0))) >>>>> Apache Karaf :: Cellar :: Hazelcast >>>>> >>>>> >>>> package:(&(package=com.hazelcast.config)(version>=2.6.0)(!(version>=3. >>>> 0.0))) >>>>> Apache Karaf :: Cellar :: Hazelcast >>>>> >>>>> at >>>>> >>>> org.apache.karaf.features.obr.internal.ObrResolver.resolve(ObrResolv >>>> e r .java:129)[35:org.apache.karaf.features.obr:2.3.4] >>>>> at >>>>> >>>> org.apache.karaf.features.internal.FeaturesServiceImpl.resolve(Featu >>>> r e sServiceImpl.java:657)[26:org.apache.karaf.features.core:2.3.4] >>>>> at >>>>> >>>> org.apache.karaf.features.internal.FeaturesServiceImpl.doInstallFeat >>>> u >>>> r >>>> e(FeaturesServiceImpl.java:620)[26:org.apache.karaf.features.core:2.3. >>>> 4] >>>>> at >>>>> >>>> org.apache.karaf.features.internal.FeaturesServiceImpl.doInstallFeat >>>> u >>>> r >>>> e(FeaturesServiceImpl.java:596)[26:org.apache.karaf.features.core:2.3. >>>> 4] >>>>> at >>>>> >>>> org.apache.karaf.features.internal.FeaturesServiceImpl.installFeatur >>>> e >>>> s >>>> (FeaturesServiceImpl.java:417)[26:org.apache.karaf.features.core:2.3. >>>> 4 >>>> ] >>>>> at >>>>> >>>> org.apache.karaf.features.internal.FeaturesServiceImpl.installFeatur >>>> e >>>> ( >>>> FeaturesServiceImpl.java:405)[26:org.apache.karaf.features.core:2.3. >>>> 4 >>>> ] >>>>> at >>>>> >>>> org.apache.karaf.features.internal.FeaturesServiceImpl.installFeatur >>>> e >>>> ( >>>> FeaturesServiceImpl.java:401)[26:org.apache.karaf.features.core:2.3. >>>> 4 >>>> ] >>>>> at >>>>> >>>> org.apache.karaf.features.command.InstallFeatureCommand.doExecute(In >>>> s >>>> t >>>> allFeatureCommand.java:62)[28:org.apache.karaf.features.command:2.3. >>>> 4 >>>> ] >>>>> at >>>>> >>>> org.apache.karaf.features.command.FeaturesCommandSupport.doExecute(F >>>> e >>>> a >>>> turesCommandSupport.java:41)[28:org.apache.karaf.features.command:2.3. >>>> 4] >>>>> at >>>>> >>>> org.apache.karaf.shell.console.OsgiCommandSupport.execute(OsgiComman >>>> d S upport.java:38)[15:org.apache.karaf.shell.console:2.3.4] >>>>> at >>>>> >>>> org.apache.felix.gogo.commands.basic.AbstractCommand.execute(Abstrac >>>> t C ommand.java:35)[15:org.apache.karaf.shell.console:2.3.4] >>>>> at >>>>> >>>> org.apache.felix.gogo.runtime.CommandProxy.execute(CommandProxy.java: >>>> 7 8)[15:org.apache.karaf.shell.console:2.3.4] >>>>> at >>>>> >>>> org.apache.felix.gogo.runtime.Closure.executeCmd(Closure.java:474)[15: >>>> org.apache.karaf.shell.console:2.3.4] >>>>> at >>>>> >>>> org.apache.felix.gogo.runtime.Closure.executeStatement(Closure.java: >>>> 4 >>>> 0 0)[15:org.apache.karaf.shell.console:2.3.4] >>>>> at >>>>> >>>> org.apache.felix.gogo.runtime.Pipe.run(Pipe.java:108)[15:org.apache. >>>> k >>>> a >>>> raf.shell.console:2.3.4] >>>>> at >>>>> >>>> org.apache.felix.gogo.runtime.Closure.execute(Closure.java:183)[15:o >>>> r >>>> g >>>> .apache.karaf.shell.console:2.3.4] >>>>> at >>>>> >>>> org.apache.felix.gogo.runtime.Closure.execute(Closure.java:120)[15:o >>>> r >>>> g >>>> .apache.karaf.shell.console:2.3.4] >>>>> at >>>>> >>>> org.apache.felix.gogo.runtime.CommandSessionImpl.execute(CommandSess >>>> i o nImpl.java:89)[15:org.apache.karaf.shell.console:2.3.4] >>>>> at >>>>> >>>> org.apache.karaf.shell.console.jline.Console.run(Console.java:183)[15: >>>> org.apache.karaf.shell.console:2.3.4] >>>>> at >>>>> org.apache.karaf.shell.console.jline.DelayedStarted.run(DelayedStar >>>>> t ed .java:79)[15:org.apache.karaf.shell.console:2.3.4] >>>>> >>>> >>>> >>>> -- >>>> >>>> Apache Member >>>> Apache Karaf <http://karaf.apache.org/> Committer & PMC OPS4J Pax >>>> Web < http://wiki.ops4j.org/display/paxweb/Pax+Web/> Committer & >>>> Project Lead blog <http://notizblog.nierbeck.de/> >>>> >>>> Software Architect / Project Manager / Scrum Master >>>> >>> >>> >>> -- >>> >>> Apache Member >>> Apache Karaf <http://karaf.apache.org/> Committer & PMC OPS4J Pax Web >>> <http://wiki.ops4j.org/display/paxweb/Pax+Web/> Committer & Project >>> Lead blog <http://notizblog.nierbeck.de/> >>> >>> Software Architect / Project Manager / Scrum Master > > > -- > 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
