Ilya Korol created IGNITE-15873:
-----------------------------------
Summary: Fix constructor argument in jetty config threadPool ->
threadpool
Key: IGNITE-15873
URL: https://issues.apache.org/jira/browse/IGNITE-15873
Project: Ignite
Issue Type: Bug
Components: documentation
Affects Versions: 2.11
Reporter: Ilya Korol
According to jetty sources:
{code:java}
public Server(@Name("threadpool") ThreadPool pool)
{
_threadPool = pool != null ? pool : new QueuedThreadPool();
addBean(_threadPool);
setServer(this);
}
{code}
When we instantiate Server class via xml we need to use *threadpool* (all
lowercase) instead of *threadPool*, otherwise we would get an error:
{code:java}
Caused by: java.lang.IllegalStateException: No matching constructor class
org.eclipse.jetty.server.Server in file:///...config/jetty.xml
at
org.eclipse.jetty.xml.XmlConfiguration$JettyXmlConfiguration.configure(XmlConfiguration.java:454)
at
org.eclipse.jetty.xml.XmlConfiguration.configure(XmlConfiguration.java:380)
at
org.apache.ignite.internal.processors.rest.protocols.http.jetty.GridJettyRestProtocol.loadJettyConfiguration(GridJettyRestProtocol.java:318)
... 16 more
{code}
[SO
issue|https://stackoverflow.com/questions/69859238/apache-ignite-unable-to-start-2-11-ignite-nodes-in-a-cluster]
--
This message was sent by Atlassian Jira
(v8.20.1#820001)