Created 04-22-2023 04:04 PM
Hi, when I'm trying to run NiFi (both for versions 1.20.0 and 1.21.0) with JDK 1.8.0_202 on a Windows 64bit machin I keep on receiving the same error message:
2023-04-23 01:00:45,455 INFO [main] org.apache.nifi.bootstrap.Command Starting Apache NiFi... 2023-04-23 01:00:45,455 INFO [main] org.apache.nifi.bootstrap.Command Working Directory: C:\nifi\NIFI-1~1.0 2023-04-23 01:00:45,455 INFO [main] org.apache.nifi.bootstrap.Command Command: C:\java\JDK18~1.0_2\bin\java.exe -classpath C:\nifi\NIFI-1~1.0\.\conf;C:\nifi\NIFI-1~1.0\.\lib\javax.servlet-api-3.1.0.jar;C:\nifi\NIFI-1~1.0\.\lib\jcl-over-slf4j-2.0.6.jar;C:\nifi\NIFI-1~1.0\.\lib\jetty-schemas-5.2.jar;C:\nifi\NIFI-1~1.0\.\lib\jul-to-slf4j-2.0.6.jar;C:\nifi\NIFI-1~1.0\.\lib\log4j-over-slf4j-2.0.6.jar;C:\nifi\NIFI-1~1.0\.\lib\logback-classic-1.3.5.jar;C:\nifi\NIFI-1~1.0\.\lib\logback-core-1.3.5.jar;C:\nifi\NIFI-1~1.0\.\lib\nifi-api-1.20.0.jar;C:\nifi\NIFI-1~1.0\.\lib\nifi-framework-api-1.20.0.jar;C:\nifi\NIFI-1~1.0\.\lib\nifi-nar-utils-1.20.0.jar;C:\nifi\NIFI-1~1.0\.\lib\nifi-properties-1.20.0.jar;C:\nifi\NIFI-1~1.0\.\lib\nifi-property-utils-1.20.0.jar;C:\nifi\NIFI-1~1.0\.\lib\nifi-runtime-1.20.0.jar;C:\nifi\NIFI-1~1.0\.\lib\nifi-server-api-1.20.0.jar;C:\nifi\NIFI-1~1.0\.\lib\nifi-stateless-api-1.20.0.jar;C:\nifi\NIFI-1~1.0\.\lib\nifi-stateless-bootstrap-1.20.0.jar;C:\nifi\NIFI-1~1.0\.\lib\slf4j-api-2.0.6.jar -Dorg.apache.jasper.compiler.disablejsr199=true -Xmx512m -Xms512m -Dcurator-log-only-first-connection-issue-as-error-level=true -Djavax.security.auth.useSubjectCredsOnly=true -Djava.security.egd=file:/dev/urandom -Dzookeeper.admin.enableServer=false -Dsun.net.http.allowRestrictedHeaders=true -Djava.net.preferIPv4Stack=true -Djava.awt.headless=true -Djava.protocol.handler.pkgs=sun.net.www.protocol -Dnifi.properties.file.path=C:\nifi\NIFI-1~1.0\.\conf\nifi.properties -Dnifi.bootstrap.listen.port=54700 -Dapp=NiFi -Dorg.apache.nifi.bootstrap.config.log.dir=C:\nifi\NIFI-1~1.0\bin\..\\logs org.apache.nifi.NiFi 2023-04-23 01:00:45,455 INFO [main] org.apache.nifi.bootstrap.Command Failed to determine Process ID from [java.lang.ProcessImpl]: java.lang.Process.pid() 2023-04-23 01:00:45,455 WARN [main] org.apache.nifi.bootstrap.Command Launched Apache NiFi but could not determined the Process ID
These are my bootstrap logs:
2023-04-23 00:42:31,879 INFO [main] o.a.n.b.NotificationServiceManager Successfully loaded the following 0 services: []
2023-04-23 00:42:31,894 INFO [main] org.apache.nifi.bootstrap.RunNiFi Registered no Notification Services for Notification Type NIFI_STARTED
2023-04-23 00:42:31,894 INFO [main] org.apache.nifi.bootstrap.RunNiFi Registered no Notification Services for Notification Type NIFI_STOPPED
2023-04-23 00:42:31,894 INFO [main] org.apache.nifi.bootstrap.RunNiFi Registered no Notification Services for Notification Type NIFI_DIED
2023-04-23 00:42:31,894 INFO [main] org.apache.nifi.bootstrap.RunNiFi Runtime Java version: 1.8.0_202
2023-04-23 00:42:31,909 INFO [main] org.apache.nifi.bootstrap.Command Generating Self-Signed Certificate: Expires on 2023-06-22
2023-04-23 00:42:32,964 INFO [main] org.apache.nifi.bootstrap.Command Generated Self-Signed Certificate SHA-256: B82683D9CA1A9D67EE38130E382896C74131B10137A200FFABD4CE01C28D01F5
2023-04-23 00:42:32,964 INFO [main] org.apache.nifi.bootstrap.Command Starting Apache NiFi...
2023-04-23 00:42:32,964 INFO [main] org.apache.nifi.bootstrap.Command Working Directory: C:\nifi\NIFI-1~1.0
2023-04-23 00:42:32,964 INFO [main] org.apache.nifi.bootstrap.Command Command: C:\java\JDK18~1.0_2\bin\java.exe -classpath C:\nifi\NIFI-1~1.0\.\conf;C:\nifi\NIFI-1~1.0\.\lib\javax.servlet-api-3.1.0.jar;C:\nifi\NIFI-1~1.0\.\lib\jcl-over-slf4j-2.0.6.jar;C:\nifi\NIFI-1~1.0\.\lib\jetty-schemas-5.2.jar;C:\nifi\NIFI-1~1.0\.\lib\jul-to-slf4j-2.0.6.jar;C:\nifi\NIFI-1~1.0\.\lib\log4j-over-slf4j-2.0.6.jar;C:\nifi\NIFI-1~1.0\.\lib\logback-classic-1.3.5.jar;C:\nifi\NIFI-1~1.0\.\lib\logback-core-1.3.5.jar;C:\nifi\NIFI-1~1.0\.\lib\nifi-api-1.20.0.jar;C:\nifi\NIFI-1~1.0\.\lib\nifi-framework-api-1.20.0.jar;C:\nifi\NIFI-1~1.0\.\lib\nifi-nar-utils-1.20.0.jar;C:\nifi\NIFI-1~1.0\.\lib\nifi-properties-1.20.0.jar;C:\nifi\NIFI-1~1.0\.\lib\nifi-property-utils-1.20.0.jar;C:\nifi\NIFI-1~1.0\.\lib\nifi-runtime-1.20.0.jar;C:\nifi\NIFI-1~1.0\.\lib\nifi-server-api-1.20.0.jar;C:\nifi\NIFI-1~1.0\.\lib\nifi-stateless-api-1.20.0.jar;C:\nifi\NIFI-1~1.0\.\lib\nifi-stateless-bootstrap-1.20.0.jar;C:\nifi\NIFI-1~1.0\.\lib\slf4j-api-2.0.6.jar -Dorg.apache.jasper.compiler.disablejsr199=true -Xmx512m -Xms512m -Dcurator-log-only-first-connection-issue-as-error-level=true -Djavax.security.auth.useSubjectCredsOnly=true -Djava.security.egd=file:/dev/urandom -Dzookeeper.admin.enableServer=false -Dsun.net.http.allowRestrictedHeaders=true -Djava.net.preferIPv4Stack=true -Djava.awt.headless=true -Djava.protocol.handler.pkgs=sun.net.www.protocol -Dnifi.properties.file.path=C:\nifi\NIFI-1~1.0\.\conf\nifi.properties -Dnifi.bootstrap.listen.port=53237 -Dapp=NiFi -Dorg.apache.nifi.bootstrap.config.log.dir=C:\nifi\NIFI-1~1.0\bin\..\\logs org.apache.nifi.NiFi
2023-04-23 00:42:32,980 INFO [main] org.apache.nifi.bootstrap.Command Failed to determine Process ID from [java.lang.ProcessImpl]: java.lang.Process.pid()
2023-04-23 00:42:32,980 WARN [main] org.apache.nifi.bootstrap.Command Launched Apache NiFi but could not determined the Process ID
2023-04-23 00:42:33,465 WARN [NiFi Bootstrap Command Listener] org.apache.nifi.bootstrap.RunNiFi Failed to set permissions so that only the owner can read status file C:\nifi\NIFI-1~1.0\bin\..\run\nifi.status; this may allows others to have access to the key needed to communicate with NiFi. Permissions should be changed so that only the owner can read this file
2023-04-23 00:42:33,481 INFO [NiFi Bootstrap Command Listener] org.apache.nifi.bootstrap.RunNiFi Apache NiFi now running and listening for Bootstrap requests on port 53238
2023-04-23 00:43:19,290 ERROR [NiFi logging handler] org.apache.nifi.StdErr Failed to start web server: Failed to bind to /127.0.0.1:8443
2023-04-23 00:43:19,290 ERROR [NiFi logging handler] org.apache.nifi.StdErr Shutting down...
2023-04-23 00:43:21,285 INFO [main] org.apache.nifi.bootstrap.RunNiFi NiFi never started. Will not restart NiFi
2023-04-23 00:45:29,722 INFO [main] o.a.n.b.NotificationServiceManager Successfully loaded the following 0 services: []
2023-04-23 00:45:29,722 INFO [main] org.apache.nifi.bootstrap.RunNiFi Registered no Notification Services for Notification Type NIFI_STARTED
2023-04-23 00:45:29,722 INFO [main] org.apache.nifi.bootstrap.RunNiFi Registered no Notification Services for Notification Type NIFI_STOPPED
2023-04-23 00:45:29,722 INFO [main] org.apache.nifi.bootstrap.RunNiFi Registered no Notification Services for Notification Type NIFI_DIED
2023-04-23 00:45:31,756 INFO [main] org.apache.nifi.bootstrap.RunNiFi Runtime Java version: 1.8.0_202
2023-04-23 00:45:31,771 INFO [main] org.apache.nifi.bootstrap.Command Starting Apache NiFi...
2023-04-23 00:45:31,771 INFO [main] org.apache.nifi.bootstrap.Command Working Directory: C:\nifi\NIFI-1~1.0
2023-04-23 00:45:31,771 INFO [main] org.apache.nifi.bootstrap.Command Command: C:\java\JDK18~1.0_2\bin\java.exe -classpath C:\nifi\NIFI-1~1.0\.\conf;C:\nifi\NIFI-1~1.0\.\lib\javax.servlet-api-3.1.0.jar;C:\nifi\NIFI-1~1.0\.\lib\jcl-over-slf4j-2.0.6.jar;C:\nifi\NIFI-1~1.0\.\lib\jetty-schemas-5.2.jar;C:\nifi\NIFI-1~1.0\.\lib\jul-to-slf4j-2.0.6.jar;C:\nifi\NIFI-1~1.0\.\lib\log4j-over-slf4j-2.0.6.jar;C:\nifi\NIFI-1~1.0\.\lib\logback-classic-1.3.5.jar;C:\nifi\NIFI-1~1.0\.\lib\logback-core-1.3.5.jar;C:\nifi\NIFI-1~1.0\.\lib\nifi-api-1.20.0.jar;C:\nifi\NIFI-1~1.0\.\lib\nifi-framework-api-1.20.0.jar;C:\nifi\NIFI-1~1.0\.\lib\nifi-nar-utils-1.20.0.jar;C:\nifi\NIFI-1~1.0\.\lib\nifi-properties-1.20.0.jar;C:\nifi\NIFI-1~1.0\.\lib\nifi-property-utils-1.20.0.jar;C:\nifi\NIFI-1~1.0\.\lib\nifi-runtime-1.20.0.jar;C:\nifi\NIFI-1~1.0\.\lib\nifi-server-api-1.20.0.jar;C:\nifi\NIFI-1~1.0\.\lib\nifi-stateless-api-1.20.0.jar;C:\nifi\NIFI-1~1.0\.\lib\nifi-stateless-bootstrap-1.20.0.jar;C:\nifi\NIFI-1~1.0\.\lib\slf4j-api-2.0.6.jar -Dorg.apache.jasper.compiler.disablejsr199=true -Xmx512m -Xms512m -Dcurator-log-only-first-connection-issue-as-error-level=true -Djavax.security.auth.useSubjectCredsOnly=true -Djava.security.egd=file:/dev/urandom -Dzookeeper.admin.enableServer=false -Dsun.net.http.allowRestrictedHeaders=true -Djava.net.preferIPv4Stack=true -Djava.awt.headless=true -Djava.protocol.handler.pkgs=sun.net.www.protocol -Dnifi.properties.file.path=C:\nifi\NIFI-1~1.0\.\conf\nifi.properties -Dnifi.bootstrap.listen.port=53690 -Dapp=NiFi -Dorg.apache.nifi.bootstrap.config.log.dir=C:\nifi\NIFI-1~1.0\bin\..\\logs org.apache.nifi.NiFi
2023-04-23 00:45:31,787 INFO [main] org.apache.nifi.bootstrap.Command Failed to determine Process ID from [java.lang.ProcessImpl]: java.lang.Process.pid()
2023-04-23 00:45:31,787 WARN [main] org.apache.nifi.bootstrap.Command Launched Apache NiFi but could not determined the Process ID
2023-04-23 00:45:32,230 WARN [NiFi Bootstrap Command Listener] org.apache.nifi.bootstrap.RunNiFi Failed to set permissions so that only the owner can read status file C:\nifi\NIFI-1~1.0\bin\..\run\nifi.status; this may allows others to have access to the key needed to communicate with NiFi. Permissions should be changed so that only the owner can read this file
2023-04-23 00:45:32,230 INFO [NiFi Bootstrap Command Listener] org.apache.nifi.bootstrap.RunNiFi Apache NiFi now running and listening for Bootstrap requests on port 53691
2023-04-23 00:50:11,513 INFO [main] o.a.n.b.NotificationServiceManager Successfully loaded the following 0 services: []
2023-04-23 00:50:11,529 INFO [main] org.apache.nifi.bootstrap.RunNiFi Registered no Notification Services for Notification Type NIFI_STARTED
2023-04-23 00:50:11,529 INFO [main] org.apache.nifi.bootstrap.RunNiFi Registered no Notification Services for Notification Type NIFI_STOPPED
2023-04-23 00:50:11,529 INFO [main] org.apache.nifi.bootstrap.RunNiFi Registered no Notification Services for Notification Type NIFI_DIED
2023-04-23 00:50:13,576 INFO [main] org.apache.nifi.bootstrap.RunNiFi Runtime Java version: 1.8.0_202
2023-04-23 00:50:13,592 INFO [main] org.apache.nifi.bootstrap.Command Starting Apache NiFi...
2023-04-23 00:50:13,592 INFO [main] org.apache.nifi.bootstrap.Command Working Directory: C:\nifi\NIFI-1~1.0
2023-04-23 00:50:13,592 INFO [main] org.apache.nifi.bootstrap.Command Command: C:\java\JDK18~1.0_2\bin\java.exe -classpath C:\nifi\NIFI-1~1.0\.\conf;C:\nifi\NIFI-1~1.0\.\lib\javax.servlet-api-3.1.0.jar;C:\nifi\NIFI-1~1.0\.\lib\jcl-over-slf4j-2.0.6.jar;C:\nifi\NIFI-1~1.0\.\lib\jetty-schemas-5.2.jar;C:\nifi\NIFI-1~1.0\.\lib\jul-to-slf4j-2.0.6.jar;C:\nifi\NIFI-1~1.0\.\lib\log4j-over-slf4j-2.0.6.jar;C:\nifi\NIFI-1~1.0\.\lib\logback-classic-1.3.5.jar;C:\nifi\NIFI-1~1.0\.\lib\logback-core-1.3.5.jar;C:\nifi\NIFI-1~1.0\.\lib\nifi-api-1.20.0.jar;C:\nifi\NIFI-1~1.0\.\lib\nifi-framework-api-1.20.0.jar;C:\nifi\NIFI-1~1.0\.\lib\nifi-nar-utils-1.20.0.jar;C:\nifi\NIFI-1~1.0\.\lib\nifi-properties-1.20.0.jar;C:\nifi\NIFI-1~1.0\.\lib\nifi-property-utils-1.20.0.jar;C:\nifi\NIFI-1~1.0\.\lib\nifi-runtime-1.20.0.jar;C:\nifi\NIFI-1~1.0\.\lib\nifi-server-api-1.20.0.jar;C:\nifi\NIFI-1~1.0\.\lib\nifi-stateless-api-1.20.0.jar;C:\nifi\NIFI-1~1.0\.\lib\nifi-stateless-bootstrap-1.20.0.jar;C:\nifi\NIFI-1~1.0\.\lib\slf4j-api-2.0.6.jar -Dorg.apache.jasper.compiler.disablejsr199=true -Xmx512m -Xms512m -Dcurator-log-only-first-connection-issue-as-error-level=true -Djavax.security.auth.useSubjectCredsOnly=true -Djava.security.egd=file:/dev/urandom -Dzookeeper.admin.enableServer=false -Dsun.net.http.allowRestrictedHeaders=true -Djava.net.preferIPv4Stack=true -Djava.awt.headless=true -Djava.protocol.handler.pkgs=sun.net.www.protocol -Dnifi.properties.file.path=C:\nifi\NIFI-1~1.0\.\conf\nifi.properties -Dnifi.bootstrap.listen.port=54142 -Dapp=NiFi -Dorg.apache.nifi.bootstrap.config.log.dir=C:\nifi\NIFI-1~1.0\bin\..\\logs org.apache.nifi.NiFi
2023-04-23 00:50:13,608 INFO [main] org.apache.nifi.bootstrap.Command Failed to determine Process ID from [java.lang.ProcessImpl]: java.lang.Process.pid()
2023-04-23 00:50:13,608 WARN [main] org.apache.nifi.bootstrap.Command Launched Apache NiFi but could not determined the Process ID
2023-04-23 00:50:14,105 WARN [NiFi Bootstrap Command Listener] org.apache.nifi.bootstrap.RunNiFi Failed to set permissions so that only the owner can read status file C:\nifi\NIFI-1~1.0\bin\..\run\nifi.status; this may allows others to have access to the key needed to communicate with NiFi. Permissions should be changed so that only the owner can read this file
2023-04-23 00:50:14,105 INFO [NiFi Bootstrap Command Listener] org.apache.nifi.bootstrap.RunNiFi Apache NiFi now running and listening for Bootstrap requests on port 54143
2023-04-23 00:50:38,652 ERROR [NiFi logging handler] org.apache.nifi.StdErr Failed to start web server: Failed to bind to /127.0.0.1:8443
2023-04-23 00:50:38,653 ERROR [NiFi logging handler] org.apache.nifi.StdErr Shutting down...
2023-04-23 00:50:40,826 INFO [main] org.apache.nifi.bootstrap.RunNiFi NiFi never started. Will not restart NiFi
2023-04-23 00:55:55,977 INFO [main] o.a.n.b.NotificationServiceManager Successfully loaded the following 0 services: []
2023-04-23 00:55:55,982 INFO [main] org.apache.nifi.bootstrap.RunNiFi Registered no Notification Services for Notification Type NIFI_STARTED
2023-04-23 00:55:55,982 INFO [main] org.apache.nifi.bootstrap.RunNiFi Registered no Notification Services for Notification Type NIFI_STOPPED
2023-04-23 00:55:55,982 INFO [main] org.apache.nifi.bootstrap.RunNiFi Registered no Notification Services for Notification Type NIFI_DIED
2023-04-23 00:55:58,038 INFO [main] org.apache.nifi.bootstrap.RunNiFi Runtime Java version: 1.8.0_202
2023-04-23 00:55:58,050 INFO [main] org.apache.nifi.bootstrap.Command Starting Apache NiFi...
2023-04-23 00:55:58,054 INFO [main] org.apache.nifi.bootstrap.Command Working Directory: C:\nifi\NIFI-1~1.0
2023-04-23 00:55:58,054 INFO [main] org.apache.nifi.bootstrap.Command Command: C:\java\JDK18~1.0_2\bin\java.exe -classpath C:\nifi\NIFI-1~1.0\.\conf;C:\nifi\NIFI-1~1.0\.\lib\javax.servlet-api-3.1.0.jar;C:\nifi\NIFI-1~1.0\.\lib\jcl-over-slf4j-2.0.6.jar;C:\nifi\NIFI-1~1.0\.\lib\jetty-schemas-5.2.jar;C:\nifi\NIFI-1~1.0\.\lib\jul-to-slf4j-2.0.6.jar;C:\nifi\NIFI-1~1.0\.\lib\log4j-over-slf4j-2.0.6.jar;C:\nifi\NIFI-1~1.0\.\lib\logback-classic-1.3.5.jar;C:\nifi\NIFI-1~1.0\.\lib\logback-core-1.3.5.jar;C:\nifi\NIFI-1~1.0\.\lib\nifi-api-1.20.0.jar;C:\nifi\NIFI-1~1.0\.\lib\nifi-framework-api-1.20.0.jar;C:\nifi\NIFI-1~1.0\.\lib\nifi-nar-utils-1.20.0.jar;C:\nifi\NIFI-1~1.0\.\lib\nifi-properties-1.20.0.jar;C:\nifi\NIFI-1~1.0\.\lib\nifi-property-utils-1.20.0.jar;C:\nifi\NIFI-1~1.0\.\lib\nifi-runtime-1.20.0.jar;C:\nifi\NIFI-1~1.0\.\lib\nifi-server-api-1.20.0.jar;C:\nifi\NIFI-1~1.0\.\lib\nifi-stateless-api-1.20.0.jar;C:\nifi\NIFI-1~1.0\.\lib\nifi-stateless-bootstrap-1.20.0.jar;C:\nifi\NIFI-1~1.0\.\lib\slf4j-api-2.0.6.jar -Dorg.apache.jasper.compiler.disablejsr199=true -Xmx512m -Xms512m -Dcurator-log-only-first-connection-issue-as-error-level=true -Djavax.security.auth.useSubjectCredsOnly=true -Djava.security.egd=file:/dev/urandom -Dzookeeper.admin.enableServer=false -Dsun.net.http.allowRestrictedHeaders=true -Djava.net.preferIPv4Stack=true -Djava.awt.headless=true -Djava.protocol.handler.pkgs=sun.net.www.protocol -Dnifi.properties.file.path=C:\nifi\NIFI-1~1.0\.\conf\nifi.properties -Dnifi.bootstrap.listen.port=54325 -Dapp=NiFi -Dorg.apache.nifi.bootstrap.config.log.dir=C:\nifi\NIFI-1~1.0\bin\..\\logs org.apache.nifi.NiFi
2023-04-23 00:55:58,065 INFO [main] org.apache.nifi.bootstrap.Command Failed to determine Process ID from [java.lang.ProcessImpl]: java.lang.Process.pid()
2023-04-23 00:55:58,069 WARN [main] org.apache.nifi.bootstrap.Command Launched Apache NiFi but could not determined the Process ID
2023-04-23 00:55:58,706 WARN [NiFi Bootstrap Command Listener] org.apache.nifi.bootstrap.RunNiFi Failed to set permissions so that only the owner can read status file C:\nifi\NIFI-1~1.0\bin\..\run\nifi.status; this may allows others to have access to the key needed to communicate with NiFi. Permissions should be changed so that only the owner can read this file
2023-04-23 00:55:58,707 INFO [NiFi Bootstrap Command Listener] org.apache.nifi.bootstrap.RunNiFi Apache NiFi now running and listening for Bootstrap requests on port 54326
2023-04-23 00:56:21,091 ERROR [NiFi logging handler] org.apache.nifi.StdErr Failed to start web server: Failed to bind to /127.0.0.1:8443
2023-04-23 00:56:21,091 ERROR [NiFi logging handler] org.apache.nifi.StdErr Shutting down...
2023-04-23 00:56:22,257 INFO [main] org.apache.nifi.bootstrap.RunNiFi NiFi never started. Will not restart NiFi
2023-04-23 01:00:43,386 INFO [main] o.a.n.b.NotificationServiceManager Successfully loaded the following 0 services: []
2023-04-23 01:00:43,386 INFO [main] org.apache.nifi.bootstrap.RunNiFi Registered no Notification Services for Notification Type NIFI_STARTED
2023-04-23 01:00:43,402 INFO [main] org.apache.nifi.bootstrap.RunNiFi Registered no Notification Services for Notification Type NIFI_STOPPED
2023-04-23 01:00:43,402 INFO [main] org.apache.nifi.bootstrap.RunNiFi Registered no Notification Services for Notification Type NIFI_DIED
2023-04-23 01:00:45,439 INFO [main] org.apache.nifi.bootstrap.RunNiFi Runtime Java version: 1.8.0_202
2023-04-23 01:00:45,455 INFO [main] org.apache.nifi.bootstrap.Command Starting Apache NiFi...
2023-04-23 01:00:45,455 INFO [main] org.apache.nifi.bootstrap.Command Working Directory: C:\nifi\NIFI-1~1.0
2023-04-23 01:00:45,455 INFO [main] org.apache.nifi.bootstrap.Command Command: C:\java\JDK18~1.0_2\bin\java.exe -classpath C:\nifi\NIFI-1~1.0\.\conf;C:\nifi\NIFI-1~1.0\.\lib\javax.servlet-api-3.1.0.jar;C:\nifi\NIFI-1~1.0\.\lib\jcl-over-slf4j-2.0.6.jar;C:\nifi\NIFI-1~1.0\.\lib\jetty-schemas-5.2.jar;C:\nifi\NIFI-1~1.0\.\lib\jul-to-slf4j-2.0.6.jar;C:\nifi\NIFI-1~1.0\.\lib\log4j-over-slf4j-2.0.6.jar;C:\nifi\NIFI-1~1.0\.\lib\logback-classic-1.3.5.jar;C:\nifi\NIFI-1~1.0\.\lib\logback-core-1.3.5.jar;C:\nifi\NIFI-1~1.0\.\lib\nifi-api-1.20.0.jar;C:\nifi\NIFI-1~1.0\.\lib\nifi-framework-api-1.20.0.jar;C:\nifi\NIFI-1~1.0\.\lib\nifi-nar-utils-1.20.0.jar;C:\nifi\NIFI-1~1.0\.\lib\nifi-properties-1.20.0.jar;C:\nifi\NIFI-1~1.0\.\lib\nifi-property-utils-1.20.0.jar;C:\nifi\NIFI-1~1.0\.\lib\nifi-runtime-1.20.0.jar;C:\nifi\NIFI-1~1.0\.\lib\nifi-server-api-1.20.0.jar;C:\nifi\NIFI-1~1.0\.\lib\nifi-stateless-api-1.20.0.jar;C:\nifi\NIFI-1~1.0\.\lib\nifi-stateless-bootstrap-1.20.0.jar;C:\nifi\NIFI-1~1.0\.\lib\slf4j-api-2.0.6.jar -Dorg.apache.jasper.compiler.disablejsr199=true -Xmx512m -Xms512m -Dcurator-log-only-first-connection-issue-as-error-level=true -Djavax.security.auth.useSubjectCredsOnly=true -Djava.security.egd=file:/dev/urandom -Dzookeeper.admin.enableServer=false -Dsun.net.http.allowRestrictedHeaders=true -Djava.net.preferIPv4Stack=true -Djava.awt.headless=true -Djava.protocol.handler.pkgs=sun.net.www.protocol -Dnifi.properties.file.path=C:\nifi\NIFI-1~1.0\.\conf\nifi.properties -Dnifi.bootstrap.listen.port=54700 -Dapp=NiFi -Dorg.apache.nifi.bootstrap.config.log.dir=C:\nifi\NIFI-1~1.0\bin\..\\logs org.apache.nifi.NiFi
2023-04-23 01:00:45,455 INFO [main] org.apache.nifi.bootstrap.Command Failed to determine Process ID from [java.lang.ProcessImpl]: java.lang.Process.pid()
2023-04-23 01:00:45,455 WARN [main] org.apache.nifi.bootstrap.Command Launched Apache NiFi but could not determined the Process ID
2023-04-23 01:00:45,946 WARN [NiFi Bootstrap Command Listener] org.apache.nifi.bootstrap.RunNiFi Failed to set permissions so that only the owner can read status file C:\nifi\NIFI-1~1.0\bin\..\run\nifi.status; this may allows others to have access to the key needed to communicate with NiFi. Permissions should be changed so that only the owner can read this file
2023-04-23 01:00:45,946 INFO [NiFi Bootstrap Command Listener] org.apache.nifi.bootstrap.RunNiFi Apache NiFi now running and listening for Bootstrap requests on port 54701
2023-04-23 01:01:07,903 ERROR [NiFi logging handler] org.apache.nifi.StdErr Failed to start web server: Failed to bind to /127.0.0.1:8443
2023-04-23 01:01:07,903 ERROR [NiFi logging handler] org.apache.nifi.StdErr Shutting down...
2023-04-23 01:01:09,689 INFO [main] org.apache.nifi.bootstrap.RunNiFi NiFi never started. Will not restart NiFi
Any help on this would be much appreciated!
Created 04-24-2023 02:34 AM
Do you still get the error message
2023-04-23 00:43:19,290 ERROR [NiFi logging handler] org.apache.nifi.StdErr Failed to start web server: Failed to bind to /127.0.0.1:8443 2023-04-23 00:43:19,290 ERROR [NiFi logging handler] org.apache.nifi.StdErr Shutting down...
Your initial error was with 8443 but you are using 8080. Try using a different port, like 9091, just for testing purpose. If it works, your problem is with your PORT. If it does not work, you problem is with the host. Otherwise, I have no idea. I just downloaded NiFi and used the default configurations (like you have) and it worked directly.
Created 04-24-2023 02:34 AM
Do you still get the error message
2023-04-23 00:43:19,290 ERROR [NiFi logging handler] org.apache.nifi.StdErr Failed to start web server: Failed to bind to /127.0.0.1:8443 2023-04-23 00:43:19,290 ERROR [NiFi logging handler] org.apache.nifi.StdErr Shutting down...
Your initial error was with 8443 but you are using 8080. Try using a different port, like 9091, just for testing purpose. If it works, your problem is with your PORT. If it does not work, you problem is with the host. Otherwise, I have no idea. I just downloaded NiFi and used the default configurations (like you have) and it worked directly.
Created 04-24-2023 02:36 AM
@cotopaul I moved it back to port 8443 now and it suddenly worked so seems to really have been a port related issue. Thanks so much for your help!
Created 05-15-2023 12:04 AM
I also encountered these problems, check log RunNiFi Support for Java 8 is deprecated. Java 11 is the minimum recommended version My jdk is 8 so deprecated
Created 10-11-2023 01:03 PM
Hello!
I have the same problem, do you know how to set in NiFi, the version of the JDK to use?