You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Daniel Kulp (JIRA)" <ji...@apache.org> on 2011/03/01 05:04:36 UTC

[jira] Resolved: (CXF-3361) Configuring Log4jLogger requires SecurityPermission setContextClassLoader

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

Daniel Kulp resolved CXF-3361.
------------------------------

       Resolution: Fixed
    Fix Version/s: 2.3.4
                   2.4
         Assignee: Daniel Kulp

> Configuring Log4jLogger requires SecurityPermission setContextClassLoader
> -------------------------------------------------------------------------
>
>                 Key: CXF-3361
>                 URL: https://issues.apache.org/jira/browse/CXF-3361
>             Project: CXF
>          Issue Type: Bug
>    Affects Versions: 2.2.12
>            Reporter: Martin Centner
>            Assignee: Daniel Kulp
>             Fix For: 2.4, 2.3.4
>
>
> When configuring Log4jLogger as in http://cxf.apache.org/docs/debugging-and-logging.html (using any of the options described), a SecurityPermission of {{setContextClassLoader}} is required in order to allow org.apache.cxf.common.logging.Log4jLogger to be loaded successfully. This is a consequence of using {{BugHacks.doHacks();}} in the Log4jLogger's static block. 
> The required security permission {{setContextClassLoader}} to load a class seams inadequate.

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira