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

AppenderSkeleton missing from log4j-1.2-api-2.3.2 bridge

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Critical
    • Resolution: Won't Fix
    • 2.3.2
    • None
    • Log4j 1.2 bridge
    • None

    Description

      Currently log4j1 is being used in our application with Java1.6 but due to vulnerabilities and EOL we are now trying to implement Log4j1.2 bridge in our application. We have use Log4j2.3.2 api with Log4j1.2 bridge(For Java6) but while running the application getting below ClassNotFoundException exception:

      -----------------------------------------------------------------------------------------------

      at com.rbsfm.wssservices.argon.MessageReader.run(MessageReader.java:150)
      Caused by: java.lang.ClassNotFoundException: org.apache.log4j.AppenderSkeleton
          at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
          at java.security.AccessController.doPrivileged(Native Method)
          at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
          at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
          at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
          at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
          ... 17 more
      2022-02-03 15:25:09,564 DEBUG Stopping LoggerContext[name=3526198, org.apache.logging.log4j.core.LoggerContext@162dbb6]

      -----------------------------------------------------------------------------------------------

      Its looking like ApenderSkeleton class is missing from Log4j-1.2-api-2.3.2 bridge jar. Could you please suggest if there is any other bridge which can be used and compatible with java6 or we can enhance 2.3.2 bridge API.

      Jars used in application : 

      log4j-api-2.3.2.jar
      log4j-core-2.3.2.jar
      log4j-1.2-api-2.3.2.jar

      Attachments

        Activity

          People

            Unassigned Unassigned
            dwivedv Vivek
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: