You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Ben O'Day (JIRA)" <ji...@apache.org> on 2011/01/07 18:47:46 UTC

[jira] Created: (KARAF-363) add option to synchronously refresh packages during feature/bundle uninstall

add option to synchronously refresh packages during feature/bundle uninstall
----------------------------------------------------------------------------

                 Key: KARAF-363
                 URL: https://issues.apache.org/jira/browse/KARAF-363
             Project: Karaf
          Issue Type: Improvement
          Components: console
            Reporter: Ben O'Day
            Priority: Minor


If possible, consider modifying Karaf/Felix to support this option.  I'm not sure that this is in line with the OSGi spec or goals, but figured I'd ask.  

The issues is that subsequent requests are leaving bundles installed incorrectly because they are still being "refreshed" by the asynchronous refreshPackages() thread.  We are considering workarounds including delays, listeners, etc.  Ideally, we'd like the uninstall commands to simply block until the refresh is complete (even if its lengthy).  See this question on stackoverflow for more information (http://stackoverflow.com/questions/4540414/osgi-feature-uninstall-works-but-bundles-are-still-installed).

If there are other options...please advise, thanks

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Closed: (KARAF-363) add option to synchronously refresh packages during feature/bundle uninstall

Posted by "Guillaume Nodet (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/KARAF-363?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Guillaume Nodet closed KARAF-363.
---------------------------------

    Resolution: Won't Fix

> add option to synchronously refresh packages during feature/bundle uninstall
> ----------------------------------------------------------------------------
>
>                 Key: KARAF-363
>                 URL: https://issues.apache.org/jira/browse/KARAF-363
>             Project: Karaf
>          Issue Type: Improvement
>          Components: console
>            Reporter: Ben O'Day
>            Priority: Minor
>
> If possible, consider modifying Karaf/Felix to support this option.  I'm not sure that this is in line with the OSGi spec or goals, but figured I'd ask.  
> The issues is that subsequent requests are leaving bundles installed incorrectly because they are still being "refreshed" by the asynchronous refreshPackages() thread.  We are considering workarounds including delays, listeners, etc.  Ideally, we'd like the uninstall commands to simply block until the refresh is complete (even if its lengthy).  See this question on stackoverflow for more information (http://stackoverflow.com/questions/4540414/osgi-feature-uninstall-works-but-bundles-are-still-installed).
> If there are other options...please advise, thanks

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.