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

JPAAppender stops logging because META-INF/log4j-provider.properties is left open

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 2.0-beta8
    • Fix Version/s: 2.0-beta9
    • Component/s: Appenders
    • Labels:
      None
    • Environment:

      EclipseLink, version: Eclipse Persistence Services - 2.3.0.v20110604-r9504
      Glassfish 3.1.1
      Mysql 5

      Description

      After the EAR is redeployed the JPAAppender stops logging.
      The exception is: SEVERE: java.lang.IllegalArgumentException: Object: com.log4j.JpaLog@1b7d808 is not a known entity type.

      The log4j setup is done in a singleton bean with the Startup annotation

        Attachments

        1. JpaLog.java
          1 kB
          jd
        2. Log4jSetup.java
          2 kB
          jd
        3. patch.diff
          1 kB
          jd
        4. ProviderUtil.java
          4 kB
          jd

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              jdbuys@gmail.com jd
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: