karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Krzysztof Sobkowiak (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (KARAF-3145) Cellar features fails to install when obr feature is installed
Date Fri, 01 Aug 2014 09:49:38 GMT

    [ https://issues.apache.org/jira/browse/KARAF-3145?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14082108#comment-14082108
] 

Krzysztof Sobkowiak commented on KARAF-3145:
--------------------------------------------

Workaround: {{mvn:com.hazelcast/hazelcast/2.6}} should be installed before {{cellar}} feature

{code}
karaf@root> features:install obr
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> osgi:install -s mvn:com.hazelcast/hazelcast/2.6 
Bundle ID: 60
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
Installing bundle mvn:org.apache.karaf.cellar/org.apache.karaf.cellar.hazelcast/2.3.1
Installing feature cellar-shell 2.3.1
Installing bundle mvn:org.apache.karaf.cellar/org.apache.karaf.cellar.shell/2.3.1
Installing feature cellar-config 2.3.1
Installing bundle mvn:org.apache.karaf.cellar/org.apache.karaf.cellar.config/2.3.1
Installing feature cellar-bundle 2.3.1
Installing bundle mvn:org.apache.karaf.cellar/org.apache.karaf.cellar.bundle/2.3.1
Installing feature cellar-features 2.3.1
Installing bundle mvn:org.apache.karaf.cellar/org.apache.karaf.cellar.features/2.3.1
Installing feature cellar-management 2.3.1
Installing bundle mvn:org.apache.karaf.cellar/org.apache.karaf.cellar.management/2.3.1
karaf@root> 

{code}

> Cellar features fails to install when obr feature is installed
> --------------------------------------------------------------
>
>                 Key: KARAF-3145
>                 URL: https://issues.apache.org/jira/browse/KARAF-3145
>             Project: Karaf
>          Issue Type: Bug
>          Components: cellar-core
>    Affects Versions: cellar-2.3.1
>            Reporter: Krzysztof Sobkowiak
>
> While installing Cellar on Karaf with installed {{obr}} feature the installation ends
with following error
> {code}
> karaf@root> features:install obr
> 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.merge)(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
> {code} 
> Seems to be related to KARAF-830. Tested with Karaf 2.3.4



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message