You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Karl Pauls (JIRA)" <ji...@apache.org> on 2010/09/09 23:02:32 UTC

[jira] Created: (FELIX-2589) SecurityException "SecurityManager already installed" is thrown when calling Framework.init() multiple times with FRAMEWORK_SECURITY set

SecurityException "SecurityManager already installed" is thrown when calling Framework.init() multiple times with FRAMEWORK_SECURITY set
----------------------------------------------------------------------------------------------------------------------------------------

                 Key: FELIX-2589
                 URL: https://issues.apache.org/jira/browse/FELIX-2589
             Project: Felix
          Issue Type: Bug
    Affects Versions: framework-3.0.2
            Reporter: Karl Pauls
            Assignee: Karl Pauls
             Fix For: framework-3.2.0


Framework.init() can be called multiple times but we throw a SecurityException "SecurityManager already installed" when calling Framework.init() multiple times with the FRAMEWORK_SECURITY properties set. 

We need to move the check inside Felix.init() done one "if" statement so that it is only done when init is called with the framework in the installed or resolved state. 

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


[jira] Closed: (FELIX-2589) SecurityException "SecurityManager already installed" is thrown when calling Framework.init() multiple times with FRAMEWORK_SECURITY set

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

Karl Pauls closed FELIX-2589.
-----------------------------

    Resolution: Fixed

> SecurityException "SecurityManager already installed" is thrown when calling Framework.init() multiple times with FRAMEWORK_SECURITY set
> ----------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: FELIX-2589
>                 URL: https://issues.apache.org/jira/browse/FELIX-2589
>             Project: Felix
>          Issue Type: Bug
>    Affects Versions: framework-3.0.2
>            Reporter: Karl Pauls
>            Assignee: Karl Pauls
>             Fix For: framework-3.0.3
>
>
> Framework.init() can be called multiple times but we throw a SecurityException "SecurityManager already installed" when calling Framework.init() multiple times with the FRAMEWORK_SECURITY properties set. 
> We need to move the check inside Felix.init() done one "if" statement so that it is only done when init is called with the framework in the installed or resolved state. 

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


[jira] Updated: (FELIX-2589) SecurityException "SecurityManager already installed" is thrown when calling Framework.init() multiple times with FRAMEWORK_SECURITY set

Posted by "Richard S. Hall (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/FELIX-2589?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Richard S. Hall updated FELIX-2589:
-----------------------------------

    Fix Version/s: framework-3.0.3
                       (was: framework-3.2.0)

> SecurityException "SecurityManager already installed" is thrown when calling Framework.init() multiple times with FRAMEWORK_SECURITY set
> ----------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: FELIX-2589
>                 URL: https://issues.apache.org/jira/browse/FELIX-2589
>             Project: Felix
>          Issue Type: Bug
>    Affects Versions: framework-3.0.2
>            Reporter: Karl Pauls
>            Assignee: Karl Pauls
>             Fix For: framework-3.0.3
>
>
> Framework.init() can be called multiple times but we throw a SecurityException "SecurityManager already installed" when calling Framework.init() multiple times with the FRAMEWORK_SECURITY properties set. 
> We need to move the check inside Felix.init() done one "if" statement so that it is only done when init is called with the framework in the installed or resolved state. 

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