You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Amelchev Nikita (Jira)" <ji...@apache.org> on 2022/01/05 17:07:00 UTC
[jira] [Commented] (IGNITE-16178) Ignite 2.11 issue log4j module after upgrade log4j-2.17.0
[ https://issues.apache.org/jira/browse/IGNITE-16178?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17469437#comment-17469437 ]
Amelchev Nikita commented on IGNITE-16178:
------------------------------------------
[~myset], Hi. Could you try to use [2.11.1 version|https://ignite.apache.org/download.cgi] with updated log4j?
> Ignite 2.11 issue log4j module after upgrade log4j-2.17.0
> ---------------------------------------------------------
>
> Key: IGNITE-16178
> URL: https://issues.apache.org/jira/browse/IGNITE-16178
> Project: Ignite
> Issue Type: Bug
> Components: general
> Affects Versions: 2.11
> Reporter: Cristian Gheorghe Florescu
> Priority: Blocker
>
> Within my web-application using spring 5.3.14 and ignite 2.11 using Jetty 9.4.43 and JVM Correto 11.0.12+7-LTS
> Module ignite-log4j2 (log4j-2.11) conflict with my app library log4j-2.17
> The error is
> {code:java}
> java.lang.NoSuchMethodError: 'boolean org.apache.logging.log4j.spi.LoggerContextFactory.isClassLoaderDependent()'
> at org.apache.logging.log4j.jcl.LogAdapter.getContext(LogAdapter.java:40)
> at org.apache.logging.log4j.spi.AbstractLoggerAdapter.getLogger(AbstractLoggerAdapter.java:46)
> at org.apache.logging.log4j.jcl.LogFactoryImpl.getInstance(LogFactoryImpl.java:40)
> at org.apache.logging.log4j.jcl.LogFactoryImpl.getInstance(LogFactoryImpl.java:55)
> at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:685)
> at org.springframework.context.support.AbstractApplicationContext.<init>(AbstractApplicationContext.java:178)
> at org.springframework.context.support.AbstractRefreshableApplicationContext.<init>(AbstractRefreshableApplicationContext.java:81)
> at org.springframework.context.support.AbstractRefreshableConfigApplicationContext.<init>(AbstractRefreshableConfigApplicationContext.java:51)
> at org.springframework.web.context.support.AbstractRefreshableWebApplicationContext.<init>(AbstractRefreshableWebApplicationContext.java:101)
> at org.springframework.web.context.support.XmlWebApplicationContext.<init>(XmlWebApplicationContext.java:62)
> at ro.myset.appcore.web.context.ApplicationServletContextListener.startApplicationGridContext(ApplicationServletContextListener.java:123)
> at ro.myset.appcore.web.context.ApplicationServletContextListener.start(ApplicationServletContextListener.java:114)
> at ro.myset.appcore.web.context.ApplicationServletContextListener.contextInitialized(ApplicationServletContextListener.java:90)
> at org.eclipse.jetty.server.handler.ContextHandler.callContextInitialized(ContextHandler.java:1067)
> at org.eclipse.jetty.servlet.ServletContextHandler.callContextInitialized(ServletContextHandler.java:572)
> at org.eclipse.jetty.server.handler.ContextHandler.contextInitialized(ContextHandler.java:996)
> at org.eclipse.jetty.servlet.ServletHandler.initialize(ServletHandler.java:746)
> at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:379)
> at org.eclipse.jetty.webapp.WebAppContext.startWebapp(WebAppContext.java:1449)
> at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1414)
> at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:910)
> at org.eclipse.jetty.servlet.ServletContextHandler.doStart(ServletContextHandler.java:288)
> at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:524)
> at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:73)
> at org.eclipse.jetty.deploy.bindings.StandardStarter.processBinding(StandardStarter.java:46)
> at org.eclipse.jetty.deploy.AppLifeCycle.runBindings(AppLifeCycle.java:188)
> at org.eclipse.jetty.deploy.DeploymentManager.requestAppGoal(DeploymentManager.java:517)
> at org.eclipse.jetty.deploy.DeploymentManager.addApp(DeploymentManager.java:157)
> at org.eclipse.jetty.deploy.providers.ScanningAppProvider.fileAdded(ScanningAppProvider.java:173)
> at org.eclipse.jetty.deploy.providers.WebAppProvider.fileAdded(WebAppProvider.java:448)
> at org.eclipse.jetty.deploy.providers.ScanningAppProvider$1.fileAdded(ScanningAppProvider.java:66)
> at org.eclipse.jetty.util.Scanner.reportAddition(Scanner.java:785)
> at org.eclipse.jetty.util.Scanner.reportDifferences(Scanner.java:754)
> at org.eclipse.jetty.util.Scanner.scan(Scanner.java:641)
> at org.eclipse.jetty.util.Scanner$1.run(Scanner.java:558)
> at java.base/java.util.TimerThread.mainLoop(Timer.java:556)
> at java.base/java.util.TimerThread.run(Timer.java:506)
> {code}
> Within Apache Tomcat 9.0.54 on the same environment works well
>
--
This message was sent by Atlassian Jira
(v8.20.1#820001)