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

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

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.0-rc2
    • Component/s: Core
    • Labels:
      None
    • Environment:

      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

            • Assignee:
              jvz Matt Sicker
              Reporter:
              jvz Matt Sicker
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: