Uploaded image for project: 'Log4j 2'
  1. Log4j 2
  2. LOG4J2-664

Plugins data file needs to be in META-INF for OSGi compatibility.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • None
    • 2.0-rc2
    • Core
    • None
    • OSGi 5 (but any version really), Karaf 3.0.1

    Description

      Storing the .dat file in the current location org/apache/logging/... makes it part of that package. Thus, every JAR that has plugins ends up trying to export the plugins package which causes conflicts.

      This file needs to be stored in a location in META-INF instead so that it isn't included in the Export-Package attribute.

      Attachments

        Activity

          People

            mattsicker Matt Sicker
            mattsicker Matt Sicker
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: