Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-24393

XWiki 18.4.0 RC1 fails to start on Jetty on Windows

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Blocker
    • 18.4.0
    • 18.4.0-rc-1
    • None
    • Windows 11 Pro, Edge 148, using an instance of XWiki 18.4.0 RC1 on Jetty/HSQL demo version
    • Unknown
    • N/A
    • N/A

    Description

      Steps to reproduce

      1. Download and unzip XWiki 18.4.0 RC1 on Windows 11, used demo version with Standard Flavor Preinstalled, but can also be used the ZIP Package
      2. Start the instance (on the Jetty servlet)

      Expected results

      The instance starts properly.

      Actual results

      The instance fails to start. In the logs, the following stacktrace is displayed (please also find attached the full logs):

      2026-05-20 18:22:48.137:WARN :oeje11w.WebAppContext:main: Failed startup of context oeje11w.WebAppContext@63611043{ROOT,/,b=file:///D:/Win%2010%20Backup/LUCRU_D/XWIKI%2018.4.0/xwiki-platform-distribution-flavor-jetty-hsqldb-18.4.0-rc-1/webapps/root/,a=STOPPED,h=oeje11s.SessionHandler@20ca951f{STOPPED}}
      java.nio.file.InvalidPathException: Illegal char <:> at index 3: /D:/Win 10 Backup/LUCRU_D/XWIKI 18.4.0/xwiki-platform-distribution-flavor-jetty-hsqldb-18.4.0-rc-1/webapps/root/WEB-INF/
              at java.base/sun.nio.fs.WindowsPathParser.normalize(WindowsPathParser.java:191)
              at java.base/sun.nio.fs.WindowsPathParser.parse(WindowsPathParser.java:142)
              at java.base/sun.nio.fs.WindowsPathParser.parse(WindowsPathParser.java:46)
              at java.base/sun.nio.fs.WindowsPath.parse(WindowsPath.java:92)
              at java.base/sun.nio.fs.WindowsFileSystem.getPath(WindowsFileSystem.java:203)
              at java.base/java.nio.file.Path.resolve(Path.java:513)
              at org.eclipse.jetty.util.resource.PathResource.resolveSchemeSpecificPath(PathResource.java:315)
              at org.eclipse.jetty.util.resource.PathResource.resolve(PathResource.java:296)
              at org.eclipse.jetty.ee11.webapp.WebAppContext.getWebInf(WebAppContext.java:760)
              at org.eclipse.jetty.ee11.webapp.WebXmlConfiguration.findWebXml(WebXmlConfiguration.java:112)
              at org.eclipse.jetty.ee11.webapp.WebXmlConfiguration.preConfigure(WebXmlConfiguration.java:71)
              at org.eclipse.jetty.ee11.webapp.Configurations.preConfigure(Configurations.java:489)
              at org.eclipse.jetty.ee11.webapp.WebAppContext.preConfigure(WebAppContext.java:463)
              at org.eclipse.jetty.ee11.webapp.WebAppContext.doStart(WebAppContext.java:506)
              at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:92)
              at org.eclipse.jetty.deploy.StandardDeployer.deploy(StandardDeployer.java:118)
              at org.eclipse.jetty.deploy.DeploymentScanner.performActions(DeploymentScanner.java:885)
              at org.eclipse.jetty.deploy.DeploymentScanner.pathsChanged(DeploymentScanner.java:612)
              at org.eclipse.jetty.util.Scanner.reportDifferences(Scanner.java:918)
              at org.eclipse.jetty.util.Scanner.scan(Scanner.java:817)
              at org.eclipse.jetty.util.Scanner.startScanning(Scanner.java:706)
              at org.eclipse.jetty.util.Scanner.doStart(Scanner.java:678)
              at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:92)
              at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:170)
              at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:121)
              at org.eclipse.jetty.deploy.DeploymentScanner.doStart(DeploymentScanner.java:759)
              at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:92)
              at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:170)
              at org.eclipse.jetty.server.Server.start(Server.java:689)
              at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:121)
              at org.eclipse.jetty.server.Handler$Abstract.doStart(Handler.java:545)
              at org.eclipse.jetty.server.Server.doStart(Server.java:630)
              at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:92)
              at org.eclipse.jetty.xml.XmlConfiguration.main(XmlConfiguration.java:2134)
              at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
              at java.base/java.lang.reflect.Method.invoke(Method.java:565)
              at org.eclipse.jetty.start.Main.invokeMain(Main.java:312)
              at org.eclipse.jetty.start.Main.start(Main.java:603)
              at org.eclipse.jetty.start.Main.main(Main.java:82)
      2026-05-20 18:22:48.165:WARN :oeje11w.WebAppContext:main: Failed startup of context oeje11w.WebAppContext@95e33cc{/xwiki,/xwiki,b=file:///D:/Win%2010%20Backup/LUCRU_D/XWIKI%2018.4.0/xwiki-platform-distribution-flavor-jetty-hsqldb-18.4.0-rc-1/webapps/xwiki/,a=STOPPED,h=oeje11s.SessionHandler@38604b81{STOPPED}}
      java.nio.file.InvalidPathException: Illegal char <:> at index 3: /D:/Win 10 Backup/LUCRU_D/XWIKI 18.4.0/xwiki-platform-distribution-flavor-jetty-hsqldb-18.4.0-rc-1/webapps/xwiki/WEB-INF/
              at java.base/sun.nio.fs.WindowsPathParser.normalize(WindowsPathParser.java:191)
              at java.base/sun.nio.fs.WindowsPathParser.parse(WindowsPathParser.java:142)
              at java.base/sun.nio.fs.WindowsPathParser.parse(WindowsPathParser.java:46)
              at java.base/sun.nio.fs.WindowsPath.parse(WindowsPath.java:92)
              at java.base/sun.nio.fs.WindowsFileSystem.getPath(WindowsFileSystem.java:203)
              at java.base/java.nio.file.Path.resolve(Path.java:513)
              at org.eclipse.jetty.util.resource.PathResource.resolveSchemeSpecificPath(PathResource.java:315)
              at org.eclipse.jetty.util.resource.PathResource.resolve(PathResource.java:296)
              at org.eclipse.jetty.ee11.webapp.WebAppContext.getWebInf(WebAppContext.java:760)
              at org.eclipse.jetty.ee11.webapp.WebXmlConfiguration.findWebXml(WebXmlConfiguration.java:112)
              at org.eclipse.jetty.ee11.webapp.WebXmlConfiguration.preConfigure(WebXmlConfiguration.java:71)
              at org.eclipse.jetty.ee11.webapp.Configurations.preConfigure(Configurations.java:489)
              at org.eclipse.jetty.ee11.webapp.WebAppContext.preConfigure(WebAppContext.java:463)
              at org.eclipse.jetty.ee11.webapp.WebAppContext.doStart(WebAppContext.java:506)
              at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:92)
              at org.eclipse.jetty.deploy.StandardDeployer.deploy(StandardDeployer.java:118)
              at org.eclipse.jetty.deploy.DeploymentScanner.performActions(DeploymentScanner.java:885)
              at org.eclipse.jetty.deploy.DeploymentScanner.pathsChanged(DeploymentScanner.java:612)
              at org.eclipse.jetty.util.Scanner.reportDifferences(Scanner.java:918)
              at org.eclipse.jetty.util.Scanner.scan(Scanner.java:817)
              at org.eclipse.jetty.util.Scanner.startScanning(Scanner.java:706)
              at org.eclipse.jetty.util.Scanner.doStart(Scanner.java:678)
              at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:92)
              at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:170)
              at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:121)
              at org.eclipse.jetty.deploy.DeploymentScanner.doStart(DeploymentScanner.java:759)
              at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:92)
              at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:170)
              at org.eclipse.jetty.server.Server.start(Server.java:689)
              at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:121)
              at org.eclipse.jetty.server.Handler$Abstract.doStart(Handler.java:545)
              at org.eclipse.jetty.server.Server.doStart(Server.java:630)
              at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:92)
              at org.eclipse.jetty.xml.XmlConfiguration.main(XmlConfiguration.java:2134)
              at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
              at java.base/java.lang.reflect.Method.invoke(Method.java:565)
              at org.eclipse.jetty.start.Main.invokeMain(Main.java:312)
              at org.eclipse.jetty.start.Main.start(Main.java:603)
              at org.eclipse.jetty.start.Main.main(Main.java:82)

      The issue doesn't reproduce if the instance is started on Ubuntu (tested on 25.10), or on Tomcat 11.0.22 on Windows.

      Also, the issue couldn't be reproduced on XWiki 18.3.0.

      Attachments

        Issue Links

          Activity

            People

              surli Simon Urli
              iandriuta Ilie Andriuta
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: