More info regarding spec at https://stackoverflow.com/questions/58033540/how-to-create-a-multiple-wildcard-url-pattern-in-web-xml
On Sunday, April 3, 2022 at 12:10:02 PM UTC-7 Ludovic Champenois wrote: > Hi, > So the app worked for the past 2 years without new deployment? Recently, > the Jetty web server got upgraded to 9.4.45... It might be more strict > regarding servlet 3.1 compliance in this area? Can you share more snippet > of code? > Ludo > > On Saturday, April 2, 2022 at 8:00:26 PM UTC-7 [email protected] wrote: > >> After 2 years of troubles work JSF application raised this exception: >> >> Uncaught exception from servlet java.lang.IllegalArgumentException: >> Servlet Spec 12.2 violation: glob '*' can only exist at end of prefix based >> matches: bad spec "/*.xhtml" at >> org.eclipse.jetty.http.pathmap.ServletPathSpec.assertValidServletPathSpec(ServletPathSpec.java:157) >> >> at >> org.eclipse.jetty.http.pathmap.ServletPathSpec.<init>(ServletPathSpec.java:56) >> >> at >> org.eclipse.jetty.servlet.ServletHandler.updateMappings(ServletHandler.java:1424) >> >> at >> org.eclipse.jetty.servlet.ServletHandler.doStart(ServletHandler.java:164) >> at >> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:73) >> >> at >> org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:169) >> >> at >> org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:110) >> >> at >> org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:97) >> >> at >> org.eclipse.jetty.security.SecurityHandler.doStart(SecurityHandler.java:411) >> at >> org.eclipse.jetty.security.ConstraintSecurityHandler.doStart(ConstraintSecurityHandler.java:417) >> >> at >> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:73) >> >> at >> org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:169) >> >> at >> org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:110) >> >> at >> org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:97) >> >> at >> org.eclipse.jetty.server.handler.ScopedHandler.doStart(ScopedHandler.java:120) >> >> at >> org.eclipse.jetty.server.session.SessionHandler.doStart(SessionHandler.java:505) >> >> at >> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:73) >> >> at >> org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:169) >> >> at >> org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:110) >> >> at >> org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:97) >> >> at >> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:73) >> >> at >> org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:169) >> >> at >> org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:110) >> >> at >> org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:97) >> >> at >> org.eclipse.jetty.server.handler.ScopedHandler.doStart(ScopedHandler.java:120) >> >> at >> org.eclipse.jetty.server.handler.ContextHandler.startContext(ContextHandler.java:969) >> >> at >> org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:375) >> >> at >> org.eclipse.jetty.webapp.WebAppContext.startWebapp(WebAppContext.java:1449) >> at >> com.google.apphosting.runtime.jetty94.AppEngineWebAppContext.startWebapp(AppEngineWebAppContext.java:263) >> >> 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 >> com.google.apphosting.runtime.jetty94.AppEngineWebAppContext.doStart(AppEngineWebAppContext.java:207) >> >> at >> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:73) >> >> at >> com.google.apphosting.runtime.jetty94.AppVersionHandlerFactory.doCreateHandler(AppVersionHandlerFactory.java:178) >> >> at >> com.google.apphosting.runtime.jetty94.AppVersionHandlerFactory.createHandler(AppVersionHandlerFactory.java:112) >> >> at >> com.google.apphosting.runtime.jetty94.AppVersionHandlerMap.getHandler(AppVersionHandlerMap.java:82) >> >> at >> com.google.apphosting.runtime.jetty94.JettyServletEngineAdapter.serviceRequest(JettyServletEngineAdapter.java:167) >> >> at >> com.google.apphosting.runtime.RequestRunner.dispatchServletRequest(RequestRunner.java:264) >> >> at >> com.google.apphosting.runtime.RequestRunner.dispatchRequest(RequestRunner.java:229) >> >> at >> com.google.apphosting.runtime.RequestRunner.run(RequestRunner.java:194) >> at >> com.google.apphosting.runtime.ThreadGroupPool$PoolEntry.run(ThreadGroupPool.java:273) >> >> at java.lang.Thread.run(Thread.java:748) >> > -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/840ce81d-3ec3-4efa-a0c3-60a9daa2c0f2n%40googlegroups.com.
