Details
-
Bug
-
Resolution: Fixed
-
Blocker
-
14.8-rc-1
-
None
-
Windows 11 Pro 64 bit, Edge 105, using a local instance of XWiki 14.8 RC1 on MySQL 8.0.30, Tomcat 9.0.65, Java 17.0.4 (Oracle)
-
Unknown
-
N/A
-
N/A
-
Description
STEPS TO REPRODUCE
- Create an older XWiki instance (e.g. 13.10.7), but can be also reproduced with the standard Jetty/HSQL demo package
- Upgrade it to XWiki 14.8 RC1 (e.g. by replacing the WAR and configuring it with the correct DB)
EXPECTED RESULTS
No warnings/ errors are displayed.
ACTUAL RESULTS
In XWiki console, there are the following stacktraces:
2022-09-27 16:47:43,190 [main] WARN o.a.s.l.LogWatcher - Unable to read SLF4J version. LogWatcher will be disabled: java.lang.NoClassDefFoundError: org/slf4j/impl/StaticLoggerBinder at org.apache.solr.logging.LogWatcher.createWatcher(LogWatcher.java:156) at org.apache.solr.logging.LogWatcher.newRegisteredLogWatcher(LogWatcher.java:135) at org.apache.solr.core.CoreContainer.load(CoreContainer.java:722) at org.xwiki.search.solr.internal.XWikiCoreContainer.createAndLoad(XWikiCoreContainer.java:75) at org.xwiki.search.solr.internal.XWikiCoreContainer.createAndLoad(XWikiCoreContainer.java:61) at org.xwiki.search.solr.internal.EmbeddedSolr.createCoreContainer(EmbeddedSolr.java:138) at org.xwiki.search.solr.internal.EmbeddedSolr.initialize(EmbeddedSolr.java:127) at org.xwiki.component.embed.InitializableLifecycleHandler.handle(InitializableLifecycleHandler.java:39) at org.xwiki.component.embed.EmbeddableComponentManager.createInstance(EmbeddableComponentManager.java:365) at org.xwiki.component.embed.EmbeddableComponentManager.getComponentInstance(EmbeddableComponentManager.java:451) at org.xwiki.component.embed.EmbeddableComponentManager.getInstance(EmbeddableComponentManager.java:201) at org.xwiki.search.solr.internal.DefaultSolr.initialize(DefaultSolr.java:58) at org.xwiki.component.embed.InitializableLifecycleHandler.handle(InitializableLifecycleHandler.java:39) at org.xwiki.component.embed.EmbeddableComponentManager.createInstance(EmbeddableComponentManager.java:365) at org.xwiki.component.embed.EmbeddableComponentManager.getComponentInstance(EmbeddableComponentManager.java:451) at org.xwiki.component.embed.EmbeddableComponentManager.getInstance(EmbeddableComponentManager.java:201) at org.xwiki.component.embed.EmbeddableComponentManager.getDependencyInstance(EmbeddableComponentManager.java:406) at org.xwiki.component.embed.EmbeddableComponentManager.createInstance(EmbeddableComponentManager.java:355) at org.xwiki.component.embed.EmbeddableComponentManager.getComponentInstance(EmbeddableComponentManager.java:451) at org.xwiki.component.embed.EmbeddableComponentManager.getInstance(EmbeddableComponentManager.java:201) at org.xwiki.eventstream.internal.DefaultEventStore.initialize(DefaultEventStore.java:102) at org.xwiki.component.embed.InitializableLifecycleHandler.handle(InitializableLifecycleHandler.java:39) at org.xwiki.component.embed.EmbeddableComponentManager.createInstance(EmbeddableComponentManager.java:365) at org.xwiki.component.embed.EmbeddableComponentManager.getComponentInstance(EmbeddableComponentManager.java:451) at org.xwiki.component.embed.EmbeddableComponentManager.getInstance(EmbeddableComponentManager.java:201) at org.xwiki.component.embed.EmbeddableComponentManager.getDependencyInstance(EmbeddableComponentManager.java:406) at org.xwiki.component.embed.EmbeddableComponentManager.createInstance(EmbeddableComponentManager.java:355) at org.xwiki.component.embed.EmbeddableComponentManager.getComponentInstance(EmbeddableComponentManager.java:451) at org.xwiki.component.embed.EmbeddableComponentManager.getInstance(EmbeddableComponentManager.java:201) at org.xwiki.component.embed.EmbeddableComponentManager.getDependencyInstance(EmbeddableComponentManager.java:406) at org.xwiki.component.embed.EmbeddableComponentManager.createInstance(EmbeddableComponentManager.java:355) at org.xwiki.component.embed.EmbeddableComponentManager.getComponentInstance(EmbeddableComponentManager.java:451) at org.xwiki.component.embed.EmbeddableComponentManager.getInstanceMap(EmbeddableComponentManager.java:242) at org.xwiki.component.embed.EmbeddableComponentManager.getInstanceList(EmbeddableComponentManager.java:225) at org.xwiki.observation.internal.DefaultObservationManager.initializeListeners(DefaultObservationManager.java:166) at org.xwiki.observation.internal.DefaultObservationManager.getListenersByEvent(DefaultObservationManager.java:132) at org.xwiki.observation.internal.DefaultObservationManager.notify(DefaultObservationManager.java:283) at org.xwiki.component.internal.StackingComponentEventManager.sendEvent(StackingComponentEventManager.java:151) at org.xwiki.component.internal.StackingComponentEventManager.flushEvents(StackingComponentEventManager.java:92) at org.xwiki.container.servlet.XWikiServletContextListener.contextInitialized(XWikiServletContextListener.java:133) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4768) at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5230) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:726) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:698) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:696) at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1185) at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1933) at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75) at java.base/java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:123) at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:1095) at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:477) at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1618) at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:319) at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:123) at org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:423) at org.apache.catalina.util.LifecycleBase.setState(LifecycleBase.java:366) at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:946) at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:835) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183) at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1396) at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1386) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75) at java.base/java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:145) at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:919) at org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:265) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183) at org.apache.catalina.core.StandardService.startInternal(StandardService.java:432) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183) at org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:930) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183) at org.apache.catalina.startup.Catalina.start(Catalina.java:772) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:568) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:345) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:476) Caused by: java.lang.ClassNotFoundException: org.slf4j.impl.StaticLoggerBinder at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1412) at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1220) ... 81 common frames omitted
and
2022-09-27 16:47:45,533 [main] WARN o.a.s.c.SolrConfig - solrconfig.xml: <jmx> is no longer supported, use solr.xml:/metrics/reporter section instead 2022-09-27 16:47:45,904 [main] WARN o.a.s.c.SolrConfig - solrconfig.xml: <jmx> is no longer supported, use solr.xml:/metrics/reporter section instead 2022-09-27 16:47:45,982 [main] WARN o.a.s.c.SolrConfig - solrconfig.xml: <jmx> is no longer supported, use solr.xml:/metrics/reporter section instead 2022-09-27 16:47:47,512 [main] WARN o.a.s.c.SolrConfig - solrconfig.xml: <jmx> is no longer supported, use solr.xml:/metrics/reporter section instead 2022-09-27 16:47:47,725 [main] WARN o.a.s.c.SolrConfig - solrconfig.xml: <jmx> is no longer supported, use solr.xml:/metrics/reporter section instead 2022-09-27 16:47:47,778 [main] WARN o.a.s.c.SolrConfig - solrconfig.xml: <jmx> is no longer supported, use solr.xml:/metrics/reporter section instead
The issue couldn't be reproduced on XWiki 14.7.
Please find attached the full logs.