karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Guillaume Nodet (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (KARAF-3921) Installing an already installed feature again sometimes switches used bundles
Date Fri, 21 Oct 2016 07:56:58 GMT

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

Guillaume Nodet commented on KARAF-3921:
----------------------------------------

Mmh, the branch is not available anymore, and I can't build the master branch of the project...

> Installing an already installed feature again sometimes switches used bundles
> -----------------------------------------------------------------------------
>
>                 Key: KARAF-3921
>                 URL: https://issues.apache.org/jira/browse/KARAF-3921
>             Project: Karaf
>          Issue Type: Bug
>          Components: karaf-feature
>    Affects Versions: 4.0.0
>            Reporter: Christian Schneider
>             Fix For: 4.1.0
>
>
> First install my example from:
> https://github.com/cschneider/Karaf-Tutorial/tree/jpa-2.1.0/tasklist-blueprint-cdi
> according to the README.
> Then install the already install jaxrs service bundle again several times. As you see
from the console log below the resolved tends to use a different transaction manager every
time.
> -----
> karaf@root()> feature:install -v example-tasklist-cdi-service
> Adding features: example-tasklist-cdi-service/[1.0.0.SNAPSHOT,1.0.0.SNAPSHOT]
> Changes to perform:
>   Region: root
>     Bundles to uninstall:
>       org.apache.aries.transaction.manager/1.0.1
>     Bundles to install:
>       mvn:org.apache.aries.transaction/org.apache.aries.transaction.blueprint/1.1.1
> Stopping bundles:
>   org.apache.aries.transaction.manager/1.0.1
> Uninstalling bundles:
>   org.apache.aries.transaction.manager/1.0.1
> Installing bundles:
>   mvn:org.apache.aries.transaction/org.apache.aries.transaction.blueprint/1.1.1
> Stopping bundles:
>   org.apache.aries.transaction.blueprint/1.1.1
> Refreshing bundles:
>     org.apache.aries.transaction.blueprint/1.1.1 (Should be wired to: org.apache.aries.transaction.blueprint/1.1.1
(through [org.apache.aries.transaction.blueprint/1.1.1] osgi.wiring.package; filter:="(&(osgi.wiring.package=org.apache.aries.transaction.exception)(version>=1.0.0)(!(version>=2.0.0)))"))
>     org.apache.aries.transaction.manager/1.0.1 (Bundle will be uninstalled)
> Starting bundles:
>   org.apache.aries.transaction.blueprint/1.1.1
> Done.
> karaf@root()> feature:install -v example-tasklist-cdi-service
> Adding features: example-tasklist-cdi-service/[1.0.0.SNAPSHOT,1.0.0.SNAPSHOT]
> Changes to perform:
>   Region: root
>     Bundles to update:
>       org.apache.aries.transaction.manager/1.0.0 with mvn:org.apache.aries.transaction/org.apache.aries.transaction.manager/1.0.1
> Stopping bundles:
>   org.apache.aries.transaction.manager/1.0.0
> Updating bundles:
>   mvn:org.apache.aries.transaction/org.apache.aries.transaction.manager/1.0.1
> Stopping bundles:
>   org.apache.aries.transaction.manager/1.0.1
> Refreshing bundles:
>     org.apache.aries.transaction.manager/1.0.1 (Bundle will be updated)
> Starting bundles:
>   org.apache.aries.transaction.manager/1.0.1
> Done.
> karaf@root()> feature:install -v example-tasklist-cdi-service
> Adding features: example-tasklist-cdi-service/[1.0.0.SNAPSHOT,1.0.0.SNAPSHOT]
> Changes to perform:
>   Region: root
>     Bundles to update:
>       org.apache.aries.transaction.manager/1.0.1 with mvn:org.apache.aries.transaction/org.apache.aries.transaction.manager/1.0.0
>     Bundles to install:
>       mvn:org.apache.aries.transaction/org.apache.aries.transaction.blueprint/1.1.1
> Stopping bundles:
>   org.apache.aries.transaction.manager/1.0.1
> Updating bundles:
>   mvn:org.apache.aries.transaction/org.apache.aries.transaction.manager/1.0.0
> Installing bundles:
>   mvn:org.apache.aries.transaction/org.apache.aries.transaction.blueprint/1.1.1
> Stopping bundles:
>   org.apache.aries.transaction.manager/1.0.0
> Refreshing bundles:
>     org.apache.aries.transaction.manager/1.0.0 (Bundle will be updated)
> Starting bundles:
>   org.apache.aries.transaction.manager/1.0.0
> Done.
> karaf@root()> feature:install -v example-tasklist-cdi-service
> Adding features: example-tasklist-cdi-service/[1.0.0.SNAPSHOT,1.0.0.SNAPSHOT]
> Changes to perform:
>   Region: root
>     Bundles to install:
>       mvn:org.apache.aries.transaction/org.apache.aries.transaction.blueprint/1.1.1
>       mvn:org.apache.aries.transaction/org.apache.aries.transaction.manager/1.0.1
> Installing bundles:
>   mvn:org.apache.aries.transaction/org.apache.aries.transaction.blueprint/1.1.1
>   mvn:org.apache.aries.transaction/org.apache.aries.transaction.manager/1.0.1
> Starting bundles:
>   org.apache.aries.transaction.manager/1.0.1
> Done.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message