Details
-
Bug
-
Resolution: Invalid
-
Blocker
-
None
-
16.0.0
-
None
-
Ubuntu Server 20.04.6 LTS
OpenJDK Runtime Environment (build 17.0.9+9-Ubuntu-120.04)
-
Unknown
-
Description
PROBLEM SOLVED - see first comment below.
I upgraded my XWiki instance from 15.10.5 to 16.0.0 this morning and now Tomcat returns a 404 with the following:
Type Status Report
Message /xwiki/
Description The origin server did not find a current representation for the target resource or is not willing to disclose that one exists.
Tomcat's localhost error log:
02-Feb-2024 11:44:03.452 SEVERE [main] org.apache.catalina.core.StandardContext.listenerStart Error configuring application listener of class [org.xwiki.container.servlet.XWikiServletContextListener] java.lang.UnsupportedClassVersionError: org/xwiki/container/servlet/XWikiServletContextListener has been compiled by a more recent version of the Java Runtime (class file version 61.0), this version of the Java Runtime only recognizes class file versions up to 55.0 (unable to load class [org.xwiki.container.servlet.XWikiServletContextListener]) at org.apache.catalina.loader.WebappClassLoaderBase.findClassInternal(WebappClassLoaderBase.java:2424) at org.apache.catalina.loader.WebappClassLoaderBase.findClass(WebappClassLoaderBase.java:865) at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1334) at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1188) at org.apache.catalina.core.DefaultInstanceManager.loadClass(DefaultInstanceManager.java:540) at org.apache.catalina.core.DefaultInstanceManager.loadClassMaybePrivileged(DefaultInstanceManager.java:521) at org.apache.catalina.core.DefaultInstanceManager.newInstance(DefaultInstanceManager.java:150) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4607) at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5146) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:717) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:690) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:705) at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:630) at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1830) at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) 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:118) at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:526) at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:425) at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1575) at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:309) 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:936) at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:841) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183) at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1384) at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1374) 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:140) at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:909) at org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:262) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183) at org.apache.catalina.core.StandardService.startInternal(StandardService.java:421) 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:633) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:343) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:478) 02-Feb-2024 11:44:03.458 SEVERE [main] org.apache.catalina.core.StandardContext.listenerStart Error configuring application listener of class [org.xwiki.container.servlet.SetThreadNameServletRequestListener] java.lang.UnsupportedClassVersionError: org/xwiki/container/servlet/SetThreadNameServletRequestListener has been compiled by a more recent version of the Java Runtime (class file version 61.0), this version of the Java Runtime only recognizes class file versions up to 55.0 (unable to load class [org.xwiki.container.servlet.SetThreadNameServletRequestListener]) at org.apache.catalina.loader.WebappClassLoaderBase.findClassInternal(WebappClassLoaderBase.java:2424) at org.apache.catalina.loader.WebappClassLoaderBase.findClass(WebappClassLoaderBase.java:865) at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1334) at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1188) at org.apache.catalina.core.DefaultInstanceManager.loadClass(DefaultInstanceManager.java:540) at org.apache.catalina.core.DefaultInstanceManager.loadClassMaybePrivileged(DefaultInstanceManager.java:521) at org.apache.catalina.core.DefaultInstanceManager.newInstance(DefaultInstanceManager.java:150) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4607) at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5146) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:717) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:690) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:705) at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:630) at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1830) at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) 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:118) at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:526) at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:425) at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1575) at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:309) 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:936) at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:841) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183) at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1384) at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1374) 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:140) at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:909) at org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:262) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183) at org.apache.catalina.core.StandardService.startInternal(StandardService.java:421) 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:633) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:343) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:478) 02-Feb-2024 11:44:03.459 SEVERE [main] org.apache.catalina.core.StandardContext.listenerStart Skipped installing application listeners due to previous error(s)
Tomcat's catalina error log:
02-Feb-2024 11:41:41.629 INFO [http-nio-8080-exec-5] org.apache.tomcat.util.http.parser.Cookie.logInvalidHeader A cookie header was received [height:1080 pixelratio:1 touch:0 geolocation:1 websockets:1 webworkers:1 datepicker:1 dtpicker:1 timepicker:1 dnd:1 sessionstorage:1 localstorage:1 history:1 canvas:1 svg:1 postmessage:1 hc:0; _ga_KP4FXKH44V=GS1.1.1673469241.1.1.1673469252.0.0.0; _uetvid=f2daf8f0bfa211ed94c873602fa45d34; _ga_EGTTK3TDBV=GS1.1.1683772506.1.0.1683772506.0.0.0; _ga_DDZV7RBF1S=GS1.1.1688685180.1.1.1688685338.0.0.0; _ga_TMMLPE3QEW=GS1.1.1688685528.1.0.1688685528.0.0.0; _ga_YLH37FFFMV=GS1.2.1689292358.2.0.1689292358.0.0.0; mf_user=a1f04f950c6e2e672e5e1b913035b280|; _ga_ST4X5BZ1FC=GS1.1.1692661752.1.1.1692661871.0.0.0; _ga_52SWMGRYT5=GS1.1.1692750187.2.1.1692750620.0.0.0; _ga_9MG8NYB81W=GS1.1.1692750187.3.1.1692750620.0.0.0; _ga_Z0943XPBT6=GS1.1.1692750187.3.1.1692750620.0.0.0; _clck=1jecz71|2|ff0|1|1352; _ga_MH8TBZHBEV=GS1.1.1694732579.1.1.1694733996.60.0.0; _ga_2HLYFJXECM=GS1.1.1696964419.2.0.1696964419.0.0.0; _ga_NE0646N606=GS1.1.1699924382.4.1.1699924961.0.0.0; _ga_L3BL75GKSG=GS1.2.1700004073.78.1.1700004465.0.0.0; _gcl_au=1.1.1362068114.1700064068; _ga_1XWZ08D29D=GS1.1.1700064068.14.0.1700064107.21.0.0; cookieagree=agree; mbox=PC#1413487c53ea4583adb49dada0ef231f.35_0#1757283688|session#558fcc8fd5a84ff88011dc15266ddb50#1702585751; _ga_VBTBWGL4EW=GS1.1.1705337556.2.0.1705337556.60.0.0; _ga_GWPE9NDNL3=GS1.1.1705466515.2.0.1705466515.0.0.0; _ga_9WXYK3PMB6=GS1.1.1705466515.4.0.1705466515.60.0.0; _ga_Q6CCFGKCYZ=GS1.1.1705971732.14.0.1705971732.0.0.0; _ga_04EC4PGXQF=GS1.2.1706566870.2.0.1706566870.0.0.0; _ga_18TBJS8W9C=GS1.1.1706566869.10.0.1706567573.0.0.0; _abck=FACE7694B3D83AAB9B86A8005C66EDE4~0~YAAQpQrXF6dH7RSNAQAAbvsUXAv/AH62OMFOP7rL1jos5UGZa0sLhWr16c1GdK1jVww+m/jKRvvhaGU7/n4t6zd6sbLSfwRe5ULw8SmO0NIHHuXg+IzSsV3ix5rWeb2UkaKchOS8I5d2dEv/pf3Z3P4G0GwA8cMA3f88YqxsN4YmCtGxoCbOUlCPim7VqPt9uFwxHPCzygBixLYYWUOvQ6vKz5Fti+ns5gPB9xsp7xD123OhPio8bTjR4Th1yvtoW17KABJPOzkT98E4dZWSUrShDfgRBAMaX0lkHwxdTgV4FchISD4fJPhB/ldik3Tr90GlEUilWUeJpmfM1d1FrFWhbvv8Gzak4XGKIr7XQeXHo3PJsCAX23dASL5UDsorDw2GR8/E8ShT4PfeoJ/lcGGSBR802QyBJni4~-1~-1~-1; AMCV_255B459A5D94570B0A495C24%40AdobeOrg=179643557%7CMCIDTS%7C19753%7CMCMID%7C36717261778355518423144587618806284199%7CMCAAMLH-1707251700%7C9%7CMCAAMB-1707251700%7CRKhpRz8krg2tLO6pguXWp5olkAcUniQYPHaMWWgdJ3xzPWQmdj0y%7CMCOPTOUT-1706654100s%7CNONE%7CvVersion%7C5.5.0; RT="z=1&dm=microchip.com&si=61d841c6-b9ac-454b-94b7-58e413058038&ss=ls0thw7k&sl=1&tt=32n&bcn=%2F%2F17de4c0d.akstat.io%2F&ld=3vc&hd=epl"; _ga_FQBEW2M802=GS1.1.1706650280.13.0.1706650280.0.0.0; _ga=GA1.2.1309233008.1705078845; _ga_QQBYV15T88=GS1.2.1706728668.8.1.1706728717.0.0.0] that contained an invalid cookie. That cookie will be ignored. Note: further occurrences of this error will be logged at DEBUG level. 02-Feb-2024 11:43:59.758 INFO [Thread-3] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-8080"] 02-Feb-2024 11:43:59.761 INFO [Thread-3] org.apache.catalina.core.StandardService.stopInternal Stopping service [Catalina] 02-Feb-2024 11:43:59.772 WARNING [Thread-3] org.apache.catalina.loader.WebappClassLoaderBase.clearReferencesObjectStreamClassCaches Failed to clear soft references from ObjectStreamClass$Caches for web application [ROOT] java.lang.ClassCastException: class java.io.ObjectStreamClass$Caches$1 cannot be cast to class java.util.Map (java.io.ObjectStreamClass$Caches$1 and java.util.Map are in module java.base of loader 'bootstrap') at org.apache.catalina.loader.WebappClassLoaderBase.clearCache(WebappClassLoaderBase.java:2269) at org.apache.catalina.loader.WebappClassLoaderBase.clearReferencesObjectStreamClassCaches(WebappClassLoaderBase.java:2256) at org.apache.catalina.loader.WebappClassLoaderBase.clearReferences(WebappClassLoaderBase.java:1627) at org.apache.catalina.loader.WebappClassLoaderBase.stop(WebappClassLoaderBase.java:1555) at org.apache.catalina.loader.WebappLoader.stopInternal(WebappLoader.java:443) at org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:257) at org.apache.catalina.core.StandardContext.stopInternal(StandardContext.java:5432) at org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:257) at org.apache.catalina.core.ContainerBase$StopChild.call(ContainerBase.java:1400) at org.apache.catalina.core.ContainerBase$StopChild.call(ContainerBase.java:1389) 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:140) at org.apache.catalina.core.ContainerBase.stopInternal(ContainerBase.java:976) at org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:257) at org.apache.catalina.core.ContainerBase$StopChild.call(ContainerBase.java:1400) at org.apache.catalina.core.ContainerBase$StopChild.call(ContainerBase.java:1389) 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:140) at org.apache.catalina.core.ContainerBase.stopInternal(ContainerBase.java:976) at org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:257) at org.apache.catalina.core.StandardService.stopInternal(StandardService.java:473) at org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:257) at org.apache.catalina.core.StandardServer.stopInternal(StandardServer.java:992) at org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:257) at org.apache.catalina.startup.Catalina.stop(Catalina.java:706) at org.apache.catalina.startup.Catalina$CatalinaShutdownHook.run(Catalina.java:803) 02-Feb-2024 11:43:59.779 INFO [Thread-3] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-8080"] 02-Feb-2024 11:43:59.785 INFO [Thread-3] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-8080"]