You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@logging.apache.org by "Gary D. Gregory (Jira)" <ji...@apache.org> on 2022/02/03 14:23:00 UTC

[jira] [Commented] (LOG4J2-3390) AppenderSkeleton missing from log4j-1.2-api-2.3.2 bridge

    [ https://issues.apache.org/jira/browse/LOG4J2-3390?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17486519#comment-17486519 ] 

Gary D. Gregory commented on LOG4J2-3390:
-----------------------------------------

The best bridge version of the code is in 2.17.1 and it will get better in the next release.

> AppenderSkeleton missing from log4j-1.2-api-2.3.2 bridge
> --------------------------------------------------------
>
>                 Key: LOG4J2-3390
>                 URL: https://issues.apache.org/jira/browse/LOG4J2-3390
>             Project: Log4j 2
>          Issue Type: Improvement
>          Components: Log4j 1.2 bridge
>    Affects Versions: 2.3.2
>            Reporter: Vivek
>            Priority: Critical
>
> 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



--
This message was sent by Atlassian Jira
(v8.20.1#820001)