jetty / jetty.project

Eclipse Jetty® - Web Container & Clients - supports HTTP/2, HTTP/1.1, HTTP/1.0, websocket, servlets, and more
https://eclipse.dev/jetty
Other
3.86k stars 1.91k forks source link

Windows 11 pro - problem launching Jetty with ${jetty.home}\etc\jetty-ee10-deploy.xml <Configure> (or next one ?) #11270

Closed Pasb4js closed 9 months ago

Pasb4js commented 10 months ago

I was trying to migrate a Jetty 9 project to Jetty 12. Windows is up to date, so are most programs.

Jetty version(s) 12.0.5

Jetty Environment

Enabled Modules:
----------------
  0) resources                 transitive provider of resources for logging-logback
  1) logging/slf4j             dynamic dependency of logging-logback
                               transitive provider of logging/slf4j for logging-logback
  2) logging-logback           ${jetty.base}\start.d\logging-logback.ini
  3) bytebufferpool            transitive provider of bytebufferpool for server
                               ini template available with --add-modules=bytebufferpool
  4) client                    transitive provider of client for ee10-websocket-jakarta
  5) threadpool                transitive provider of threadpool for server
                               ini template available with --add-modules=threadpool
  6) server                    transitive provider of server for http
                               transitive provider of server for ee10-plus
                               transitive provider of server for deploy
                               transitive provider of server for plus
                               transitive provider of server for security
                               transitive provider of server for sessions
                               transitive provider of server for ee10-security
                               transitive provider of server for ee10-servlet
                               transitive provider of server for jndi
                               transitive provider of server for gzip
                               ini template available with --add-modules=server
  7) deploy                    transitive provider of deploy for ee10-deploy
  8) sessions                  transitive provider of sessions for ee10-servlet
                               ini template available with --add-modules=sessions
  9) ee10-servlet              transitive provider of ee10-servlet for ee10-webapp
                               transitive provider of ee10-servlet for ee10-security
 10) security                  transitive provider of security for ee10-security
 11) ee10-security             transitive provider of ee10-security for ee10-webapp
                               transitive provider of ee10-security for ee10-plus
 12) ee10-webapp               transitive provider of ee10-webapp for ee10-plus
                               transitive provider of ee10-webapp for ee10-deploy
                               ini template available with --add-modules=ee10-webapp
 13) plus                      ${jetty.base}\start.d\plus.ini
 14) jndi                      transitive provider of jndi for ee10-plus
 15) ee10-plus                 transitive provider of ee10-plus for ee10-annotations
 16) ee10-annotations          transitive provider of ee10-annotations for ee10-websocket-jakarta
 17) ee10-deploy               ${jetty.base}\start.d\ee10-deploy.ini
 18) ee10-websocket-jakarta    ${jetty.base}\start.d\ee10-websocket-jakarta.ini
 19) gzip                      ${jetty.base}\start.d\gzip.ini
 20) http                      ${jetty.base}\start.d\http.ini

JVM Version & Properties:
-------------------------
 java.home = C:\tools\64bits\java\jdk-21.0.1
 java.vm.vendor = Oracle Corporation
 java.vm.version = 21.0.1+12-29
 java.vm.name = OpenJDK 64-Bit Server VM
 java.vm.info = mixed mode, sharing
 java.runtime.name = OpenJDK Runtime Environment
 java.runtime.version = 21.0.1+12-29
 java.io.tmpdir = C:\Users\...\AppData\Local\Temp\
 user.dir = C:\DEV\GIT\...\tools\jetty\go-base
 user.language = fr
 user.country = FR

Jetty Version & Properties:
---------------------------
 jetty.version = 12.0.5
 jetty.tag.version = jetty-12.0.5
 jetty.build = 3aed62e4959bb8c01f5975fe81e078e3ff626126
 jetty.home = C:\tools\noarch\jetty\12.0.5
 jetty.base = C:\DEV\GIT\...\tools\jetty\go-base

Config Search Order:
--------------------
 <command-line>
 ${jetty.base} -> C:\DEV\GIT\...\tools\jetty\go-base
 ${jetty.home} -> C:\tools\noarch\jetty\12.0.5

System Properties:
------------------
 (no system properties specified)

Properties: Jetty
-----------------
 java.version = 21.0.1
 java.version.major = 21
 java.version.micro = 1
 java.version.minor = 0
 java.version.platform = 21
 jetty.base = C:\DEV\GIT\...\tools\jetty\go-base
 jetty.base.uri = file:///C:/DEV/GIT/.../tools/jetty/go-base
 jetty.home = C:\tools\noarch\jetty\12.0.5
 jetty.home.uri = file:///C:/tools/noarch/jetty/12.0.5
 jetty.webapp.addServerClasses = ch.qos.logback.,org.slf4j.
 logback.version = 1.4.14
 runtime.feature.alpn = true
 slf4j.version = 2.0.9

Classpath: Jetty
----------------
Version Information on 16 entries in the classpath.
Note: order presented here is how they would appear on the classpath.
      changes to the --module=name command line options will be reflected here.
 0:                    (dir) | ${jetty.base}\resources
 1:                    2.0.9 | ${jetty.home}\lib\logging\slf4j-api-2.0.9.jar
 2:                   1.4.14 | ${jetty.base}\lib\logging\logback-classic-1.4.14.jar
 3:                   1.4.14 | ${jetty.base}\lib\logging\logback-core-1.4.14.jar
 4:                   12.0.5 | ${jetty.home}\lib\jetty-client-12.0.5.jar
 5:                   12.0.5 | ${jetty.home}\lib\jetty-alpn-client-12.0.5.jar
 6:                   12.0.5 | ${jetty.home}\lib\jetty-http-12.0.5.jar
 7:                   12.0.5 | ${jetty.home}\lib\jetty-server-12.0.5.jar
 8:                   12.0.5 | ${jetty.home}\lib\jetty-xml-12.0.5.jar
 9:                   12.0.5 | ${jetty.home}\lib\jetty-util-12.0.5.jar
10:                   12.0.5 | ${jetty.home}\lib\jetty-io-12.0.5.jar
11:                   12.0.5 | ${jetty.home}\lib\jetty-deploy-12.0.5.jar
12:                   12.0.5 | ${jetty.home}\lib\jetty-session-12.0.5.jar
13:                   12.0.5 | ${jetty.home}\lib\jetty-security-12.0.5.jar
14:                   12.0.5 | ${jetty.home}\lib\jetty-plus-12.0.5.jar
15:                   12.0.5 | ${jetty.home}\lib\jetty-jndi-12.0.5.jar

Active XMLs: Jetty
------------------
 ${jetty.home}\etc\jetty-bytebufferpool.xml
 ${jetty.home}\etc\jetty-threadpool.xml
 ${jetty.base}\etc\jetty.xml
 ${jetty.base}\etc\jetty-deploy.xml
 ${jetty.home}\etc\sessions\id-manager.xml
 ${jetty.home}\etc\jetty-gzip.xml
 ${jetty.home}\etc\jetty-http.xml

Properties: ee10
----------------
 contextHandlerClass = org.eclipse.jetty.ee10.webapp.WebAppContext

Classpath: ee10
---------------
Version Information on 24 entries in the classpath.
Note: order presented here is how they would appear on the classpath.
      changes to the --module=name command line options will be reflected here.
 0:                    6.0.0 | ${jetty.home}\lib\jakarta.servlet-api-6.0.0.jar
 1:                   12.0.5 | ${jetty.home}\lib\jetty-ee10-servlet-12.0.5.jar
 2:                   12.0.5 | ${jetty.home}\lib\jetty-ee10-webapp-12.0.5.jar
 3:                   12.0.5 | ${jetty.home}\lib\jetty-ee10-plus-12.0.5.jar
 4:                    2.0.1 | ${jetty.home}\lib\jakarta.transaction-api-2.0.1.jar
 5:                    2.1.0 | ${jetty.home}\lib\jakarta.interceptor-api-2.1.0.jar
 6:                    4.0.1 | ${jetty.home}\lib\jakarta.enterprise.cdi-api-4.0.1.jar
 7:                      2.0 | ${jetty.home}\lib\jakarta.inject-api-2.0.1.jar
 8:                    4.0.1 | ${jetty.home}\lib\jakarta.enterprise.lang-model-4.0.1.jar
 9:                   12.0.5 | ${jetty.home}\lib\jetty-ee10-annotations-12.0.5.jar
10:                      9.6 | ${jetty.home}\lib\ee10-annotations\asm-9.6.jar
11:                      9.6 | ${jetty.home}\lib\ee10-annotations\asm-analysis-9.6.jar
12:                      9.6 | ${jetty.home}\lib\ee10-annotations\asm-commons-9.6.jar
13:                      9.6 | ${jetty.home}\lib\ee10-annotations\asm-tree-9.6.jar
14:                    2.1.1 | ${jetty.home}\lib\ee10-annotations\jakarta.annotation-api-2.1.1.jar
15:                   12.0.5 | ${jetty.home}\lib\jetty-websocket-core-common-12.0.5.jar
16:                   12.0.5 | ${jetty.home}\lib\jetty-websocket-core-client-12.0.5.jar
17:                   12.0.5 | ${jetty.home}\lib\jetty-websocket-core-server-12.0.5.jar
18:                   12.0.5 | ${jetty.home}\lib\ee10-websocket\jetty-ee10-websocket-servlet-12.0.5.jar
19:                    2.1.1 | ${jetty.home}\lib\ee10-websocket\jakarta.websocket-client-api-2.1.1.jar
20:                    2.1.1 | ${jetty.home}\lib\ee10-websocket\jakarta.websocket-api-2.1.1.jar
21:                   12.0.5 | ${jetty.home}\lib\ee10-websocket\jetty-ee10-websocket-jakarta-client-12.0.5.jar
22:                   12.0.5 | ${jetty.home}\lib\ee10-websocket\jetty-ee10-websocket-jakarta-common-12.0.5.jar
23:                   12.0.5 | ${jetty.home}\lib\ee10-websocket\jetty-ee10-websocket-jakarta-server-12.0.5.jar

Java version/vendor (use: java -version) Tested with java 17 and 21

java --version
openjdk 17.0.2 2022-01-18
OpenJDK Runtime Environment (build 17.0.2+8-86)
OpenJDK 64-Bit Server VM (build 17.0.2+8-86, mixed mode, sharing)

java --version
openjdk 21.0.1 2023-10-17
OpenJDK Runtime Environment (build 21.0.1+12-29)
OpenJDK 64-Bit Server VM (build 21.0.1+12-29, mixed mode, sharing)

OS type/version

ver

Microsoft Windows [version 10.0.22631.3007]

Description Launching Jetty failed. I extracted Jetty from the ZIP or TGZ from Official site: https://eclipse.dev/jetty/download.php And didn't modify the {jetty.home}.

I checked the jetty-ee10-deploy.xml in XML validators or in Hex editor (to find weird characters). But it's perhaps the next one ? But not in the logs

Error:

Active XMLs: ee10
-----------------
 ${jetty.home}\etc\jetty-ee10-webapp.xml
 ${jetty.home}\etc\jetty-ee10-deploy.xml
java.lang.reflect.InvocationTargetException
        at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:118)
        at java.base/java.lang.reflect.Method.invoke(Method.java:580)
        at org.eclipse.jetty.start.Main.invokeMain(Main.java:221)
        at org.eclipse.jetty.start.Main.start(Main.java:519)
        at org.eclipse.jetty.start.Main.main(Main.java:76)
Caused by: org.xml.sax.SAXParseException; lineNumber: 2; columnNumber: 64; cvc-elt.1.a: Cannot find the declaration of element 'Configure'.
        at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown Source)
        at org.apache.xerces.util.ErrorHandlerWrapper.error(Unknown Source)
        at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
        at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
        at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
        at org.apache.xerces.impl.xs.XMLSchemaValidator.handleStartElement(Unknown Source)
        at org.apache.xerces.impl.xs.XMLSchemaValidator.startElement(Unknown Source)
        at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source)
        at org.apache.xerces.impl.XMLNSDocumentScannerImpl$NSContentDispatcher.scanRootElementHook(Unknown Source)
        at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
        at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
        at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
        at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
        at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
        at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
        at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
        at org.apache.xerces.jaxp.SAXParserImpl.parse(Unknown Source)
        at org.eclipse.jetty.xml.XmlParser.parse(XmlParser.java:254)
        at org.eclipse.jetty.xml.XmlParser.parse(XmlParser.java:303)
        at org.eclipse.jetty.xml.XmlConfiguration.<init>(XmlConfiguration.java:278)
        at org.eclipse.jetty.xml.XmlConfiguration.<init>(XmlConfiguration.java:260)
        at org.eclipse.jetty.xml.XmlConfiguration.main(XmlConfiguration.java:1963)
        at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
        ... 4 more
java.lang.reflect.InvocationTargetException
        at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:118)
        at java.base/java.lang.reflect.Method.invoke(Method.java:580)
        at org.eclipse.jetty.start.Main.invokeMain(Main.java:221)
        at org.eclipse.jetty.start.Main.start(Main.java:519)
        at org.eclipse.jetty.start.Main.main(Main.java:76)
Caused by: org.xml.sax.SAXParseException; lineNumber: 2; columnNumber: 64; cvc-elt.1.a: Cannot find the declaration of element 'Configure'.
        at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown Source)
        at org.apache.xerces.util.ErrorHandlerWrapper.error(Unknown Source)
        at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
        at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
        at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
        at org.apache.xerces.impl.xs.XMLSchemaValidator.handleStartElement(Unknown Source)
        at org.apache.xerces.impl.xs.XMLSchemaValidator.startElement(Unknown Source)
        at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source)
        at org.apache.xerces.impl.XMLNSDocumentScannerImpl$NSContentDispatcher.scanRootElementHook(Unknown Source)
        at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
        at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
        at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
        at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
        at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
        at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
        at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
        at org.apache.xerces.jaxp.SAXParserImpl.parse(Unknown Source)
        at org.eclipse.jetty.xml.XmlParser.parse(XmlParser.java:254)
        at org.eclipse.jetty.xml.XmlParser.parse(XmlParser.java:303)
        at org.eclipse.jetty.xml.XmlConfiguration.<init>(XmlConfiguration.java:278)
        at org.eclipse.jetty.xml.XmlConfiguration.<init>(XmlConfiguration.java:260)
        at org.eclipse.jetty.xml.XmlConfiguration.main(XmlConfiguration.java:1963)
        at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
        ... 4 more

Usage: java -jar $JETTY_HOME/start.jar [options] [properties] [configs]
       java -jar $JETTY_HOME/start.jar --help  # for more information
Appuyez sur une touche pour continuer...

How to reproduce? Launch Jetty java -jar %JETTY_HOME%/start.jar %JETTY_OPTIONS% %JETTY_STOP_OPTIONS% --module=ext

joakime commented 10 months ago

This reads like an XML entity resolver issue. I have access to Windows 10 home laptop, I'm going to try to replicate.

joakime commented 10 months ago

I am unable to replicate.

I'm going to need more information.

First thing I noticed in your description, what's in your %JETTY_OPTIONS% and %JETTY_STOP_OPTIONS% properties?

Can you run java -jar %JETTY_HOME%/start.jar %JETTY_OPTIONS% %JETTY_STOP_OPTIONS% --module=ext --debug (note the --debug) and attach the output here?

:warning: Make sure you sanitize it for anything you deem sensitive, please use something consistent when you sanitize, like XXXX, and let me know what you used, so I know it's not a potential source of behavior quirks. I say this because your paths look super weird jetty.base = C:\DEV\GIT\...\tools\jetty\go-base and I assume that's because you sanitized. (if those are actually your paths, then that is a source of problems, (the special characters ... in a path segment)

joakime commented 10 months ago

The error cvc-elt.1.a: Cannot find the declaration of element 'Configure' is pointing at a badly defined DTD or XML at the top of one of your XML files.

This is the opening of a typical XML file in Jetty 12.

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE Configure PUBLIC "-//Jetty//Configure//EN" "https://eclipse.dev/jetty/configure_10_0.dtd">
<Configure id="Server" class="org.eclipse.jetty.server.Server">

Note that the URL has changed over the years. But we support a wide range of current and historical URLs

See: https://github.com/jetty/jetty.project/blob/jetty-12.0.5/jetty-core/jetty-xml/src/main/resources/org/eclipse/jetty/xml/catalog-configure.xml (and the various systemId declarations)

Pasb4js commented 10 months ago

Hi ! %JETTY_OPTIONS% is empty here, only used on prod server, I removed it from command with --debug, as is failed. export JETTY_OPTIONS="-Duser.country=US -Duser.language=en"

java -jar %JETTY_HOME%/start.jar %JETTY_STOP_OPTIONS% --module=ext --debug output:

java -jar %JETTY_HOME%/start.jar %JETTY_STOP_OPTIONS% --module=ext --debug
DEBUG : Looking for classloader resource: jetty-version.properties
DEBUG : Looking for classloader resource: org/eclipse/jetty/start/build.properties
DEBUG : Loading Props: jar:file:/C:/tools/noarch/jetty/12.0.5/start.jar!/org/eclipse/jetty/start/build.properties
DEBUG : jetty.home=C:\tools\noarch\jetty\12.0.5
DEBUG : jetty.base=C:\DEV\GIT\gst-online
DEBUG : Registering all modules
DEBUG : getPaths('modules/*.mod')
DEBUG : Using relative path pattern: glob:**/modules/*.mod
DEBUG : Found [modules\acceptratelimit.mod] C:\tools\noarch\jetty\12.0.5\modules\acceptratelimit.mod
DEBUG : Found [modules\alpn-java.mod] C:\tools\noarch\jetty\12.0.5\modules\alpn-java.mod
DEBUG : Found [modules\alpn.mod] C:\tools\noarch\jetty\12.0.5\modules\alpn.mod
DEBUG : Found [modules\bytebufferpool-quadratic.mod] C:\tools\noarch\jetty\12.0.5\modules\bytebufferpool-quadratic.mod
DEBUG : Found [modules\bytebufferpool.mod] C:\tools\noarch\jetty\12.0.5\modules\bytebufferpool.mod
DEBUG : Found [modules\client.mod] C:\tools\noarch\jetty\12.0.5\modules\client.mod
DEBUG : Found [modules\connectionlimit.mod] C:\tools\noarch\jetty\12.0.5\modules\connectionlimit.mod
DEBUG : Found [modules\conscrypt.mod] C:\tools\noarch\jetty\12.0.5\modules\conscrypt.mod
DEBUG : Found [modules\console-capture.mod] C:\tools\noarch\jetty\12.0.5\modules\console-capture.mod
DEBUG : Found [modules\core-demos.mod] C:\tools\noarch\jetty\12.0.5\modules\core-demos.mod
DEBUG : Found [modules\core-deploy.mod] C:\tools\noarch\jetty\12.0.5\modules\core-deploy.mod
DEBUG : Found [modules\customrequestlog.mod] C:\tools\noarch\jetty\12.0.5\modules\customrequestlog.mod
DEBUG : Found [modules\debug.mod] C:\tools\noarch\jetty\12.0.5\modules\debug.mod
DEBUG : Found [modules\debuglog.mod] C:\tools\noarch\jetty\12.0.5\modules\debuglog.mod
DEBUG : Found [modules\decorate.mod] C:\tools\noarch\jetty\12.0.5\modules\decorate.mod
DEBUG : Found [modules\delay-until-content.mod] C:\tools\noarch\jetty\12.0.5\modules\delay-until-content.mod
DEBUG : Found [modules\demo-handler.mod] C:\tools\noarch\jetty\12.0.5\modules\demo-handler.mod
DEBUG : Found [modules\demo-jaas.mod] C:\tools\noarch\jetty\12.0.5\modules\demo-jaas.mod
DEBUG : Found [modules\demo-moved-context.mod] C:\tools\noarch\jetty\12.0.5\modules\demo-moved-context.mod
DEBUG : Found [modules\demo-realm.mod] C:\tools\noarch\jetty\12.0.5\modules\demo-realm.mod
DEBUG : Found [modules\demo-root.mod] C:\tools\noarch\jetty\12.0.5\modules\demo-root.mod
DEBUG : Found [modules\demos.mod] C:\tools\noarch\jetty\12.0.5\modules\demos.mod
DEBUG : Found [modules\deploy.mod] C:\tools\noarch\jetty\12.0.5\modules\deploy.mod
DEBUG : Found [modules\ee10-annotations.mod] C:\tools\noarch\jetty\12.0.5\modules\ee10-annotations.mod
DEBUG : Found [modules\ee10-apache-jsp.mod] C:\tools\noarch\jetty\12.0.5\modules\ee10-apache-jsp.mod
DEBUG : Found [modules\ee10-cdi-decorate.mod] C:\tools\noarch\jetty\12.0.5\modules\ee10-cdi-decorate.mod
DEBUG : Found [modules\ee10-cdi-spi.mod] C:\tools\noarch\jetty\12.0.5\modules\ee10-cdi-spi.mod
DEBUG : Found [modules\ee10-cdi.mod] C:\tools\noarch\jetty\12.0.5\modules\ee10-cdi.mod
DEBUG : Found [modules\ee10-demo-async-rest.mod] C:\tools\noarch\jetty\12.0.5\modules\ee10-demo-async-rest.mod
DEBUG : Found [modules\ee10-demo-jaas.mod] C:\tools\noarch\jetty\12.0.5\modules\ee10-demo-jaas.mod
DEBUG : Found [modules\ee10-demo-jetty.mod] C:\tools\noarch\jetty\12.0.5\modules\ee10-demo-jetty.mod
DEBUG : Found [modules\ee10-demo-jndi.mod] C:\tools\noarch\jetty\12.0.5\modules\ee10-demo-jndi.mod
DEBUG : Found [modules\ee10-demo-jsp.mod] C:\tools\noarch\jetty\12.0.5\modules\ee10-demo-jsp.mod
DEBUG : Found [modules\ee10-demo-mock-resources.mod] C:\tools\noarch\jetty\12.0.5\modules\ee10-demo-mock-resources.mod
DEBUG : Found [modules\ee10-demo-proxy.mod] C:\tools\noarch\jetty\12.0.5\modules\ee10-demo-proxy.mod
DEBUG : Found [modules\ee10-demo-rewrite.mod] C:\tools\noarch\jetty\12.0.5\modules\ee10-demo-rewrite.mod
DEBUG : Found [modules\ee10-demo-simple.mod] C:\tools\noarch\jetty\12.0.5\modules\ee10-demo-simple.mod
DEBUG : Found [modules\ee10-demo-spec.mod] C:\tools\noarch\jetty\12.0.5\modules\ee10-demo-spec.mod
DEBUG : Found [modules\ee10-demos.mod] C:\tools\noarch\jetty\12.0.5\modules\ee10-demos.mod
DEBUG : Found [modules\ee10-deploy.mod] C:\tools\noarch\jetty\12.0.5\modules\ee10-deploy.mod
DEBUG : Found [modules\ee10-fcgi-proxy.mod] C:\tools\noarch\jetty\12.0.5\modules\ee10-fcgi-proxy.mod
DEBUG : Found [modules\ee10-glassfish-jstl.mod] C:\tools\noarch\jetty\12.0.5\modules\ee10-glassfish-jstl.mod
DEBUG : Found [modules\ee10-jaspi-default-auth-config-factory.mod] C:\tools\noarch\jetty\12.0.5\modules\ee10-jaspi-default-auth-config-factory.mod
DEBUG : Found [modules\ee10-jaspi-demo.mod] C:\tools\noarch\jetty\12.0.5\modules\ee10-jaspi-demo.mod
DEBUG : Found [modules\ee10-jaspi.mod] C:\tools\noarch\jetty\12.0.5\modules\ee10-jaspi.mod
DEBUG : Found [modules\ee10-jndi.mod] C:\tools\noarch\jetty\12.0.5\modules\ee10-jndi.mod
DEBUG : Found [modules\ee10-jsp.mod] C:\tools\noarch\jetty\12.0.5\modules\ee10-jsp.mod
DEBUG : Found [modules\ee10-jstl.mod] C:\tools\noarch\jetty\12.0.5\modules\ee10-jstl.mod
DEBUG : Found [modules\ee10-openid.mod] C:\tools\noarch\jetty\12.0.5\modules\ee10-openid.mod
DEBUG : Found [modules\ee10-plus.mod] C:\tools\noarch\jetty\12.0.5\modules\ee10-plus.mod
DEBUG : Found [modules\ee10-proxy.mod] C:\tools\noarch\jetty\12.0.5\modules\ee10-proxy.mod
DEBUG : Found [modules\ee10-quickstart.mod] C:\tools\noarch\jetty\12.0.5\modules\ee10-quickstart.mod
DEBUG : Found [modules\ee10-security.mod] C:\tools\noarch\jetty\12.0.5\modules\ee10-security.mod
DEBUG : Found [modules\ee10-servlet.mod] C:\tools\noarch\jetty\12.0.5\modules\ee10-servlet.mod
DEBUG : Found [modules\ee10-servlets.mod] C:\tools\noarch\jetty\12.0.5\modules\ee10-servlets.mod
DEBUG : Found [modules\ee10-webapp.mod] C:\tools\noarch\jetty\12.0.5\modules\ee10-webapp.mod
DEBUG : Found [modules\ee10-websocket-jakarta.mod] C:\tools\noarch\jetty\12.0.5\modules\ee10-websocket-jakarta.mod
DEBUG : Found [modules\ee10-websocket-jetty-client-webapp.mod] C:\tools\noarch\jetty\12.0.5\modules\ee10-websocket-jetty-client-webapp.mod
DEBUG : Found [modules\ee10-websocket-jetty.mod] C:\tools\noarch\jetty\12.0.5\modules\ee10-websocket-jetty.mod
DEBUG : Found [modules\ee8-annotations.mod] C:\tools\noarch\jetty\12.0.5\modules\ee8-annotations.mod
DEBUG : Found [modules\ee8-apache-jsp.mod] C:\tools\noarch\jetty\12.0.5\modules\ee8-apache-jsp.mod
DEBUG : Found [modules\ee8-demo-async-rest.mod] C:\tools\noarch\jetty\12.0.5\modules\ee8-demo-async-rest.mod
DEBUG : Found [modules\ee8-demo-jaas.mod] C:\tools\noarch\jetty\12.0.5\modules\ee8-demo-jaas.mod
DEBUG : Found [modules\ee8-demo-jetty.mod] C:\tools\noarch\jetty\12.0.5\modules\ee8-demo-jetty.mod
DEBUG : Found [modules\ee8-demo-jndi.mod] C:\tools\noarch\jetty\12.0.5\modules\ee8-demo-jndi.mod
DEBUG : Found [modules\ee8-demo-jsp.mod] C:\tools\noarch\jetty\12.0.5\modules\ee8-demo-jsp.mod
DEBUG : Found [modules\ee8-demo-mock-resources.mod] C:\tools\noarch\jetty\12.0.5\modules\ee8-demo-mock-resources.mod
DEBUG : Found [modules\ee8-demo-moved-context.mod] C:\tools\noarch\jetty\12.0.5\modules\ee8-demo-moved-context.mod
DEBUG : Found [modules\ee8-demo-proxy.mod] C:\tools\noarch\jetty\12.0.5\modules\ee8-demo-proxy.mod
DEBUG : Found [modules\ee8-demo-rewrite.mod] C:\tools\noarch\jetty\12.0.5\modules\ee8-demo-rewrite.mod
DEBUG : Found [modules\ee8-demo-simple.mod] C:\tools\noarch\jetty\12.0.5\modules\ee8-demo-simple.mod
DEBUG : Found [modules\ee8-demo-spec.mod] C:\tools\noarch\jetty\12.0.5\modules\ee8-demo-spec.mod
DEBUG : Found [modules\ee8-demos.mod] C:\tools\noarch\jetty\12.0.5\modules\ee8-demos.mod
DEBUG : Found [modules\ee8-deploy.mod] C:\tools\noarch\jetty\12.0.5\modules\ee8-deploy.mod
DEBUG : Found [modules\ee8-glassfish-jstl.mod] C:\tools\noarch\jetty\12.0.5\modules\ee8-glassfish-jstl.mod
DEBUG : Found [modules\ee8-jndi.mod] C:\tools\noarch\jetty\12.0.5\modules\ee8-jndi.mod
DEBUG : Found [modules\ee8-jsp.mod] C:\tools\noarch\jetty\12.0.5\modules\ee8-jsp.mod
DEBUG : Found [modules\ee8-jstl.mod] C:\tools\noarch\jetty\12.0.5\modules\ee8-jstl.mod
DEBUG : Found [modules\ee8-openid.mod] C:\tools\noarch\jetty\12.0.5\modules\ee8-openid.mod
DEBUG : Found [modules\ee8-plus.mod] C:\tools\noarch\jetty\12.0.5\modules\ee8-plus.mod
DEBUG : Found [modules\ee8-proxy.mod] C:\tools\noarch\jetty\12.0.5\modules\ee8-proxy.mod
DEBUG : Found [modules\ee8-quickstart.mod] C:\tools\noarch\jetty\12.0.5\modules\ee8-quickstart.mod
DEBUG : Found [modules\ee8-security.mod] C:\tools\noarch\jetty\12.0.5\modules\ee8-security.mod
DEBUG : Found [modules\ee8-servlet.mod] C:\tools\noarch\jetty\12.0.5\modules\ee8-servlet.mod
DEBUG : Found [modules\ee8-servlets.mod] C:\tools\noarch\jetty\12.0.5\modules\ee8-servlets.mod
DEBUG : Found [modules\ee8-webapp.mod] C:\tools\noarch\jetty\12.0.5\modules\ee8-webapp.mod
DEBUG : Found [modules\ee8-websocket-javax.mod] C:\tools\noarch\jetty\12.0.5\modules\ee8-websocket-javax.mod
DEBUG : Found [modules\ee8-websocket-jetty-client-webapp.mod] C:\tools\noarch\jetty\12.0.5\modules\ee8-websocket-jetty-client-webapp.mod
DEBUG : Found [modules\ee8-websocket-jetty-client.mod] C:\tools\noarch\jetty\12.0.5\modules\ee8-websocket-jetty-client.mod
DEBUG : Found [modules\ee8-websocket-jetty.mod] C:\tools\noarch\jetty\12.0.5\modules\ee8-websocket-jetty.mod
DEBUG : Found [modules\ee9-annotations.mod] C:\tools\noarch\jetty\12.0.5\modules\ee9-annotations.mod
DEBUG : Found [modules\ee9-apache-jsp.mod] C:\tools\noarch\jetty\12.0.5\modules\ee9-apache-jsp.mod
DEBUG : Found [modules\ee9-cdi-decorate.mod] C:\tools\noarch\jetty\12.0.5\modules\ee9-cdi-decorate.mod
DEBUG : Found [modules\ee9-cdi-spi.mod] C:\tools\noarch\jetty\12.0.5\modules\ee9-cdi-spi.mod
DEBUG : Found [modules\ee9-cdi.mod] C:\tools\noarch\jetty\12.0.5\modules\ee9-cdi.mod
DEBUG : Found [modules\ee9-demo-async-rest.mod] C:\tools\noarch\jetty\12.0.5\modules\ee9-demo-async-rest.mod
DEBUG : Found [modules\ee9-demo-jaas.mod] C:\tools\noarch\jetty\12.0.5\modules\ee9-demo-jaas.mod
DEBUG : Found [modules\ee9-demo-jetty.mod] C:\tools\noarch\jetty\12.0.5\modules\ee9-demo-jetty.mod
DEBUG : Found [modules\ee9-demo-jndi.mod] C:\tools\noarch\jetty\12.0.5\modules\ee9-demo-jndi.mod
DEBUG : Found [modules\ee9-demo-jsp.mod] C:\tools\noarch\jetty\12.0.5\modules\ee9-demo-jsp.mod
DEBUG : Found [modules\ee9-demo-mock-resources.mod] C:\tools\noarch\jetty\12.0.5\modules\ee9-demo-mock-resources.mod
DEBUG : Found [modules\ee9-demo-proxy.mod] C:\tools\noarch\jetty\12.0.5\modules\ee9-demo-proxy.mod
DEBUG : Found [modules\ee9-demo-rewrite.mod] C:\tools\noarch\jetty\12.0.5\modules\ee9-demo-rewrite.mod
DEBUG : Found [modules\ee9-demo-simple.mod] C:\tools\noarch\jetty\12.0.5\modules\ee9-demo-simple.mod
DEBUG : Found [modules\ee9-demo-spec.mod] C:\tools\noarch\jetty\12.0.5\modules\ee9-demo-spec.mod
DEBUG : Found [modules\ee9-demos.mod] C:\tools\noarch\jetty\12.0.5\modules\ee9-demos.mod
DEBUG : Found [modules\ee9-deploy.mod] C:\tools\noarch\jetty\12.0.5\modules\ee9-deploy.mod
DEBUG : Found [modules\ee9-fcgi-proxy.mod] C:\tools\noarch\jetty\12.0.5\modules\ee9-fcgi-proxy.mod
DEBUG : Found [modules\ee9-glassfish-jstl.mod] C:\tools\noarch\jetty\12.0.5\modules\ee9-glassfish-jstl.mod
DEBUG : Found [modules\ee9-jaspi-default-auth-config-factory.mod] C:\tools\noarch\jetty\12.0.5\modules\ee9-jaspi-default-auth-config-factory.mod
DEBUG : Found [modules\ee9-jaspi-demo.mod] C:\tools\noarch\jetty\12.0.5\modules\ee9-jaspi-demo.mod
DEBUG : Found [modules\ee9-jaspi.mod] C:\tools\noarch\jetty\12.0.5\modules\ee9-jaspi.mod
DEBUG : Found [modules\ee9-jndi.mod] C:\tools\noarch\jetty\12.0.5\modules\ee9-jndi.mod
DEBUG : Found [modules\ee9-jsp.mod] C:\tools\noarch\jetty\12.0.5\modules\ee9-jsp.mod
DEBUG : Found [modules\ee9-jstl.mod] C:\tools\noarch\jetty\12.0.5\modules\ee9-jstl.mod
DEBUG : Found [modules\ee9-openid.mod] C:\tools\noarch\jetty\12.0.5\modules\ee9-openid.mod
DEBUG : Found [modules\ee9-plus.mod] C:\tools\noarch\jetty\12.0.5\modules\ee9-plus.mod
DEBUG : Found [modules\ee9-proxy.mod] C:\tools\noarch\jetty\12.0.5\modules\ee9-proxy.mod
DEBUG : Found [modules\ee9-quickstart.mod] C:\tools\noarch\jetty\12.0.5\modules\ee9-quickstart.mod
DEBUG : Found [modules\ee9-security.mod] C:\tools\noarch\jetty\12.0.5\modules\ee9-security.mod
DEBUG : Found [modules\ee9-servlet.mod] C:\tools\noarch\jetty\12.0.5\modules\ee9-servlet.mod
DEBUG : Found [modules\ee9-servlets.mod] C:\tools\noarch\jetty\12.0.5\modules\ee9-servlets.mod
DEBUG : Found [modules\ee9-webapp.mod] C:\tools\noarch\jetty\12.0.5\modules\ee9-webapp.mod
DEBUG : Found [modules\ee9-websocket-jakarta.mod] C:\tools\noarch\jetty\12.0.5\modules\ee9-websocket-jakarta.mod
DEBUG : Found [modules\ee9-websocket-jetty-client-webapp.mod] C:\tools\noarch\jetty\12.0.5\modules\ee9-websocket-jetty-client-webapp.mod
DEBUG : Found [modules\ee9-websocket-jetty.mod] C:\tools\noarch\jetty\12.0.5\modules\ee9-websocket-jetty.mod
DEBUG : Found [modules\ext.mod] C:\tools\noarch\jetty\12.0.5\modules\ext.mod
DEBUG : Found [modules\fcgi-proxy.mod] C:\tools\noarch\jetty\12.0.5\modules\fcgi-proxy.mod
DEBUG : Found [modules\fcgi.mod] C:\tools\noarch\jetty\12.0.5\modules\fcgi.mod
DEBUG : Found [modules\flight-recorder.mod] C:\tools\noarch\jetty\12.0.5\modules\flight-recorder.mod
DEBUG : Found [modules\gcloud-datastore.mod] C:\tools\noarch\jetty\12.0.5\modules\gcloud-datastore.mod
DEBUG : Found [modules\gcloud.mod] C:\tools\noarch\jetty\12.0.5\modules\gcloud.mod
DEBUG : Found [modules\global-webapp-common.mod] C:\tools\noarch\jetty\12.0.5\modules\global-webapp-common.mod
DEBUG : Found [modules\graceful.mod] C:\tools\noarch\jetty\12.0.5\modules\graceful.mod
DEBUG : Found [modules\gzip.mod] C:\tools\noarch\jetty\12.0.5\modules\gzip.mod
DEBUG : Found [modules\home-base-warning.mod] C:\tools\noarch\jetty\12.0.5\modules\home-base-warning.mod
DEBUG : Found [modules\http-forwarded.mod] C:\tools\noarch\jetty\12.0.5\modules\http-forwarded.mod
DEBUG : Found [modules\http.mod] C:\tools\noarch\jetty\12.0.5\modules\http.mod
DEBUG : Found [modules\http2.mod] C:\tools\noarch\jetty\12.0.5\modules\http2.mod
DEBUG : Found [modules\http2c.mod] C:\tools\noarch\jetty\12.0.5\modules\http2c.mod
DEBUG : Found [modules\http3.mod] C:\tools\noarch\jetty\12.0.5\modules\http3.mod
DEBUG : Found [modules\https.mod] C:\tools\noarch\jetty\12.0.5\modules\https.mod
DEBUG : Found [modules\inetaccess.mod] C:\tools\noarch\jetty\12.0.5\modules\inetaccess.mod
DEBUG : Found [modules\infinispan-embedded-query.mod] C:\tools\noarch\jetty\12.0.5\modules\infinispan-embedded-query.mod
DEBUG : Found [modules\infinispan-embedded.mod] C:\tools\noarch\jetty\12.0.5\modules\infinispan-embedded.mod
DEBUG : Found [modules\infinispan-remote-query.mod] C:\tools\noarch\jetty\12.0.5\modules\infinispan-remote-query.mod
DEBUG : Found [modules\infinispan-remote.mod] C:\tools\noarch\jetty\12.0.5\modules\infinispan-remote.mod
DEBUG : Found [modules\jaas.mod] C:\tools\noarch\jetty\12.0.5\modules\jaas.mod
DEBUG : Found [modules\jdbc.mod] C:\tools\noarch\jetty\12.0.5\modules\jdbc.mod
DEBUG : Found [modules\jmx-remote-auth.mod] C:\tools\noarch\jetty\12.0.5\modules\jmx-remote-auth.mod
DEBUG : Found [modules\jmx-remote-ssl.mod] C:\tools\noarch\jetty\12.0.5\modules\jmx-remote-ssl.mod
DEBUG : Found [modules\jmx-remote.mod] C:\tools\noarch\jetty\12.0.5\modules\jmx-remote.mod
DEBUG : Found [modules\jmx.mod] C:\tools\noarch\jetty\12.0.5\modules\jmx.mod
DEBUG : Found [modules\jna.mod] C:\tools\noarch\jetty\12.0.5\modules\jna.mod
DEBUG : Found [modules\jndi.mod] C:\tools\noarch\jetty\12.0.5\modules\jndi.mod
DEBUG : Found [modules\jvm.mod] C:\tools\noarch\jetty\12.0.5\modules\jvm.mod
DEBUG : Found [modules\logging-jcl-capture.mod] C:\tools\noarch\jetty\12.0.5\modules\logging-jcl-capture.mod
DEBUG : Found [modules\logging-jetty.mod] C:\tools\noarch\jetty\12.0.5\modules\logging-jetty.mod
DEBUG : Found [modules\logging-jul-capture.mod] C:\tools\noarch\jetty\12.0.5\modules\logging-jul-capture.mod
DEBUG : Found [modules\logging-jul.mod] C:\tools\noarch\jetty\12.0.5\modules\logging-jul.mod
DEBUG : Found [modules\logging-log4j1-capture.mod] C:\tools\noarch\jetty\12.0.5\modules\logging-log4j1-capture.mod
DEBUG : Found [modules\logging-log4j1.mod] C:\tools\noarch\jetty\12.0.5\modules\logging-log4j1.mod
DEBUG : Found [modules\logging-log4j2.mod] C:\tools\noarch\jetty\12.0.5\modules\logging-log4j2.mod
DEBUG : Found [modules\logging-logback.mod] C:\tools\noarch\jetty\12.0.5\modules\logging-logback.mod
DEBUG : Found [modules\logging-noop.mod] C:\tools\noarch\jetty\12.0.5\modules\logging-noop.mod
DEBUG : Found [modules\lowresources.mod] C:\tools\noarch\jetty\12.0.5\modules\lowresources.mod
DEBUG : Found [modules\openid.mod] C:\tools\noarch\jetty\12.0.5\modules\openid.mod
DEBUG : Found [modules\pid.mod] C:\tools\noarch\jetty\12.0.5\modules\pid.mod
DEBUG : Found [modules\plus.mod] C:\tools\noarch\jetty\12.0.5\modules\plus.mod
DEBUG : Found [modules\proxy-protocol-ssl.mod] C:\tools\noarch\jetty\12.0.5\modules\proxy-protocol-ssl.mod
DEBUG : Found [modules\proxy-protocol.mod] C:\tools\noarch\jetty\12.0.5\modules\proxy-protocol.mod
DEBUG : Found [modules\proxy.mod] C:\tools\noarch\jetty\12.0.5\modules\proxy.mod
DEBUG : Found [modules\quiche.mod] C:\tools\noarch\jetty\12.0.5\modules\quiche.mod
DEBUG : Found [modules\requestlog.mod] C:\tools\noarch\jetty\12.0.5\modules\requestlog.mod
DEBUG : Found [modules\resources.mod] C:\tools\noarch\jetty\12.0.5\modules\resources.mod
DEBUG : Found [modules\rewrite-compactpath.mod] C:\tools\noarch\jetty\12.0.5\modules\rewrite-compactpath.mod
DEBUG : Found [modules\rewrite-customizer.mod] C:\tools\noarch\jetty\12.0.5\modules\rewrite-customizer.mod
DEBUG : Found [modules\rewrite.mod] C:\tools\noarch\jetty\12.0.5\modules\rewrite.mod
DEBUG : Found [modules\secure-redirect.mod] C:\tools\noarch\jetty\12.0.5\modules\secure-redirect.mod
DEBUG : Found [modules\security.mod] C:\tools\noarch\jetty\12.0.5\modules\security.mod
DEBUG : Found [modules\server.mod] C:\tools\noarch\jetty\12.0.5\modules\server.mod
DEBUG : Found [modules\session-cache-hash.mod] C:\tools\noarch\jetty\12.0.5\modules\session-cache-hash.mod
DEBUG : Found [modules\session-cache-null.mod] C:\tools\noarch\jetty\12.0.5\modules\session-cache-null.mod
DEBUG : Found [modules\session-store-cache.mod] C:\tools\noarch\jetty\12.0.5\modules\session-store-cache.mod
DEBUG : Found [modules\session-store-file.mod] C:\tools\noarch\jetty\12.0.5\modules\session-store-file.mod
DEBUG : Found [modules\session-store-gcloud.mod] C:\tools\noarch\jetty\12.0.5\modules\session-store-gcloud.mod
DEBUG : Found [modules\session-store-hazelcast-embedded.mod] C:\tools\noarch\jetty\12.0.5\modules\session-store-hazelcast-embedded.mod
DEBUG : Found [modules\session-store-hazelcast-remote.mod] C:\tools\noarch\jetty\12.0.5\modules\session-store-hazelcast-remote.mod
DEBUG : Found [modules\session-store-infinispan-embedded.mod] C:\tools\noarch\jetty\12.0.5\modules\session-store-infinispan-embedded.mod
DEBUG : Found [modules\session-store-infinispan-remote.mod] C:\tools\noarch\jetty\12.0.5\modules\session-store-infinispan-remote.mod
DEBUG : Found [modules\session-store-jdbc.mod] C:\tools\noarch\jetty\12.0.5\modules\session-store-jdbc.mod
DEBUG : Found [modules\session-store-mongo.mod] C:\tools\noarch\jetty\12.0.5\modules\session-store-mongo.mod
DEBUG : Found [modules\sessions.mod] C:\tools\noarch\jetty\12.0.5\modules\sessions.mod
DEBUG : Found [modules\setuid.mod] C:\tools\noarch\jetty\12.0.5\modules\setuid.mod
DEBUG : Found [modules\ssl-reload.mod] C:\tools\noarch\jetty\12.0.5\modules\ssl-reload.mod
DEBUG : Found [modules\ssl.mod] C:\tools\noarch\jetty\12.0.5\modules\ssl.mod
DEBUG : Found [modules\state.mod] C:\tools\noarch\jetty\12.0.5\modules\state.mod
DEBUG : Found [modules\statistics.mod] C:\tools\noarch\jetty\12.0.5\modules\statistics.mod
DEBUG : Found [modules\stop.mod] C:\tools\noarch\jetty\12.0.5\modules\stop.mod
DEBUG : Found [modules\test-keystore.mod] C:\tools\noarch\jetty\12.0.5\modules\test-keystore.mod
DEBUG : Found [modules\threadlimit.mod] C:\tools\noarch\jetty\12.0.5\modules\threadlimit.mod
DEBUG : Found [modules\threadpool-virtual-preview.mod] C:\tools\noarch\jetty\12.0.5\modules\threadpool-virtual-preview.mod
DEBUG : Found [modules\threadpool-virtual.mod] C:\tools\noarch\jetty\12.0.5\modules\threadpool-virtual.mod
DEBUG : Found [modules\threadpool.mod] C:\tools\noarch\jetty\12.0.5\modules\threadpool.mod
DEBUG : Found [modules\unixdomain-http.mod] C:\tools\noarch\jetty\12.0.5\modules\unixdomain-http.mod
DEBUG : Found [modules\websocket-jetty-client.mod] C:\tools\noarch\jetty\12.0.5\modules\websocket-jetty-client.mod
DEBUG : Found [modules\websocket-jetty.mod] C:\tools\noarch\jetty\12.0.5\modules\websocket-jetty.mod
DEBUG : Found [modules\well-known.mod] C:\tools\noarch\jetty\12.0.5\modules\well-known.mod
DEBUG : Found [modules\work.mod] C:\tools\noarch\jetty\12.0.5\modules\work.mod
DEBUG : Registering Module: ${jetty.home}\modules\acceptratelimit.mod
DEBUG : Registering Module: ${jetty.home}\modules\alpn.mod
DEBUG : Registering Module: ${jetty.home}\modules\alpn-java.mod
DEBUG : Registering Module: ${jetty.home}\modules\bytebufferpool.mod
DEBUG : Registering Module: ${jetty.home}\modules\bytebufferpool-quadratic.mod
DEBUG : Registering Module: ${jetty.home}\modules\client.mod
DEBUG : Registering Module: ${jetty.home}\modules\connectionlimit.mod
DEBUG : Registering Module: ${jetty.home}\modules\conscrypt.mod
DEBUG : Registering Module: ${jetty.home}\modules\console-capture.mod
DEBUG : Registering Module: ${jetty.home}\modules\core-demos.mod
DEBUG : Registering Module: ${jetty.home}\modules\core-deploy.mod
DEBUG : Registering Module: ${jetty.home}\modules\customrequestlog.mod
DEBUG : Registering Module: ${jetty.home}\modules\debug.mod
DEBUG : Registering Module: ${jetty.home}\modules\debuglog.mod
DEBUG : Registering Module: ${jetty.home}\modules\decorate.mod
DEBUG : Registering Module: ${jetty.home}\modules\delay-until-content.mod
DEBUG : Registering Module: ${jetty.home}\modules\demo-handler.mod
DEBUG : Registering Module: ${jetty.home}\modules\demo-jaas.mod
DEBUG : Registering Module: ${jetty.home}\modules\demo-moved-context.mod
DEBUG : Registering Module: ${jetty.home}\modules\demo-realm.mod
DEBUG : Registering Module: ${jetty.home}\modules\demo-root.mod
DEBUG : Registering Module: ${jetty.home}\modules\demos.mod
DEBUG : Registering Module: ${jetty.home}\modules\deploy.mod
DEBUG : Registering Module: ${jetty.home}\modules\ee10-annotations.mod
DEBUG : Registering Module: ${jetty.home}\modules\ee10-apache-jsp.mod
DEBUG : Registering Module: ${jetty.home}\modules\ee10-cdi.mod
DEBUG : Registering Module: ${jetty.home}\modules\ee10-cdi-decorate.mod
DEBUG : Registering Module: ${jetty.home}\modules\ee10-cdi-spi.mod
DEBUG : Registering Module: ${jetty.home}\modules\ee10-demo-async-rest.mod
DEBUG : Registering Module: ${jetty.home}\modules\ee10-demo-jaas.mod
DEBUG : Registering Module: ${jetty.home}\modules\ee10-demo-jetty.mod
DEBUG : Registering Module: ${jetty.home}\modules\ee10-demo-jndi.mod
DEBUG : Registering Module: ${jetty.home}\modules\ee10-demo-jsp.mod
DEBUG : Registering Module: ${jetty.home}\modules\ee10-demo-mock-resources.mod
DEBUG : Registering Module: ${jetty.home}\modules\ee10-demo-proxy.mod
DEBUG : Registering Module: ${jetty.home}\modules\ee10-demo-rewrite.mod
DEBUG : Registering Module: ${jetty.home}\modules\ee10-demos.mod
DEBUG : Registering Module: ${jetty.home}\modules\ee10-demo-simple.mod
DEBUG : Registering Module: ${jetty.home}\modules\ee10-demo-spec.mod
DEBUG : Registering Module: ${jetty.home}\modules\ee10-deploy.mod
DEBUG : Registering Module: ${jetty.home}\modules\ee10-fcgi-proxy.mod
DEBUG : Registering Module: ${jetty.home}\modules\ee10-glassfish-jstl.mod
DEBUG : Registering Module: ${jetty.home}\modules\ee10-jaspi.mod
DEBUG : Registering Module: ${jetty.home}\modules\ee10-jaspi-default-auth-config-factory.mod
DEBUG : Registering Module: ${jetty.home}\modules\ee10-jaspi-demo.mod
DEBUG : Registering Module: ${jetty.home}\modules\ee10-jndi.mod
DEBUG : Registering Module: ${jetty.home}\modules\ee10-jsp.mod
DEBUG : Registering Module: ${jetty.home}\modules\ee10-jstl.mod
DEBUG : Registering Module: ${jetty.home}\modules\ee10-openid.mod
DEBUG : Registering Module: ${jetty.home}\modules\ee10-plus.mod
DEBUG : Registering Module: ${jetty.home}\modules\ee10-proxy.mod
DEBUG : Registering Module: ${jetty.home}\modules\ee10-quickstart.mod
DEBUG : Registering Module: ${jetty.home}\modules\ee10-security.mod
DEBUG : Registering Module: ${jetty.home}\modules\ee10-servlet.mod
DEBUG : Registering Module: ${jetty.home}\modules\ee10-servlets.mod
DEBUG : Registering Module: ${jetty.home}\modules\ee10-webapp.mod
DEBUG : Registering Module: ${jetty.home}\modules\ee10-websocket-jakarta.mod
DEBUG : Registering Module: ${jetty.home}\modules\ee10-websocket-jetty.mod
DEBUG : Registering Module: ${jetty.home}\modules\ee10-websocket-jetty-client-webapp.mod
DEBUG : Registering Module: ${jetty.home}\modules\ee8-annotations.mod
DEBUG : Registering Module: ${jetty.home}\modules\ee8-apache-jsp.mod
DEBUG : Registering Module: ${jetty.home}\modules\ee8-demo-async-rest.mod
DEBUG : Registering Module: ${jetty.home}\modules\ee8-demo-jaas.mod
DEBUG : Registering Module: ${jetty.home}\modules\ee8-demo-jetty.mod
DEBUG : Registering Module: ${jetty.home}\modules\ee8-demo-jndi.mod
DEBUG : Registering Module: ${jetty.home}\modules\ee8-demo-jsp.mod
DEBUG : Registering Module: ${jetty.home}\modules\ee8-demo-mock-resources.mod
DEBUG : Registering Module: ${jetty.home}\modules\ee8-demo-moved-context.mod
DEBUG : Registering Module: ${jetty.home}\modules\ee8-demo-proxy.mod
DEBUG : Registering Module: ${jetty.home}\modules\ee8-demo-rewrite.mod
DEBUG : Registering Module: ${jetty.home}\modules\ee8-demos.mod
DEBUG : Registering Module: ${jetty.home}\modules\ee8-demo-simple.mod
DEBUG : Registering Module: ${jetty.home}\modules\ee8-demo-spec.mod
DEBUG : Registering Module: ${jetty.home}\modules\ee8-deploy.mod
DEBUG : Registering Module: ${jetty.home}\modules\ee8-glassfish-jstl.mod
DEBUG : Registering Module: ${jetty.home}\modules\ee8-jndi.mod
DEBUG : Registering Module: ${jetty.home}\modules\ee8-jsp.mod
DEBUG : Registering Module: ${jetty.home}\modules\ee8-jstl.mod
DEBUG : Registering Module: ${jetty.home}\modules\ee8-openid.mod
DEBUG : Registering Module: ${jetty.home}\modules\ee8-plus.mod
DEBUG : Registering Module: ${jetty.home}\modules\ee8-proxy.mod
DEBUG : Registering Module: ${jetty.home}\modules\ee8-quickstart.mod
DEBUG : Registering Module: ${jetty.home}\modules\ee8-security.mod
DEBUG : Registering Module: ${jetty.home}\modules\ee8-servlet.mod
DEBUG : Registering Module: ${jetty.home}\modules\ee8-servlets.mod
DEBUG : Registering Module: ${jetty.home}\modules\ee8-webapp.mod
DEBUG : Registering Module: ${jetty.home}\modules\ee8-websocket-javax.mod
DEBUG : Registering Module: ${jetty.home}\modules\ee8-websocket-jetty.mod
DEBUG : Registering Module: ${jetty.home}\modules\ee8-websocket-jetty-client.mod
DEBUG : Registering Module: ${jetty.home}\modules\ee8-websocket-jetty-client-webapp.mod
DEBUG : Registering Module: ${jetty.home}\modules\ee9-annotations.mod
DEBUG : Registering Module: ${jetty.home}\modules\ee9-apache-jsp.mod
DEBUG : Registering Module: ${jetty.home}\modules\ee9-cdi.mod
DEBUG : Registering Module: ${jetty.home}\modules\ee9-cdi-decorate.mod
DEBUG : Registering Module: ${jetty.home}\modules\ee9-cdi-spi.mod
DEBUG : Registering Module: ${jetty.home}\modules\ee9-demo-async-rest.mod
DEBUG : Registering Module: ${jetty.home}\modules\ee9-demo-jaas.mod
DEBUG : Registering Module: ${jetty.home}\modules\ee9-demo-jetty.mod
DEBUG : Registering Module: ${jetty.home}\modules\ee9-demo-jndi.mod
DEBUG : Registering Module: ${jetty.home}\modules\ee9-demo-jsp.mod
DEBUG : Registering Module: ${jetty.home}\modules\ee9-demo-mock-resources.mod
DEBUG : Registering Module: ${jetty.home}\modules\ee9-demo-proxy.mod
DEBUG : Registering Module: ${jetty.home}\modules\ee9-demo-rewrite.mod
DEBUG : Registering Module: ${jetty.home}\modules\ee9-demos.mod
DEBUG : Registering Module: ${jetty.home}\modules\ee9-demo-simple.mod
DEBUG : Registering Module: ${jetty.home}\modules\ee9-demo-spec.mod
DEBUG : Registering Module: ${jetty.home}\modules\ee9-deploy.mod
DEBUG : Registering Module: ${jetty.home}\modules\ee9-fcgi-proxy.mod
DEBUG : Registering Module: ${jetty.home}\modules\ee9-glassfish-jstl.mod
DEBUG : Registering Module: ${jetty.home}\modules\ee9-jaspi.mod
DEBUG : Registering Module: ${jetty.home}\modules\ee9-jaspi-default-auth-config-factory.mod
DEBUG : Registering Module: ${jetty.home}\modules\ee9-jaspi-demo.mod
DEBUG : Registering Module: ${jetty.home}\modules\ee9-jndi.mod
DEBUG : Registering Module: ${jetty.home}\modules\ee9-jsp.mod
DEBUG : Registering Module: ${jetty.home}\modules\ee9-jstl.mod
DEBUG : Registering Module: ${jetty.home}\modules\ee9-openid.mod
DEBUG : Registering Module: ${jetty.home}\modules\ee9-plus.mod
DEBUG : Registering Module: ${jetty.home}\modules\ee9-proxy.mod
DEBUG : Registering Module: ${jetty.home}\modules\ee9-quickstart.mod
DEBUG : Registering Module: ${jetty.home}\modules\ee9-security.mod
DEBUG : Registering Module: ${jetty.home}\modules\ee9-servlet.mod
DEBUG : Registering Module: ${jetty.home}\modules\ee9-servlets.mod
DEBUG : Registering Module: ${jetty.home}\modules\ee9-webapp.mod
DEBUG : Registering Module: ${jetty.home}\modules\ee9-websocket-jakarta.mod
DEBUG : Registering Module: ${jetty.home}\modules\ee9-websocket-jetty.mod
DEBUG : Registering Module: ${jetty.home}\modules\ee9-websocket-jetty-client-webapp.mod
DEBUG : Registering Module: ${jetty.home}\modules\ext.mod
DEBUG : Registering Module: ${jetty.home}\modules\fcgi.mod
DEBUG : Registering Module: ${jetty.home}\modules\fcgi-proxy.mod
DEBUG : Registering Module: ${jetty.home}\modules\flight-recorder.mod
DEBUG : Registering Module: ${jetty.home}\modules\gcloud.mod
DEBUG : Registering Module: ${jetty.home}\modules\gcloud-datastore.mod
DEBUG : Registering Module: ${jetty.home}\modules\global-webapp-common.mod
DEBUG : Registering Module: ${jetty.home}\modules\graceful.mod
DEBUG : Registering Module: ${jetty.home}\modules\gzip.mod
DEBUG : Registering Module: ${jetty.home}\modules\home-base-warning.mod
DEBUG : Registering Module: ${jetty.home}\modules\http.mod
DEBUG : Registering Module: ${jetty.home}\modules\http2.mod
DEBUG : Registering Module: ${jetty.home}\modules\http2c.mod
DEBUG : Registering Module: ${jetty.home}\modules\http3.mod
DEBUG : Registering Module: ${jetty.home}\modules\http-forwarded.mod
DEBUG : Registering Module: ${jetty.home}\modules\https.mod
DEBUG : Registering Module: ${jetty.home}\modules\inetaccess.mod
DEBUG : Registering Module: ${jetty.home}\modules\infinispan-embedded.mod
DEBUG : Registering Module: ${jetty.home}\modules\infinispan-embedded-query.mod
DEBUG : Registering Module: ${jetty.home}\modules\infinispan-remote.mod
DEBUG : Registering Module: ${jetty.home}\modules\infinispan-remote-query.mod
DEBUG : Registering Module: ${jetty.home}\modules\jaas.mod
DEBUG : Registering Module: ${jetty.home}\modules\jdbc.mod
DEBUG : Registering Module: ${jetty.home}\modules\jmx.mod
DEBUG : Registering Module: ${jetty.home}\modules\jmx-remote.mod
DEBUG : Registering Module: ${jetty.home}\modules\jmx-remote-auth.mod
DEBUG : Registering Module: ${jetty.home}\modules\jmx-remote-ssl.mod
DEBUG : Registering Module: ${jetty.home}\modules\jna.mod
DEBUG : Registering Module: ${jetty.home}\modules\jndi.mod
DEBUG : Registering Module: ${jetty.home}\modules\jvm.mod
DEBUG : Registering Module: ${jetty.home}\modules\logging-jcl-capture.mod
DEBUG : Registering Module: ${jetty.home}\modules\logging-jetty.mod
DEBUG : Registering Module: ${jetty.home}\modules\logging-jul.mod
DEBUG : Registering Module: ${jetty.home}\modules\logging-jul-capture.mod
DEBUG : Registering Module: ${jetty.home}\modules\logging-log4j1.mod
DEBUG : Registering Module: ${jetty.home}\modules\logging-log4j1-capture.mod
DEBUG : Registering Module: ${jetty.home}\modules\logging-log4j2.mod
DEBUG : Registering Module: ${jetty.home}\modules\logging-logback.mod
DEBUG : Registering Module: ${jetty.home}\modules\logging-noop.mod
DEBUG : Registering Module: ${jetty.home}\modules\lowresources.mod
DEBUG : Registering Module: ${jetty.home}\modules\openid.mod
DEBUG : Registering Module: ${jetty.home}\modules\pid.mod
DEBUG : Registering Module: ${jetty.home}\modules\plus.mod
DEBUG : Registering Module: ${jetty.home}\modules\proxy.mod
DEBUG : Registering Module: ${jetty.home}\modules\proxy-protocol.mod
DEBUG : Registering Module: ${jetty.home}\modules\proxy-protocol-ssl.mod
DEBUG : Registering Module: ${jetty.home}\modules\quiche.mod
DEBUG : Registering Module: ${jetty.home}\modules\requestlog.mod
DEBUG : Registering Module: ${jetty.home}\modules\resources.mod
DEBUG : Registering Module: ${jetty.home}\modules\rewrite.mod
DEBUG : Registering Module: ${jetty.home}\modules\rewrite-compactpath.mod
DEBUG : Registering Module: ${jetty.home}\modules\rewrite-customizer.mod
DEBUG : Registering Module: ${jetty.home}\modules\secure-redirect.mod
DEBUG : Registering Module: ${jetty.home}\modules\security.mod
DEBUG : Registering Module: ${jetty.home}\modules\server.mod
DEBUG : Registering Module: ${jetty.home}\modules\session-cache-hash.mod
DEBUG : Registering Module: ${jetty.home}\modules\session-cache-null.mod
DEBUG : Registering Module: ${jetty.home}\modules\sessions.mod
DEBUG : Registering Module: ${jetty.home}\modules\session-store-cache.mod
DEBUG : Registering Module: ${jetty.home}\modules\session-store-file.mod
DEBUG : Registering Module: ${jetty.home}\modules\session-store-gcloud.mod
DEBUG : Registering Module: ${jetty.home}\modules\session-store-hazelcast-embedded.mod
DEBUG : Registering Module: ${jetty.home}\modules\session-store-hazelcast-remote.mod
DEBUG : Registering Module: ${jetty.home}\modules\session-store-infinispan-embedded.mod
DEBUG : Registering Module: ${jetty.home}\modules\session-store-infinispan-remote.mod
DEBUG : Registering Module: ${jetty.home}\modules\session-store-jdbc.mod
DEBUG : Registering Module: ${jetty.home}\modules\session-store-mongo.mod
DEBUG : Registering Module: ${jetty.home}\modules\setuid.mod
DEBUG : Registering Module: ${jetty.home}\modules\ssl.mod
DEBUG : Registering Module: ${jetty.home}\modules\ssl-reload.mod
DEBUG : Registering Module: ${jetty.home}\modules\state.mod
DEBUG : Registering Module: ${jetty.home}\modules\statistics.mod
DEBUG : Registering Module: ${jetty.home}\modules\stop.mod
DEBUG : Registering Module: ${jetty.home}\modules\test-keystore.mod
DEBUG : Registering Module: ${jetty.home}\modules\threadlimit.mod
DEBUG : Registering Module: ${jetty.home}\modules\threadpool.mod
DEBUG : Registering Module: ${jetty.home}\modules\threadpool-virtual.mod
DEBUG : Registering Module: ${jetty.home}\modules\threadpool-virtual-preview.mod
DEBUG : Registering Module: ${jetty.home}\modules\unixdomain-http.mod
DEBUG : Registering Module: ${jetty.home}\modules\websocket-jetty.mod
DEBUG : Registering Module: ${jetty.home}\modules\websocket-jetty-client.mod
DEBUG : Registering Module: ${jetty.home}\modules\well-known.mod
DEBUG : Registering Module: ${jetty.home}\modules\work.mod
DEBUG : Parsing collected arguments
DEBUG : parse("STOP.PORT=8087", "<command-line>")
DEBUG : parse("STOP.KEY=XXX", "<command-line>")
DEBUG : parse("--module=ext", "<command-line>")
DEBUG : parse("--debug", "<command-line>")
DEBUG : Enable [ext] from [<command-line>] transitive=false
DEBUG : Enabled [ext]
DEBUG : Enabled module [ext] depends on []
DEBUG : Expanding System Properties
DEBUG : Expanding Libs
DEBUG : Expanding Modules
DEBUG : rawlibref = lib/ext/**.jar
DEBUG : expanded = lib/ext/**.jar
DEBUG : getPaths('lib/ext/**.jar')
DEBUG : Using relative path pattern: glob:**/lib/ext/**.jar
DEBUG : Adding module specified file: lib/
DEBUG : Adding module specified file: lib/ext/
DEBUG : Expanded JPMS directives:
  add-modules: [ALL-MODULE-PATH]
  patch-modules: {}
  add-opens: {}
  add-exports: {}
  add-reads: {}
DEBUG : StartArgs: StartArgs[enabledModules=[ext], xml=[], properties={java.version=Prop [key=java.version, value=21.0.1, source=<internal>], java.version.major=Prop [key=java.version.major, value=21, source=Deprecated], java.version.micro=Prop [key=java.version.micro, value=1, source=Deprecated], java.version.minor=Prop [key=java.version.minor, value=0, source=Deprecated], java.version.platform=Prop [key=java.version.platform, value=21, source=<internal>], jetty.base=Prop [key=jetty.base, value=C:\DEV\GIT\gst-online, source=<internal-fallback>], jetty.base.uri=Prop [key=jetty.base.uri, value=file:///C:/DEV/GIT/gst-online, source=<internal-fallback>], jetty.home=Prop [key=jetty.home, value=C:\tools\noarch\jetty\12.0.5, source=<internal-fallback>], jetty.home.uri=Prop [key=jetty.home.uri, value=file:///C:/tools/noarch/jetty/12.0.5, source=<internal-fallback>], runtime.feature.alpn=Prop [key=runtime.feature.alpn, value=true, source=<internal>], STOP.KEY=Prop [key=STOP.KEY, value=YYY, source=<command-line>], STOP.PORT=Prop [key=STOP.PORT, value=8087, source=<command-line>]}, jvmArgs=[]]
DEBUG : Newly Added []
DEBUG : Loaded 0 URLs into URLClassLoader
ERROR : Unable to find: org.eclipse.jetty.xml.XmlConfiguration
java.lang.ClassNotFoundException: org.eclipse.jetty.xml.XmlConfiguration
        at java.base/java.net.URLClassLoader.findClass(URLClassLoader.java:445)
        at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:593)
        at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:526)
        at org.eclipse.jetty.start.Main.invokeMain(Main.java:200)
        at org.eclipse.jetty.start.Main.start(Main.java:519)
        at org.eclipse.jetty.start.Main.main(Main.java:76)

Usage: java -jar $JETTY_HOME/start.jar [options] [properties] [configs]
       java -jar $JETTY_HOME/start.jar --help  # for more information

Weird ?

What means the "source=Deprecated" ?

Pasb4js commented 10 months ago

I added "own" xml one by one and faced

Active XMLs: ee10
-----------------
 ${jetty.home}\etc\jetty-ee10-webapp.xml
 ${jetty.home}\etc\jetty-ee10-deploy.xml
java.lang.reflect.InvocationTargetException
        at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:118)
        at java.base/java.lang.reflect.Method.invoke(Method.java:580)
        at org.eclipse.jetty.start.Main.invokeMain(Main.java:221)
        at org.eclipse.jetty.start.Main.start(Main.java:519)
        at org.eclipse.jetty.start.Main.main(Main.java:76)
Caused by: java.lang.RuntimeException: java.lang.IllegalStateException: No matching constructor class org.eclipse.jetty.server.Server in file:///C:/DEV/GIT/gst-online/dist/tools/jetty/go-base/etc/jetty.xml
        at org.eclipse.jetty.xml.XmlConfiguration.lambda$main$3(XmlConfiguration.java:1997)
        at org.eclipse.jetty.xml.XmlConfiguration.main(XmlConfiguration.java:2002)
        at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
        ... 4 more
Caused by: java.lang.IllegalStateException: No matching constructor class org.eclipse.jetty.server.Server in file:///C:/DEV/GIT/gst-online/dist/tools/jetty/go-base/etc/jetty.xml
        at org.eclipse.jetty.xml.XmlConfiguration$JettyXmlConfiguration.configure(XmlConfiguration.java:468)
        at org.eclipse.jetty.xml.XmlConfiguration.configure(XmlConfiguration.java:381)
        at org.eclipse.jetty.xml.XmlConfiguration.lambda$main$3(XmlConfiguration.java:1990)
        ... 6 more
java.lang.reflect.InvocationTargetException
        at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:118)
        at java.base/java.lang.reflect.Method.invoke(Method.java:580)
        at org.eclipse.jetty.start.Main.invokeMain(Main.java:221)
        at org.eclipse.jetty.start.Main.start(Main.java:519)
        at org.eclipse.jetty.start.Main.main(Main.java:76)
Caused by: java.lang.RuntimeException: java.lang.IllegalStateException: No matching constructor class org.eclipse.jetty.server.Server in file:///C:/DEV/GIT/gst-online/dist/tools/jetty/go-base/etc/jetty.xml
        at org.eclipse.jetty.xml.XmlConfiguration.lambda$main$3(XmlConfiguration.java:1997)
        at org.eclipse.jetty.xml.XmlConfiguration.main(XmlConfiguration.java:2002)
        at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
        ... 4 more
Caused by: java.lang.IllegalStateException: No matching constructor class org.eclipse.jetty.server.Server in file:///C:/DEV/GIT/gst-online/dist/tools/jetty/go-base/etc/jetty.xml
        at org.eclipse.jetty.xml.XmlConfiguration$JettyXmlConfiguration.configure(XmlConfiguration.java:468)
        at org.eclipse.jetty.xml.XmlConfiguration.configure(XmlConfiguration.java:381)
        at org.eclipse.jetty.xml.XmlConfiguration.lambda$main$3(XmlConfiguration.java:1990)
        ... 6 more

Usage: java -jar $JETTY_HOME/start.jar [options] [properties] [configs]
       java -jar $JETTY_HOME/start.jar --help  # for more information
Appuyez sur une touche pour continuer...

Due to Jetty 9 xml in jetty base I tried to migrate to Jetty 12

<?xml version="1.0"?>
<!DOCTYPE Configure PUBLIC "-//Jetty//Configure//EN" "https://www.eclipse.org/jetty/configure_10_0.dtd">

<Configure id="Server" class="org.eclipse.jetty.server.Server">
    <Arg name="threadpool"><Ref refid="threadPool"/></Arg>

    <Call name="addBean">
      <Arg><Ref refid="byteBufferPool"/></Arg>
    </Call>

    <Call name="addBean">
      <Arg>
        <New class="org.eclipse.jetty.util.thread.ScheduledExecutorScheduler">
          <Arg name="name"><Property name="jetty.scheduler.name"/></Arg>
          <Arg name="daemon" type="boolean"><Property name="jetty.scheduler.daemon" default="false" /></Arg>
          <Arg name="threads" type="int"><Property name="jetty.scheduler.threads" default="-1" /></Arg>
        </New>
      </Arg>
    </Call>

    <New id="httpConfig" class="org.eclipse.jetty.server.HttpConfiguration">
      <Set name="secureScheme"><Property name="jetty.httpConfig.secureScheme" default="https" /></Set>
      <Set name="securePort"><Property name="jetty.httpConfig.securePort" deprecated="jetty.secure.port" default="8443" /></Set>
      <Set name="outputBufferSize"><Property name="jetty.httpConfig.outputBufferSize" deprecated="jetty.output.buffer.size" default="32768" /></Set>
      <Set name="outputAggregationSize"><Property name="jetty.httpConfig.outputAggregationSize" deprecated="jetty.output.aggregation.size" default="8192" /></Set>
      <Set name="requestHeaderSize"><Property name="jetty.httpConfig.requestHeaderSize" deprecated="jetty.request.header.size" default="8192" /></Set>
      <Set name="responseHeaderSize"><Property name="jetty.httpConfig.responseHeaderSize" deprecated="jetty.response.header.size" default="8192" /></Set>
      <Set name="sendServerVersion"><Property name="jetty.httpConfig.sendServerVersion" deprecated="jetty.send.server.version" default="true" /></Set>
      <Set name="sendDateHeader"><Property name="jetty.httpConfig.sendDateHeader" deprecated="jetty.send.date.header" default="false" /></Set>
      <Set name="headerCacheSize"><Property name="jetty.httpConfig.headerCacheSize" default="4096" /></Set>
      <Set name="delayDispatchUntilContent"><Property name="jetty.httpConfig.delayDispatchUntilContent" deprecated="jetty.delayDispatchUntilContent" default="true"/></Set>
      <Set name="maxErrorDispatches"><Property name="jetty.httpConfig.maxErrorDispatches" default="10"/></Set>
      <Set name="blockingTimeout"><Property deprecated="jetty.httpConfig.blockingTimeout" name="jetty.httpConfig.blockingTimeout.DEPRECATED" default="-1"/></Set>
      <Set name="persistentConnectionsEnabled"><Property name="jetty.httpConfig.persistentConnectionsEnabled" default="true"/></Set>
      <Set name="requestCookieCompliance"><Call class="org.eclipse.jetty.http.CookieCompliance" name="valueOf"><Arg><Property name="jetty.httpConfig.requestCookieCompliance" deprecated="jetty.httpConfig.cookieCompliance" default="RFC6265"/></Arg></Call></Set>
      <Set name="responseCookieCompliance"><Call class="org.eclipse.jetty.http.CookieCompliance" name="valueOf"><Arg><Property name="jetty.httpConfig.responseCookieCompliance" default="RFC6265"/></Arg></Call></Set>
      <Set name="multiPartFormDataCompliance"><Call class="org.eclipse.jetty.server.MultiPartFormDataCompliance" name="valueOf"><Arg><Property name="jetty.httpConfig.multiPartFormDataCompliance" default="RFC7578"/></Arg></Call></Set>
    </New>

    <Set name="handler">
      <New id="Handlers" class="org.eclipse.jetty.server.handler.HandlerCollection">
        <Set name="handlers">
         <Array type="org.eclipse.jetty.server.Handler">
           <Item>
             <New id="Contexts" class="org.eclipse.jetty.server.handler.ContextHandlerCollection"/>
           </Item>
           <Item>
             <New id="DefaultHandler" class="org.eclipse.jetty.server.handler.DefaultHandler"/>
           </Item>
         </Array>
        </Set>
      </New>
    </Set>

    <Set name="stopAtShutdown"><Property name="jetty.server.stopAtShutdown" default="true"/></Set>
    <Set name="stopTimeout"><Property name="jetty.server.stopTimeout" default="5000"/></Set>
    <Set name="dumpAfterStart"><Property name="jetty.server.dumpAfterStart" deprecated="jetty.dump.start" default="false"/></Set>
    <Set name="dumpBeforeStop"><Property name="jetty.server.dumpBeforeStop" deprecated="jetty.dump.stop" default="false"/></Set>
</Configure>
Pasb4js commented 10 months ago

Here is the full log with --debug Debug logs.txt

joakime commented 10 months ago

What are the contents of your file:///C:/DEV/GIT/gst-online/dist/tools/jetty/go-base/etc/jetty.xml ?

Pasb4js commented 9 months ago

Sorry, was off I pasted the jetty.xml in this comment: https://github.com/jetty/jetty.project/issues/11270#issuecomment-1890912478

joakime commented 9 months ago

Copied from your XML

    <Set name="handler">
      <New id="Handlers" class="org.eclipse.jetty.server.handler.HandlerCollection">
        <Set name="handlers">
         <Array type="org.eclipse.jetty.server.Handler">
           <Item>
             <New id="Contexts" class="org.eclipse.jetty.server.handler.ContextHandlerCollection"/>
           </Item>
           <Item>
             <New id="DefaultHandler" class="org.eclipse.jetty.server.handler.DefaultHandler"/>
           </Item>
         </Array>
        </Set>
      </New>
    </Set>

Some of these handler classes do not exist in Jetty 12. Check the XML files in jetty-home (from your jetty-home download) for the up to date names.

In fact, delete these two files from your jetty.base

 ${jetty.base}\etc\jetty.xml
 ${jetty.base}\etc\jetty-deploy.xml

Your copy of jetty.xml does nothing unique or different then the default jetty.xml from jetty-home, and you are missing a ton of other things that have happened to that XML. Your jetty-deploy is also going to be wrong, as the deploy in Jetty 12 is environment specific (so you'll need something like --add-module=ee10-deploy)

If you need to tweak something in the default jetty.xml, you either do that entirely with properties in your ${jetty.base}/start.d/<name>.ini files, or via tweak xmls that only modify the specific things you need to modify (coping an XML from the jetty-home into jetty-base to modify something is a last resort technique, and if you feel you need to do that file an issue with us).

Example of a tweak.xml ...

${jetty.base}/etc/tweak-ssl.xml

<!DOCTYPE Configure PUBLIC "-//Jetty//Configure//EN"
          "http://www.eclipse.org/jetty/configure_10_0.dtd">
<!-- Tweak SsslContextFactory Includes / Excludes -->
<Configure id="sslContextFactory" class="org.eclipse.jetty.util.ssl.SslContextFactory$Server">
  <!-- Mitigate SLOTH Attack -->
  <Call name="addExcludeCipherSuites">
    <Arg>
      <Array type="String">
        <Item>.*_RSA_.*SHA1$</Item>
        <Item>.*_RSA_.*SHA$</Item>
        <Item>.*_RSA_.*MD5$</Item>
      </Array>
    </Arg>
  </Call>
</Configure>
Pasb4js commented 9 months ago

Ok I'll try thanks

I checked why I has to "overwrite" this jetty.xml

it was because of image

<Set name="headerCacheSize"><Property name="jetty.httpConfig.headerCacheSize" default="4096" /></Set>

I'll try without them and try to remember why I had to increase this headerCacheSize ... 5 years ago ... sigh

joakime commented 9 months ago

Just use jetty.httpConfig.headerCacheSize=4096 as a property in your ${jetty.base}/start.d/server.ini (or any other ini in that directory) No need to copy and modify the XML to use the property system properly.

Pasb4js commented 9 months ago

Thanks, working better.

Remark: while parsing an XML with an error, I think Jetty should trace also the faulty xml. It's not always printed in error logs.

Question: in my jetty-deploy.xml, I asked to also "hot scan/deploy" for new WARs. This part doesn't work now with Jetty 12.

              <Set name="scanInterval"><Property name="jetty.deploy.scanInterval" default="1"/></Set>
              <Set name="extractWars"><Property name="jetty.deploy.extractWars" default="true"/></Set>

In the doc, I read I have to put with Jetty 12 a somewhere.

But, where ?

joakime commented 9 months ago

Thanks, working better.

Great!

Remark: while parsing an XML with an error, I think Jetty should trace also the faulty xml. It's not always printed in error logs.

If Jetty is able to, it does that.

You even saw that in your https://github.com/jetty/jetty.project/issues/11270#issuecomment-1890912478

Caused by: java.lang.IllegalStateException: No matching constructor class org.eclipse.jetty.server.Server in file:///C:/DEV/GIT/gst-online/dist/tools/jetty/go-base/etc/jetty.xml
        at org.eclipse.jetty.xml.XmlConfiguration$JettyXmlConfiguration.configure(XmlConfiguration.java:468)
        at org.eclipse.jetty.xml.XmlConfiguration.configure(XmlConfiguration.java:381)
        at org.eclipse.jetty.xml.XmlConfiguration.lambda$main$3(XmlConfiguration.java:1990)
        ... 6 more

Question: in my jetty-deploy.xml, I asked to also "hot scan/deploy" for new WARs. This part doesn't work now with Jetty 12.

              <Set name="scanInterval"><Property name="jetty.deploy.scanInterval" default="1"/></Set>
              <Set name="extractWars"><Property name="jetty.deploy.extractWars" default="true"/></Set>

In the doc, I read I have to put with Jetty 12 a somewhere.

This was pointed out in https://github.com/jetty/jetty.project/issues/11270#issuecomment-1910287963
Since there are multiple environments now, you need to choose what environments you want to deploy into (the older jetty-deploy only had to deal with 1 environment)

joakime commented 9 months ago

Opened PR #11345 Another pass at cleaning up the Exceptions stacks from XmlConfiguration to report the location during more scenarios.

Pasb4js commented 9 months ago

Thanks, for your help, closing

Now trying to correct problem on org.springframework.web.context.support.AnnotationConfigWebApplicationContext - Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'org.springframework.security.config.annotation.web.configuration.WebSecurityConfiguration': Unsatisfied dependency expressed through method 'setFilterChains' parameter 0: Error creating bean with name 'configuration' defined in class path resource [com/fourjs/go/web/security/SecurityConfig.class]: Failed to instantiate [org.springframework.security.web.SecurityFilterChain]: Factory method 'configuration' threw exception with message: null