karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-Baptiste Onofré (JIRA) <j...@apache.org>
Subject [jira] [Assigned] (KARAF-3440) Command "refresh bundleId" doesn't work
Date Sun, 25 Jan 2015 18:03:34 GMT

     [ https://issues.apache.org/jira/browse/KARAF-3440?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Jean-Baptiste Onofré reassigned KARAF-3440:
-------------------------------------------

    Assignee: Jean-Baptiste Onofré

> Command "refresh bundleId" doesn't work
> ---------------------------------------
>
>                 Key: KARAF-3440
>                 URL: https://issues.apache.org/jira/browse/KARAF-3440
>             Project: Karaf
>          Issue Type: Bug
>          Components: karaf-osgi, karaf-shell
>    Affects Versions: 2.4.1, 2.3.9
>         Environment: Windows 7 with Java 1.7.0_65 and MaxOS with Java 1.8
>            Reporter: Giuseppe Gerla
>            Assignee: Jean-Baptiste Onofré
>            Priority: Minor
>
> I have a bundle "Sample Dependent" that depends from a bundles "Sample Dependency". I
install both bundle in karaf and they go in Active state. 
> karaf@root> list
> START LEVEL 100 , List Threshold: 50
>    ID   State         Blueprint      Level  Name
> [  54] [Active     ] [            ] [   80] Sample Dependency Bundle (1.0.0.SNAPSHOT)
> [  55] [Active     ] [            ] [   80] Sample Dependent Bundle (1.0.0.SNAPSHOT)
> karaf@root> uninstall 54
> karaf@root> list
> START LEVEL 100 , List Threshold: 50
>    ID   State         Blueprint      Level  Name
> [  55] [Active     ] [            ] [   80] Sample Dependent Bundle (1.0.0.SNAPSHOT)
> karaf@root> refresh 55
> karaf@root> list
> START LEVEL 100 , List Threshold: 50
>    ID   State         Blueprint      Level  Name
> [  55] [Active     ] [            ] [   80] Sample Dependent Bundle (1.0.0.SNAPSHOT)
> karaf@root> refresh
> karaf@root> list
> START LEVEL 100 , List Threshold: 50
>    ID   State         Blueprint      Level  Name
> [  55] [Installed  ] [            ] [   80] Sample Dependent Bundle (1.0.0.SNAPSHOT)
> As you can see, after refresh Sample Dependent Bundle, this is still in Active (resolved)
state.
> Only using the global refresh the Sample Dependent Bundle goes in Installed (not resolved)
state
> Additional information:
> 1) The same wrong behavior using "refresh packages" button in the specific bundle page
of webconsole. All works fine using global "refresh packages" button from bundles pages.
> 2) I create a feature for "Sample Dependency Bundle" and another for "Sample Dependent
Bundle" that install also the other feature.
> In this case if I uninstall the "Sample Dependency Bundle" feature Karaf remove the bundle
from cache folder and refresh correctly the state of "Sample Dependent Bundle" in not resolved.



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

Mime
View raw message