I like to start Apache NiFi 2.x on a Windows 11 machine. While Nifi 1.28.1 starts and runs without problems (run-nifi.bat), NiFi 2.x does not want to start at all (nifi.cmd).
Latest version I've tried is 2.2.0.
What I have done:
What happens:
Where can I start troubleshooting?
I finally found the solution. I was browsing through the open issues and found this innocent looking one: https://issues.apache.org/jira/browse/NIFI-14107 In version 2 of NiFi they omitted the hint that an argument is missing. You need to start NiFi with:
nifi.cmd start
All valid parameters are: start, stop and restart. Even though it looks like the process hangs at the next 2 lines "org.apache.nifi.bootstrap.Command Bootstrap Process Running" it is already running.