You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@aries.apache.org by "Iain Duncan (Created) (JIRA)" <ji...@apache.org> on 2012/02/16 18:28:59 UTC

[jira] [Created] (ARIES-830) Service registration is not removed when an application is uninstalled

Service registration is not removed when an application is uninstalled
----------------------------------------------------------------------

                 Key: ARIES-830
                 URL: https://issues.apache.org/jira/browse/ARIES-830
             Project: Aries
          Issue Type: Bug
          Components: Application
    Affects Versions: blueprint-0.3.1
            Reporter: Iain Duncan


When you install an application in AriesApplicationManagerImpl a service registration for a bundle repository is created but it is not removed in the uninstall so it remains registered in the OSGi framework.  If you refresh org.apache.aries.application.runtime.repository from the OSGi console then it unregisters it but this should probably be done on the uninstall.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (ARIES-830) Service registration is not removed when an application is uninstalled

Posted by "Iain Duncan (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/ARIES-830?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13209519#comment-13209519 ] 

Iain Duncan commented on ARIES-830:
-----------------------------------

I've attached a potential fix that keeps hold of the registration object and unregisters it when it is uninstalled.
                
> Service registration is not removed when an application is uninstalled
> ----------------------------------------------------------------------
>
>                 Key: ARIES-830
>                 URL: https://issues.apache.org/jira/browse/ARIES-830
>             Project: Aries
>          Issue Type: Bug
>          Components: Application
>    Affects Versions: blueprint-0.3.1
>            Reporter: Iain Duncan
>              Labels: app
>         Attachments: ARIES-830.patch
>
>
> When you install an application in AriesApplicationManagerImpl a service registration for a bundle repository is created but it is not removed in the uninstall so it remains registered in the OSGi framework.  If you refresh org.apache.aries.application.runtime.repository from the OSGi console then it unregisters it but this should probably be done on the uninstall.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (ARIES-830) Service registration is not removed when an application is uninstalled

Posted by "Iain Duncan (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/ARIES-830?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Iain Duncan updated ARIES-830:
------------------------------

    Attachment: ARIES-830.patch
    
> Service registration is not removed when an application is uninstalled
> ----------------------------------------------------------------------
>
>                 Key: ARIES-830
>                 URL: https://issues.apache.org/jira/browse/ARIES-830
>             Project: Aries
>          Issue Type: Bug
>          Components: Application
>    Affects Versions: blueprint-0.3.1
>            Reporter: Iain Duncan
>              Labels: app
>         Attachments: ARIES-830.patch
>
>
> When you install an application in AriesApplicationManagerImpl a service registration for a bundle repository is created but it is not removed in the uninstall so it remains registered in the OSGi framework.  If you refresh org.apache.aries.application.runtime.repository from the OSGi console then it unregisters it but this should probably be done on the uninstall.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira