This is an automated email from the ASF dual-hosted git repository.
dspavlov pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/ignite.git
The following commit(s) were added to refs/heads/master by this push:
new 10a198c22a3 IGNITE-28956 Document Jetty 12 configuration changes
(#13448)
10a198c22a3 is described below
commit 10a198c22a3b89143611f8ad2b5237f3773488ae
Author: ignitetcbot <[email protected]>
AuthorDate: Fri Aug 7 17:15:15 2026 +0300
IGNITE-28956 Document Jetty 12 configuration changes (#13448)
Codex co-authored-by: Dmitriy Pavlov <[email protected]>
---
docs/_docs/code-snippets/xml/jetty.xml | 13 +------------
docs/_docs/restapi.adoc | 4 ++++
2 files changed, 5 insertions(+), 12 deletions(-)
diff --git a/docs/_docs/code-snippets/xml/jetty.xml
b/docs/_docs/code-snippets/xml/jetty.xml
index 75311171717..7bdfcaf8e47 100644
--- a/docs/_docs/code-snippets/xml/jetty.xml
+++ b/docs/_docs/code-snippets/xml/jetty.xml
@@ -17,7 +17,7 @@
-->
<!DOCTYPE Configure PUBLIC "-//Jetty//Configure//EN"
"http://www.eclipse.org/jetty/configure.dtd">
<Configure id="Server" class="org.eclipse.jetty.server.Server">
- <Arg name="threadpool">
+ <Arg>
<!-- Default queued blocking thread pool -->
<New class="org.eclipse.jetty.util.thread.QueuedThreadPool">
<Set name="minThreads">20</Set>
@@ -54,16 +54,5 @@
</New>
</Arg>
</Call>
- <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>
- </Array>
- </Set>
- </New>
- </Set>
<Set name="stopAtShutdown">false</Set>
</Configure>
diff --git a/docs/_docs/restapi.adoc b/docs/_docs/restapi.adoc
index 0d508fb1c63..88022e86fd6 100644
--- a/docs/_docs/restapi.adoc
+++ b/docs/_docs/restapi.adoc
@@ -95,6 +95,10 @@ The following table describes the properties of
`ConnectorConfiguration` that ar
Path to this configuration should be set to
`ConnectorConfiguration.setJettyPath(String)` as explained above.
+NOTE: Ignite uses Jetty 12. Custom Jetty XML configurations created for
earlier Jetty versions must use an unnamed
+`<Arg>` element for the server thread pool and must not define the legacy
`HandlerCollection` and
+`ContextHandlerCollection`. The following configuration uses the current
syntax.
+
[source,xml]
----
include::code-snippets/xml/jetty.xml[tags=, indent=0]