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(DelayedStarted.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(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(DelayedStarted
> .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

Reply via email to