<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question apache nifi 2.0.0 M2 JettyServer Failed in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/apache-nifi-2-0-0-M2-JettyServer-Failed/m-p/391738#M247752</link>
    <description>&lt;DIV class="s-prose js-post-body mt32 mb24"&gt;&lt;P&gt;rebooting the machine. I couldn’t find any information about another solution for this problem.&lt;/P&gt;&lt;P&gt;Good afternoon. when starting apache nifi 2.0.0 M2 (as well as M1, M3, M4), after a while it closes with an error, the java_home variable is defined, nifi_properties indicated its IP. please tell me what the problem is and a possible solution&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;nifi-bootstrap.log&lt;/P&gt;&lt;P&gt;2024-08-13 19:59:22,516 WARN [main] o.a.n.b.process.RuntimeValidatorExecutor Runtime Configuration [AvailableLocalPorts] validation failed: Local Ports [28231] less than recommended [55000] according to [/proc/sys/net/ipv4/ip_local_port_range]&lt;BR /&gt;2024-08-13 19:59:22,519 WARN [main] o.a.n.b.process.RuntimeValidatorExecutor Runtime Configuration [Swappiness] validation failed: Swappiness [60] more than recommended [0] according to [/proc/sys/vm/swappiness]&lt;BR /&gt;2024-08-13 19:59:23,442 INFO [main] org.apache.nifi.bootstrap.RunNiFi {javaVersion=21.0.4, availableProcessors=3, maxOpenFileDescriptors=1048576, totalPhysicalMemoryMB=5921, minimumHeapSize=1g, maximumHeapSize=1g}&lt;BR /&gt;2024-08-13 19:59:26,274 INFO [main] org.apache.nifi.bootstrap.Command Generated Self-Signed Certificate Expiration: 2024-10-12&lt;BR /&gt;2024-08-13 19:59:26,275 INFO [main] org.apache.nifi.bootstrap.Command Generated Self-Signed Certificate SHA-256: 2464276B1A18B286B653532BA0BAFD6F56F72632BC65437455011985899B4D4B&lt;BR /&gt;2024-08-13 19:59:26,822 INFO [main] org.apache.nifi.bootstrap.Command Starting Apache NiFi...&lt;BR /&gt;2024-08-13 19:59:26,822 INFO [main] org.apache.nifi.bootstrap.Command Working Directory: /home/test/Загрузки/nifi-2.0.0-M2-bin/nifi-2.0.0-M2&lt;BR /&gt;2024-08-13 19:59:26,822 INFO [main] org.apache.nifi.bootstrap.Command Command: /usr/lib/jvm/jdk-21.0.4-oracle-x64/bin/java -classpath /home/test/Загрузки/nifi-2.0.0-M2-bin/nifi-2.0.0-M2/./conf:/home/test/Загрузки/nifi-2.0.0-M2-bin/nifi-2.0.0-M2/./lib/nifi-runtime-2.0.0-M2.jar:/home/test/Загрузки/nifi-2.0.0-M2-bin/nifi-2.0.0-M2/./lib/nifi-per-process-group-logging-2.0.0-M2.jar:/home/test/Загрузки/nifi-2.0.0-M2-bin/nifi-2.0.0-M2/./lib/nifi-python-framework-api-2.0.0-M2.jar:/home/test/Загрузки/nifi-2.0.0-M2-bin/nifi-2.0.0-M2/./lib/log4j-over-slf4j-2.0.11.jar:/home/test/Загрузки/nifi-2.0.0-M2-bin/nifi-2.0.0-M2/./lib/jul-to-slf4j-2.0.11.jar:/home/test/Загрузки/nifi-2.0.0-M2-bin/nifi-2.0.0-M2/./lib/logback-core-1.4.14.jar:/home/test/Загрузки/nifi-2.0.0-M2-bin/nifi-2.0.0-M2/./lib/nifi-framework-api-2.0.0-M2.jar:/home/test/Загрузки/nifi-2.0.0-M2-bin/nifi-2.0.0-M2/./lib/nifi-nar-utils-2.0.0-M2.jar:/home/test/Загрузки/nifi-2.0.0-M2-bin/nifi-2.0.0-M2/./lib/nifi-server-api-2.0.0-M2.jar:/home/test/Загрузки/nifi-2.0.0-M2-bin/nifi-2.0.0-M2/./lib/nifi-stateless-bootstrap-2.0.0-M2.jar:/home/test/Загрузки/nifi-2.0.0-M2-bin/nifi-2.0.0-M2/./lib/slf4j-api-2.0.11.jar:/home/test/Загрузки/nifi-2.0.0-M2-bin/nifi-2.0.0-M2/./lib/nifi-stateless-api-2.0.0-M2.jar:/home/test/Загрузки/nifi-2.0.0-M2-bin/nifi-2.0.0-M2/./lib/nifi-api-2.0.0-M2.jar:/home/test/Загрузки/nifi-2.0.0-M2-bin/nifi-2.0.0-M2/./lib/nifi-property-utils-2.0.0-M2.jar:/home/test/Загрузки/nifi-2.0.0-M2-bin/nifi-2.0.0-M2/./lib/jcl-over-slf4j-2.0.11.jar:/home/test/Загрузки/nifi-2.0.0-M2-bin/nifi-2.0.0-M2/./lib/logback-classic-1.4.14.jar:/home/test/Загрузки/nifi-2.0.0-M2-bin/nifi-2.0.0-M2/./lib/nifi-properties-2.0.0-M2.jar -Xmx1g -Djava.awt.headless=true -Xms1g -Djavax.security.auth.useSubjectCredsOnly=true -Dsun.net.http.allowRestrictedHeaders=true -Djava.protocol.handler.pkgs=sun.net.&lt;A href="http://www.protocol" target="_blank" rel="noopener"&gt;www.protocol&lt;/A&gt; -Dcurator-log-only-first-connection-issue-as-error-level=true -Dnifi.properties.file.path=/home/test/Загрузки/nifi-2.0.0-M2-bin/nifi-2.0.0-M2/./conf/nifi.properties -Dnifi.bootstrap.listen.port=33249 -Dapp=NiFi -Dorg.apache.nifi.bootstrap.config.log.dir=/home/test/Загрузки/nifi-2.0.0-M2-bin/nifi-2.0.0-M2/logs org.apache.nifi.NiFi&lt;BR /&gt;2024-08-13 19:59:26,899 INFO [main] org.apache.nifi.bootstrap.Command Application Process [4533] launched&lt;BR /&gt;2024-08-13 19:59:28,297 INFO [NiFi Bootstrap Command Listener] org.apache.nifi.bootstrap.RunNiFi Apache NiFi now running and listening for Bootstrap requests on port 41501&lt;BR /&gt;2024-08-13 20:00:10,000 ERROR [NiFi logging handler] org.apache.nifi.StdErr Failed to start web server: Cannot invoke "jakarta.servlet.ServletContext.setAttribute(String, Object)" because "webApiServletContext" is null&lt;BR /&gt;2024-08-13 20:00:10,000 ERROR [NiFi logging handler] org.apache.nifi.StdErr Shutting down...&lt;BR /&gt;2024-08-13 20:00:10,906 INFO [main] org.apache.nifi.bootstrap.RunNiFi NiFi never started. Will not restart NiFi&lt;BR /&gt;2024-08-13 20:00:58,578 INFO [main] org.apache.nifi.bootstrap.Command Apache NiFi is not running&lt;BR /&gt;2024-08-13 20:18:15,633 WARN [main] o.a.n.b.process.RuntimeValidatorExecutor Runtime Configuration [AvailableLocalPorts] validation failed: Local Ports [28231] less than recommended [55000] according to [/proc/sys/net/ipv4/ip_local_port_range]&lt;BR /&gt;2024-08-13 20:18:15,635 WARN [main] o.a.n.b.process.RuntimeValidatorExecutor Runtime Configuration [Swappiness] validation failed: Swappiness [60] more than recommended [0] according to [/proc/sys/vm/swappiness]&lt;BR /&gt;2024-08-13 20:18:15,815 INFO [main] org.apache.nifi.bootstrap.RunNiFi {javaVersion=21.0.4, availableProcessors=3, maxOpenFileDescriptors=1048576, totalPhysicalMemoryMB=5921, minimumHeapSize=1g, maximumHeapSize=1g}&lt;BR /&gt;2024-08-13 20:18:15,852 INFO [main] org.apache.nifi.bootstrap.Command Starting Apache NiFi...&lt;BR /&gt;2024-08-13 20:18:15,853 INFO [main] org.apache.nifi.bootstrap.Command Working Directory: /home/test/Загрузки/nifi-2.0.0-M2-bin/nifi-2.0.0-M2&lt;BR /&gt;2024-08-13 20:18:15,853 INFO [main] org.apache.nifi.bootstrap.Command Command: /usr/lib/jvm/jdk-21.0.4-oracle-x64/bin/java -classpath /home/test/Загрузки/nifi-2.0.0-M2-bin/nifi-2.0.0-M2/./conf:/home/test/Загрузки/nifi-2.0.0-M2-bin/nifi-2.0.0-M2/./lib/nifi-runtime-2.0.0-M2.jar:/home/test/Загрузки/nifi-2.0.0-M2-bin/nifi-2.0.0-M2/./lib/nifi-per-process-group-logging-2.0.0-M2.jar:/home/test/Загрузки/nifi-2.0.0-M2-bin/nifi-2.0.0-M2/./lib/nifi-python-framework-api-2.0.0-M2.jar:/home/test/Загрузки/nifi-2.0.0-M2-bin/nifi-2.0.0-M2/./lib/log4j-over-slf4j-2.0.11.jar:/home/test/Загрузки/nifi-2.0.0-M2-bin/nifi-2.0.0-M2/./lib/jul-to-slf4j-2.0.11.jar:/home/test/Загрузки/nifi-2.0.0-M2-bin/nifi-2.0.0-M2/./lib/logback-core-1.4.14.jar:/home/test/Загрузки/nifi-2.0.0-M2-bin/nifi-2.0.0-M2/./lib/nifi-framework-api-2.0.0-M2.jar:/home/test/Загрузки/nifi-2.0.0-M2-bin/nifi-2.0.0-M2/./lib/nifi-nar-utils-2.0.0-M2.jar:/home/test/Загрузки/nifi-2.0.0-M2-bin/nifi-2.0.0-M2/./lib/nifi-server-api-2.0.0-M2.jar:/home/test/Загрузки/nifi-2.0.0-M2-bin/nifi-2.0.0-M2/./lib/nifi-stateless-bootstrap-2.0.0-M2.jar:/home/test/Загрузки/nifi-2.0.0-M2-bin/nifi-2.0.0-M2/./lib/slf4j-api-2.0.11.jar:/home/test/Загрузки/nifi-2.0.0-M2-bin/nifi-2.0.0-M2/./lib/nifi-stateless-api-2.0.0-M2.jar:/home/test/Загрузки/nifi-2.0.0-M2-bin/nifi-2.0.0-M2/./lib/nifi-api-2.0.0-M2.jar:/home/test/Загрузки/nifi-2.0.0-M2-bin/nifi-2.0.0-M2/./lib/nifi-property-utils-2.0.0-M2.jar:/home/test/Загрузки/nifi-2.0.0-M2-bin/nifi-2.0.0-M2/./lib/jcl-over-slf4j-2.0.11.jar:/home/test/Загрузки/nifi-2.0.0-M2-bin/nifi-2.0.0-M2/./lib/logback-classic-1.4.14.jar:/home/test/Загрузки/nifi-2.0.0-M2-bin/nifi-2.0.0-M2/./lib/nifi-properties-2.0.0-M2.jar -Xmx1g -Djava.awt.headless=true -Xms1g -Djavax.security.auth.useSubjectCredsOnly=true -Dsun.net.http.allowRestrictedHeaders=true -Djava.protocol.handler.pkgs=sun.net.&lt;A href="http://www.protocol" target="_blank" rel="noopener"&gt;www.protocol&lt;/A&gt; -Dcurator-log-only-first-connection-issue-as-error-level=true -Dnifi.properties.file.path=/home/test/Загрузки/nifi-2.0.0-M2-bin/nifi-2.0.0-M2/./conf/nifi.properties -Dnifi.bootstrap.listen.port=37363 -Dapp=NiFi -Dorg.apache.nifi.bootstrap.config.log.dir=/home/test/Загрузки/nifi-2.0.0-M2-bin/nifi-2.0.0-M2/logs org.apache.nifi.NiFi&lt;BR /&gt;2024-08-13 20:18:15,876 INFO [main] org.apache.nifi.bootstrap.Command Application Process [5981] launched&lt;BR /&gt;2024-08-13 20:18:16,684 INFO [NiFi Bootstrap Command Listener] org.apache.nifi.bootstrap.RunNiFi Apache NiFi now running and listening for Bootstrap requests on port 39667&lt;BR /&gt;2024-08-13 20:18:29,629 ERROR [NiFi logging handler] org.apache.nifi.StdErr Failed to start web server: Cannot invoke "jakarta.servlet.ServletContext.setAttribute(String, Object)" because "webApiServletContext" is null&lt;BR /&gt;2024-08-13 20:18:29,629 ERROR [NiFi logging handler] org.apache.nifi.StdErr Shutting down...&lt;BR /&gt;2024-08-13 20:18:30,879 INFO [main] org.apache.nifi.bootstrap.RunNiFi NiFi never started. Will not restart NiFi&lt;BR /&gt;2024-08-13 20:19:01,246 INFO [main] org.apache.nifi.bootstrap.Command Apache NiFi is not running&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;nifi-app.log&lt;/P&gt;&lt;PRE&gt;&lt;SPAN class="hljs-number"&gt;2024&lt;/SPAN&gt;-08-&lt;SPAN class="hljs-number"&gt;13&lt;/SPAN&gt; &lt;SPAN class="hljs-number"&gt;20&lt;/SPAN&gt;:&lt;SPAN class="hljs-number"&gt;18&lt;/SPAN&gt;:&lt;SPAN class="hljs-number"&gt;29&lt;/SPAN&gt;,&lt;SPAN class="hljs-number"&gt;628&lt;/SPAN&gt; INFO [main] org.eclipse.jetty.server.Server Started oejs.Server@587c5c1{STARTING}[&lt;SPAN class="hljs-number"&gt;12.0&lt;/SPAN&gt;&lt;SPAN class="hljs-number"&gt;.5&lt;/SPAN&gt;,sto=&lt;SPAN class="hljs-number"&gt;0&lt;/SPAN&gt;] @13768ms
&lt;SPAN class="hljs-number"&gt;2024&lt;/SPAN&gt;-08-&lt;SPAN class="hljs-number"&gt;13&lt;/SPAN&gt; &lt;SPAN class="hljs-number"&gt;20&lt;/SPAN&gt;:&lt;SPAN class="hljs-number"&gt;18&lt;/SPAN&gt;:&lt;SPAN class="hljs-number"&gt;29&lt;/SPAN&gt;,&lt;SPAN class="hljs-number"&gt;629&lt;/SPAN&gt; WARN [main] org.apache.nifi.web.server.JettyServer Failed to start web server... shutting down.
java.lang.NullPointerException: Cannot invoke &lt;SPAN class="hljs-string"&gt;"jakarta.servlet.ServletContext.setAttribute(String, Object)"&lt;/SPAN&gt; because &lt;SPAN class="hljs-string"&gt;"webApiServletContext"&lt;/SPAN&gt; is &lt;SPAN class="hljs-literal"&gt;null&lt;/SPAN&gt;
    at org.apache.nifi.web.server.JettyServer.start(JettyServer.java:&lt;SPAN class="hljs-number"&gt;792&lt;/SPAN&gt;)
    at org.apache.nifi.NiFi.&amp;lt;init&amp;gt;(NiFi.java:&lt;SPAN class="hljs-number"&gt;172&lt;/SPAN&gt;)
    at org.apache.nifi.NiFi.&amp;lt;init&amp;gt;(NiFi.java:&lt;SPAN class="hljs-number"&gt;83&lt;/SPAN&gt;)
    at org.apache.nifi.NiFi.main(NiFi.java:&lt;SPAN class="hljs-number"&gt;332&lt;/SPAN&gt;)&lt;/PRE&gt;&lt;/DIV&gt;</description>
    <pubDate>Wed, 14 Aug 2024 10:57:11 GMT</pubDate>
    <dc:creator>livsey</dc:creator>
    <dc:date>2024-08-14T10:57:11Z</dc:date>
    <item>
      <title>apache nifi 2.0.0 M2 JettyServer Failed</title>
      <link>https://community.cloudera.com/t5/Support-Questions/apache-nifi-2-0-0-M2-JettyServer-Failed/m-p/391738#M247752</link>
      <description>&lt;DIV class="s-prose js-post-body mt32 mb24"&gt;&lt;P&gt;rebooting the machine. I couldn’t find any information about another solution for this problem.&lt;/P&gt;&lt;P&gt;Good afternoon. when starting apache nifi 2.0.0 M2 (as well as M1, M3, M4), after a while it closes with an error, the java_home variable is defined, nifi_properties indicated its IP. please tell me what the problem is and a possible solution&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;nifi-bootstrap.log&lt;/P&gt;&lt;P&gt;2024-08-13 19:59:22,516 WARN [main] o.a.n.b.process.RuntimeValidatorExecutor Runtime Configuration [AvailableLocalPorts] validation failed: Local Ports [28231] less than recommended [55000] according to [/proc/sys/net/ipv4/ip_local_port_range]&lt;BR /&gt;2024-08-13 19:59:22,519 WARN [main] o.a.n.b.process.RuntimeValidatorExecutor Runtime Configuration [Swappiness] validation failed: Swappiness [60] more than recommended [0] according to [/proc/sys/vm/swappiness]&lt;BR /&gt;2024-08-13 19:59:23,442 INFO [main] org.apache.nifi.bootstrap.RunNiFi {javaVersion=21.0.4, availableProcessors=3, maxOpenFileDescriptors=1048576, totalPhysicalMemoryMB=5921, minimumHeapSize=1g, maximumHeapSize=1g}&lt;BR /&gt;2024-08-13 19:59:26,274 INFO [main] org.apache.nifi.bootstrap.Command Generated Self-Signed Certificate Expiration: 2024-10-12&lt;BR /&gt;2024-08-13 19:59:26,275 INFO [main] org.apache.nifi.bootstrap.Command Generated Self-Signed Certificate SHA-256: 2464276B1A18B286B653532BA0BAFD6F56F72632BC65437455011985899B4D4B&lt;BR /&gt;2024-08-13 19:59:26,822 INFO [main] org.apache.nifi.bootstrap.Command Starting Apache NiFi...&lt;BR /&gt;2024-08-13 19:59:26,822 INFO [main] org.apache.nifi.bootstrap.Command Working Directory: /home/test/Загрузки/nifi-2.0.0-M2-bin/nifi-2.0.0-M2&lt;BR /&gt;2024-08-13 19:59:26,822 INFO [main] org.apache.nifi.bootstrap.Command Command: /usr/lib/jvm/jdk-21.0.4-oracle-x64/bin/java -classpath /home/test/Загрузки/nifi-2.0.0-M2-bin/nifi-2.0.0-M2/./conf:/home/test/Загрузки/nifi-2.0.0-M2-bin/nifi-2.0.0-M2/./lib/nifi-runtime-2.0.0-M2.jar:/home/test/Загрузки/nifi-2.0.0-M2-bin/nifi-2.0.0-M2/./lib/nifi-per-process-group-logging-2.0.0-M2.jar:/home/test/Загрузки/nifi-2.0.0-M2-bin/nifi-2.0.0-M2/./lib/nifi-python-framework-api-2.0.0-M2.jar:/home/test/Загрузки/nifi-2.0.0-M2-bin/nifi-2.0.0-M2/./lib/log4j-over-slf4j-2.0.11.jar:/home/test/Загрузки/nifi-2.0.0-M2-bin/nifi-2.0.0-M2/./lib/jul-to-slf4j-2.0.11.jar:/home/test/Загрузки/nifi-2.0.0-M2-bin/nifi-2.0.0-M2/./lib/logback-core-1.4.14.jar:/home/test/Загрузки/nifi-2.0.0-M2-bin/nifi-2.0.0-M2/./lib/nifi-framework-api-2.0.0-M2.jar:/home/test/Загрузки/nifi-2.0.0-M2-bin/nifi-2.0.0-M2/./lib/nifi-nar-utils-2.0.0-M2.jar:/home/test/Загрузки/nifi-2.0.0-M2-bin/nifi-2.0.0-M2/./lib/nifi-server-api-2.0.0-M2.jar:/home/test/Загрузки/nifi-2.0.0-M2-bin/nifi-2.0.0-M2/./lib/nifi-stateless-bootstrap-2.0.0-M2.jar:/home/test/Загрузки/nifi-2.0.0-M2-bin/nifi-2.0.0-M2/./lib/slf4j-api-2.0.11.jar:/home/test/Загрузки/nifi-2.0.0-M2-bin/nifi-2.0.0-M2/./lib/nifi-stateless-api-2.0.0-M2.jar:/home/test/Загрузки/nifi-2.0.0-M2-bin/nifi-2.0.0-M2/./lib/nifi-api-2.0.0-M2.jar:/home/test/Загрузки/nifi-2.0.0-M2-bin/nifi-2.0.0-M2/./lib/nifi-property-utils-2.0.0-M2.jar:/home/test/Загрузки/nifi-2.0.0-M2-bin/nifi-2.0.0-M2/./lib/jcl-over-slf4j-2.0.11.jar:/home/test/Загрузки/nifi-2.0.0-M2-bin/nifi-2.0.0-M2/./lib/logback-classic-1.4.14.jar:/home/test/Загрузки/nifi-2.0.0-M2-bin/nifi-2.0.0-M2/./lib/nifi-properties-2.0.0-M2.jar -Xmx1g -Djava.awt.headless=true -Xms1g -Djavax.security.auth.useSubjectCredsOnly=true -Dsun.net.http.allowRestrictedHeaders=true -Djava.protocol.handler.pkgs=sun.net.&lt;A href="http://www.protocol" target="_blank" rel="noopener"&gt;www.protocol&lt;/A&gt; -Dcurator-log-only-first-connection-issue-as-error-level=true -Dnifi.properties.file.path=/home/test/Загрузки/nifi-2.0.0-M2-bin/nifi-2.0.0-M2/./conf/nifi.properties -Dnifi.bootstrap.listen.port=33249 -Dapp=NiFi -Dorg.apache.nifi.bootstrap.config.log.dir=/home/test/Загрузки/nifi-2.0.0-M2-bin/nifi-2.0.0-M2/logs org.apache.nifi.NiFi&lt;BR /&gt;2024-08-13 19:59:26,899 INFO [main] org.apache.nifi.bootstrap.Command Application Process [4533] launched&lt;BR /&gt;2024-08-13 19:59:28,297 INFO [NiFi Bootstrap Command Listener] org.apache.nifi.bootstrap.RunNiFi Apache NiFi now running and listening for Bootstrap requests on port 41501&lt;BR /&gt;2024-08-13 20:00:10,000 ERROR [NiFi logging handler] org.apache.nifi.StdErr Failed to start web server: Cannot invoke "jakarta.servlet.ServletContext.setAttribute(String, Object)" because "webApiServletContext" is null&lt;BR /&gt;2024-08-13 20:00:10,000 ERROR [NiFi logging handler] org.apache.nifi.StdErr Shutting down...&lt;BR /&gt;2024-08-13 20:00:10,906 INFO [main] org.apache.nifi.bootstrap.RunNiFi NiFi never started. Will not restart NiFi&lt;BR /&gt;2024-08-13 20:00:58,578 INFO [main] org.apache.nifi.bootstrap.Command Apache NiFi is not running&lt;BR /&gt;2024-08-13 20:18:15,633 WARN [main] o.a.n.b.process.RuntimeValidatorExecutor Runtime Configuration [AvailableLocalPorts] validation failed: Local Ports [28231] less than recommended [55000] according to [/proc/sys/net/ipv4/ip_local_port_range]&lt;BR /&gt;2024-08-13 20:18:15,635 WARN [main] o.a.n.b.process.RuntimeValidatorExecutor Runtime Configuration [Swappiness] validation failed: Swappiness [60] more than recommended [0] according to [/proc/sys/vm/swappiness]&lt;BR /&gt;2024-08-13 20:18:15,815 INFO [main] org.apache.nifi.bootstrap.RunNiFi {javaVersion=21.0.4, availableProcessors=3, maxOpenFileDescriptors=1048576, totalPhysicalMemoryMB=5921, minimumHeapSize=1g, maximumHeapSize=1g}&lt;BR /&gt;2024-08-13 20:18:15,852 INFO [main] org.apache.nifi.bootstrap.Command Starting Apache NiFi...&lt;BR /&gt;2024-08-13 20:18:15,853 INFO [main] org.apache.nifi.bootstrap.Command Working Directory: /home/test/Загрузки/nifi-2.0.0-M2-bin/nifi-2.0.0-M2&lt;BR /&gt;2024-08-13 20:18:15,853 INFO [main] org.apache.nifi.bootstrap.Command Command: /usr/lib/jvm/jdk-21.0.4-oracle-x64/bin/java -classpath /home/test/Загрузки/nifi-2.0.0-M2-bin/nifi-2.0.0-M2/./conf:/home/test/Загрузки/nifi-2.0.0-M2-bin/nifi-2.0.0-M2/./lib/nifi-runtime-2.0.0-M2.jar:/home/test/Загрузки/nifi-2.0.0-M2-bin/nifi-2.0.0-M2/./lib/nifi-per-process-group-logging-2.0.0-M2.jar:/home/test/Загрузки/nifi-2.0.0-M2-bin/nifi-2.0.0-M2/./lib/nifi-python-framework-api-2.0.0-M2.jar:/home/test/Загрузки/nifi-2.0.0-M2-bin/nifi-2.0.0-M2/./lib/log4j-over-slf4j-2.0.11.jar:/home/test/Загрузки/nifi-2.0.0-M2-bin/nifi-2.0.0-M2/./lib/jul-to-slf4j-2.0.11.jar:/home/test/Загрузки/nifi-2.0.0-M2-bin/nifi-2.0.0-M2/./lib/logback-core-1.4.14.jar:/home/test/Загрузки/nifi-2.0.0-M2-bin/nifi-2.0.0-M2/./lib/nifi-framework-api-2.0.0-M2.jar:/home/test/Загрузки/nifi-2.0.0-M2-bin/nifi-2.0.0-M2/./lib/nifi-nar-utils-2.0.0-M2.jar:/home/test/Загрузки/nifi-2.0.0-M2-bin/nifi-2.0.0-M2/./lib/nifi-server-api-2.0.0-M2.jar:/home/test/Загрузки/nifi-2.0.0-M2-bin/nifi-2.0.0-M2/./lib/nifi-stateless-bootstrap-2.0.0-M2.jar:/home/test/Загрузки/nifi-2.0.0-M2-bin/nifi-2.0.0-M2/./lib/slf4j-api-2.0.11.jar:/home/test/Загрузки/nifi-2.0.0-M2-bin/nifi-2.0.0-M2/./lib/nifi-stateless-api-2.0.0-M2.jar:/home/test/Загрузки/nifi-2.0.0-M2-bin/nifi-2.0.0-M2/./lib/nifi-api-2.0.0-M2.jar:/home/test/Загрузки/nifi-2.0.0-M2-bin/nifi-2.0.0-M2/./lib/nifi-property-utils-2.0.0-M2.jar:/home/test/Загрузки/nifi-2.0.0-M2-bin/nifi-2.0.0-M2/./lib/jcl-over-slf4j-2.0.11.jar:/home/test/Загрузки/nifi-2.0.0-M2-bin/nifi-2.0.0-M2/./lib/logback-classic-1.4.14.jar:/home/test/Загрузки/nifi-2.0.0-M2-bin/nifi-2.0.0-M2/./lib/nifi-properties-2.0.0-M2.jar -Xmx1g -Djava.awt.headless=true -Xms1g -Djavax.security.auth.useSubjectCredsOnly=true -Dsun.net.http.allowRestrictedHeaders=true -Djava.protocol.handler.pkgs=sun.net.&lt;A href="http://www.protocol" target="_blank" rel="noopener"&gt;www.protocol&lt;/A&gt; -Dcurator-log-only-first-connection-issue-as-error-level=true -Dnifi.properties.file.path=/home/test/Загрузки/nifi-2.0.0-M2-bin/nifi-2.0.0-M2/./conf/nifi.properties -Dnifi.bootstrap.listen.port=37363 -Dapp=NiFi -Dorg.apache.nifi.bootstrap.config.log.dir=/home/test/Загрузки/nifi-2.0.0-M2-bin/nifi-2.0.0-M2/logs org.apache.nifi.NiFi&lt;BR /&gt;2024-08-13 20:18:15,876 INFO [main] org.apache.nifi.bootstrap.Command Application Process [5981] launched&lt;BR /&gt;2024-08-13 20:18:16,684 INFO [NiFi Bootstrap Command Listener] org.apache.nifi.bootstrap.RunNiFi Apache NiFi now running and listening for Bootstrap requests on port 39667&lt;BR /&gt;2024-08-13 20:18:29,629 ERROR [NiFi logging handler] org.apache.nifi.StdErr Failed to start web server: Cannot invoke "jakarta.servlet.ServletContext.setAttribute(String, Object)" because "webApiServletContext" is null&lt;BR /&gt;2024-08-13 20:18:29,629 ERROR [NiFi logging handler] org.apache.nifi.StdErr Shutting down...&lt;BR /&gt;2024-08-13 20:18:30,879 INFO [main] org.apache.nifi.bootstrap.RunNiFi NiFi never started. Will not restart NiFi&lt;BR /&gt;2024-08-13 20:19:01,246 INFO [main] org.apache.nifi.bootstrap.Command Apache NiFi is not running&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;nifi-app.log&lt;/P&gt;&lt;PRE&gt;&lt;SPAN class="hljs-number"&gt;2024&lt;/SPAN&gt;-08-&lt;SPAN class="hljs-number"&gt;13&lt;/SPAN&gt; &lt;SPAN class="hljs-number"&gt;20&lt;/SPAN&gt;:&lt;SPAN class="hljs-number"&gt;18&lt;/SPAN&gt;:&lt;SPAN class="hljs-number"&gt;29&lt;/SPAN&gt;,&lt;SPAN class="hljs-number"&gt;628&lt;/SPAN&gt; INFO [main] org.eclipse.jetty.server.Server Started oejs.Server@587c5c1{STARTING}[&lt;SPAN class="hljs-number"&gt;12.0&lt;/SPAN&gt;&lt;SPAN class="hljs-number"&gt;.5&lt;/SPAN&gt;,sto=&lt;SPAN class="hljs-number"&gt;0&lt;/SPAN&gt;] @13768ms
&lt;SPAN class="hljs-number"&gt;2024&lt;/SPAN&gt;-08-&lt;SPAN class="hljs-number"&gt;13&lt;/SPAN&gt; &lt;SPAN class="hljs-number"&gt;20&lt;/SPAN&gt;:&lt;SPAN class="hljs-number"&gt;18&lt;/SPAN&gt;:&lt;SPAN class="hljs-number"&gt;29&lt;/SPAN&gt;,&lt;SPAN class="hljs-number"&gt;629&lt;/SPAN&gt; WARN [main] org.apache.nifi.web.server.JettyServer Failed to start web server... shutting down.
java.lang.NullPointerException: Cannot invoke &lt;SPAN class="hljs-string"&gt;"jakarta.servlet.ServletContext.setAttribute(String, Object)"&lt;/SPAN&gt; because &lt;SPAN class="hljs-string"&gt;"webApiServletContext"&lt;/SPAN&gt; is &lt;SPAN class="hljs-literal"&gt;null&lt;/SPAN&gt;
    at org.apache.nifi.web.server.JettyServer.start(JettyServer.java:&lt;SPAN class="hljs-number"&gt;792&lt;/SPAN&gt;)
    at org.apache.nifi.NiFi.&amp;lt;init&amp;gt;(NiFi.java:&lt;SPAN class="hljs-number"&gt;172&lt;/SPAN&gt;)
    at org.apache.nifi.NiFi.&amp;lt;init&amp;gt;(NiFi.java:&lt;SPAN class="hljs-number"&gt;83&lt;/SPAN&gt;)
    at org.apache.nifi.NiFi.main(NiFi.java:&lt;SPAN class="hljs-number"&gt;332&lt;/SPAN&gt;)&lt;/PRE&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 14 Aug 2024 10:57:11 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/apache-nifi-2-0-0-M2-JettyServer-Failed/m-p/391738#M247752</guid>
      <dc:creator>livsey</dc:creator>
      <dc:date>2024-08-14T10:57:11Z</dc:date>
    </item>
    <item>
      <title>Re: apache nifi 2.0.0 M2 JettyServer Failed</title>
      <link>https://community.cloudera.com/t5/Support-Questions/apache-nifi-2-0-0-M2-JettyServer-Failed/m-p/391759#M247761</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/114467"&gt;@livsey&lt;/a&gt;&amp;nbsp;Welcome to the Cloudera Community!&lt;BR /&gt;&lt;BR /&gt;To help you get the best possible solution, I have tagged our NiFi experts&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/80381"&gt;@SAMSAL&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/103151"&gt;@cotopaul&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/42173"&gt;@ckumar&lt;/a&gt;&amp;nbsp; who may be able to assist you further.&lt;BR /&gt;&lt;BR /&gt;Please keep us updated on your post, and we hope you find a satisfactory solution to your query.&lt;/P&gt;</description>
      <pubDate>Wed, 14 Aug 2024 18:36:32 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/apache-nifi-2-0-0-M2-JettyServer-Failed/m-p/391759#M247761</guid>
      <dc:creator>DianaTorres</dc:creator>
      <dc:date>2024-08-14T18:36:32Z</dc:date>
    </item>
    <item>
      <title>Re: apache nifi 2.0.0 M2 JettyServer Failed</title>
      <link>https://community.cloudera.com/t5/Support-Questions/apache-nifi-2-0-0-M2-JettyServer-Failed/m-p/395224#M248895</link>
      <description>&lt;P&gt;Did u find any solution for this.Currently I am facing this type of issue&lt;/P&gt;</description>
      <pubDate>Tue, 15 Oct 2024 11:21:48 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/apache-nifi-2-0-0-M2-JettyServer-Failed/m-p/395224#M248895</guid>
      <dc:creator>Samyuktha</dc:creator>
      <dc:date>2024-10-15T11:21:48Z</dc:date>
    </item>
    <item>
      <title>Re: apache nifi 2.0.0 M2 JettyServer Failed</title>
      <link>https://community.cloudera.com/t5/Support-Questions/apache-nifi-2-0-0-M2-JettyServer-Failed/m-p/395226#M248896</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/114467"&gt;@livsey&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Can you share what Java and Java version you are using and how you have configured your Apache NiFi conf/nifi.properties file?&lt;BR /&gt;&lt;BR /&gt;I am most interested in the&amp;nbsp;&lt;A href="https://nifi.apache.org/documentation/nifi-2.0.0-M4/html/administration-guide.html#web-properties" target="_blank" rel="noopener"&gt;Web Properties&lt;/A&gt;&amp;nbsp;section.&lt;/P&gt;&lt;P&gt;Thank you,&lt;BR /&gt;Matt&lt;/P&gt;</description>
      <pubDate>Tue, 15 Oct 2024 12:10:38 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/apache-nifi-2-0-0-M2-JettyServer-Failed/m-p/395226#M248896</guid>
      <dc:creator>MattWho</dc:creator>
      <dc:date>2024-10-15T12:10:38Z</dc:date>
    </item>
    <item>
      <title>Re: apache nifi 2.0.0 M2 JettyServer Failed</title>
      <link>https://community.cloudera.com/t5/Support-Questions/apache-nifi-2-0-0-M2-JettyServer-Failed/m-p/395415#M248943</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/35454"&gt;@MattWho&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Hi Matt, I am having the same issue as:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Kiranq_0-1729180126614.png" style="width: 400px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/42180i824972A6B13DDC23/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Kiranq_0-1729180126614.png" alt="Kiranq_0-1729180126614.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Here are my web properties:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Kiranq_1-1729180155352.png" style="width: 400px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/42181i603740768AFBFA25/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Kiranq_1-1729180155352.png" alt="Kiranq_1-1729180155352.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and java version as below:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Kiranq_2-1729180184230.png" style="width: 400px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/42182i9770B65390300E9A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Kiranq_2-1729180184230.png" alt="Kiranq_2-1729180184230.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Please suggest any resolution.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 17 Oct 2024 15:49:18 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/apache-nifi-2-0-0-M2-JettyServer-Failed/m-p/395415#M248943</guid>
      <dc:creator>Kiranq</dc:creator>
      <dc:date>2024-10-17T15:49:18Z</dc:date>
    </item>
    <item>
      <title>Re: apache nifi 2.0.0 M2 JettyServer Failed</title>
      <link>https://community.cloudera.com/t5/Support-Questions/apache-nifi-2-0-0-M2-JettyServer-Failed/m-p/395420#M248945</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/105315"&gt;@Kiranq&lt;/a&gt;&amp;nbsp;&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/114467"&gt;@livsey&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;If you configure "nifi.web.https.host" with your actual Windows hostname or IP rather then using the loopback address (127.0.0.1), does your NiFi start?&lt;BR /&gt;&lt;BR /&gt;Any custom add-ons?&lt;BR /&gt;&lt;BR /&gt;Have you set NiFi to debug in logback to see if any additional logging shed some light here?&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Matt&lt;/P&gt;</description>
      <pubDate>Thu, 17 Oct 2024 17:32:07 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/apache-nifi-2-0-0-M2-JettyServer-Failed/m-p/395420#M248945</guid>
      <dc:creator>MattWho</dc:creator>
      <dc:date>2024-10-17T17:32:07Z</dc:date>
    </item>
    <item>
      <title>Re: apache nifi 2.0.0 M2 JettyServer Failed</title>
      <link>https://community.cloudera.com/t5/Support-Questions/apache-nifi-2-0-0-M2-JettyServer-Failed/m-p/395421#M248946</link>
      <description>&lt;P&gt;The NiFi actually starts for the first time, if I close it and try to restart it, it never gets restarted again.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;No custom add ons.&lt;BR /&gt;&lt;BR /&gt;I dont know how to&amp;nbsp;&lt;SPAN&gt;debug in logback.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 17 Oct 2024 17:35:24 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/apache-nifi-2-0-0-M2-JettyServer-Failed/m-p/395421#M248946</guid>
      <dc:creator>Kiranq</dc:creator>
      <dc:date>2024-10-17T17:35:24Z</dc:date>
    </item>
    <item>
      <title>Re: apache nifi 2.0.0 M2 JettyServer Failed</title>
      <link>https://community.cloudera.com/t5/Support-Questions/apache-nifi-2-0-0-M2-JettyServer-Failed/m-p/395423#M248947</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Kiranq_0-1729186818309.png" style="width: 400px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/42186iC107AA7E9DF8CFDC/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Kiranq_0-1729186818309.png" alt="Kiranq_0-1729186818309.png" /&gt;&lt;/span&gt;&lt;BR /&gt;"&lt;/P&gt;&lt;P&gt;The only error from today seem to be repeating:&lt;/P&gt;&lt;P&gt;2024-10-17 08:35:19,764 ERROR [Timer-Driven Process Thread-5] o.a.n.c.s.StandardControllerServiceNode StandardControllerServiceNode[service=CSVRecordLookupService[id=a8b84b00-b0ee-31c8-dbda-7e7e9795ba4b], name=CSVRecordLookupService, active=true] Encountering difficulty enabling. (Validation State is INVALID: ['CSV File' is invalid because CSV File is required, 'Lookup Key Column' is invalid because Lookup Key Column is required]). Will continue trying to enable.&lt;BR /&gt;2024-10-17 08:35:19,764 ERROR [Timer-Driven Process Thread-13] o.a.n.c.s.StandardControllerServiceNode StandardControllerServiceNode[service=CSVRecordLookupService[id=10c1880b-0376-3223-c6b8-8d14780a8001], name=CSVRecordLookupService, active=true] Encountering difficulty enabling. (Validation State is INVALID: ['CSV File' is invalid because CSV File is required, 'Lookup Key Column' is invalid because Lookup Key Column is required]). Will continue trying to enable."&lt;/P&gt;&lt;P&gt;I am also having these erros, if it helps you in any way.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 17 Oct 2024 17:42:39 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/apache-nifi-2-0-0-M2-JettyServer-Failed/m-p/395423#M248947</guid>
      <dc:creator>Kiranq</dc:creator>
      <dc:date>2024-10-17T17:42:39Z</dc:date>
    </item>
    <item>
      <title>Re: apache nifi 2.0.0 M2 JettyServer Failed</title>
      <link>https://community.cloudera.com/t5/Support-Questions/apache-nifi-2-0-0-M2-JettyServer-Failed/m-p/395512#M248961</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/105315"&gt;@Kiranq&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;This error shared:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;2024-10-17 08:35:19,764 ERROR [Timer-Driven Process Thread-5] o.a.n.c.s.StandardControllerServiceNode StandardControllerServiceNode[service=CSVRecordLookupService[id=a8b84b00-b0ee-31c8-dbda-7e7e9795ba4b], name=CSVRecordLookupService, active=true] Encountering difficulty enabling. (Validation State is INVALID: ['CSV File' is invalid because CSV File is required, 'Lookup Key Column' is invalid because Lookup Key Column is required]). Will continue trying to enable.&lt;/LI-CODE&gt;&lt;P&gt;Indicates that NiFi is trying to enable a NiFi Controller services loaded from the flow.json.gz during startup, but cannot because it's configuration is invalid.&amp;nbsp; It is complaining about the configuration of the "&lt;STRONG&gt;CSV File&lt;/STRONG&gt;" and "&lt;STRONG&gt;Lookup Key Column&lt;/STRONG&gt;" properties.&lt;BR /&gt;&lt;BR /&gt;Have you tried starting your NiFi with the following setting in your nifi.properties file set to "false":&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;nifi.flowcontroller.autoResumeState=false&lt;/LI-CODE&gt;&lt;P&gt;This will start NiFi and all components on the canvas will not be started during startup.&lt;BR /&gt;Also if you NiFi is at the point it is trying to enable components on the canvas, Your NiFi is up and running.&lt;BR /&gt;&lt;BR /&gt;As far as the screenshot error, have you verified ownership and permissions on that directory path.&amp;nbsp; Permissions can be an issue if you started the NiFI service as different users at some point in time resulting in some files created on startup having different ownership.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please help our community thrive. If you found&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;any&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;of the suggestions/solutions provided helped you with solving your issue or answering your question, please take a moment to login and click "&lt;SPAN&gt;&lt;EM&gt;&lt;STRONG&gt;&lt;FONT color="#FF0000"&gt;Accept as Solution&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/EM&gt;" on&amp;nbsp;&lt;STRONG&gt;one or more&lt;/STRONG&gt;&amp;nbsp;of them that helped.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thank you,&lt;BR /&gt;Matt&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 18 Oct 2024 14:51:47 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/apache-nifi-2-0-0-M2-JettyServer-Failed/m-p/395512#M248961</guid>
      <dc:creator>MattWho</dc:creator>
      <dc:date>2024-10-18T14:51:47Z</dc:date>
    </item>
  </channel>
</rss>

