Uploaded image for project: 'CXF'
  1. CXF
  2. CXF-3361

Configuring Log4jLogger requires SecurityPermission setContextClassLoader

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.2.12
    • 2.4, 2.3.4
    • None
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              dkulp Daniel Kulp
              lot77 Martin Centner
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: