- Subscribe to RSS Feed
- Mark Question as New
- Mark Question as Read
- Float this Question for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
Apache nifi registry in windows 10
- Labels:
-
Apache NiFi
Created 12-10-2020 05:43 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi All:
I'm new to Apache NiFi. I am able to download and have the apache nifi working perfectly but when it comes to apache NiFi registry, I am getting an error preventing me to start the registry.
I ran the batch file after adjusting the port for NiFi registry.
run-nifi-registry.bat
it gave me an error. I'm guessing some classpath setup issue... not sure
C:\Apache nifi-1.12.1\nifi-registry-0.8.0\bin>run-nifi-registry.bat
cmd.exe /C "C:\Program Files\AdoptOpenJDK\jdk-8.0.242.08-hotspot\bin\java.exe" -cp C:\Apache nifi-1.12.1\nifi-registry-0.8.0\bin\..\conf;C:\Apache nifi-1.12.1\nifi-registry-0.8.0\bin\..\lib\*;C:\Apache nifi-1.12.1\nifi-registry-0.8.0\bin\..\lib\shared\*;C:\Apache nifi-1.12.1\nifi-registry-0.8.0\bin\..\lib\bootstrap\* -Xms512m -Xmx1024m -Dorg.apache.nifi.registry.bootstrap.config.file=C:\Apache nifi-1.12.1\nifi-registry-0.8.0\bin\..\conf\bootstrap.conf org.apache.nifi.registry.NiFiRegistry run
Error: Could not find or load main class nifi-1.12.1\nifi-registry-0.8.0\bin\..\conf;C:\Apache
Created 06-16-2021 05:17 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@ubet
You can run NiFi-Registry on Windows.
The exception you are see is related to being unable to load a class that is included with NiFi-Registry.
Maybe your download is no good. Did you try downloading the NiFi-Registry package again?
Make sure you purge the work directory that was created by NiFi-Registry when the service attempted to start. Make sure you did not run out of disk space.
You'll also want the product installation directory path and the directory path for the java JDK being used to NOT have spaces in the directory names.
Use "Apache-nifi-1.12.1" instead of "Apache nifi-1.12.1".
Reinstall your JDK outside of "Program Files".
The above changes and checks should get you up and running successfully.
If you found this addressed yoru query, please take a moment to login and click "Accept" on this solution.
Thank you,
Matt
Created 06-13-2021 06:27 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
A note: official nifi registry site do not list window as supported OS
Created 06-16-2021 05:17 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@ubet
You can run NiFi-Registry on Windows.
The exception you are see is related to being unable to load a class that is included with NiFi-Registry.
Maybe your download is no good. Did you try downloading the NiFi-Registry package again?
Make sure you purge the work directory that was created by NiFi-Registry when the service attempted to start. Make sure you did not run out of disk space.
You'll also want the product installation directory path and the directory path for the java JDK being used to NOT have spaces in the directory names.
Use "Apache-nifi-1.12.1" instead of "Apache nifi-1.12.1".
Reinstall your JDK outside of "Program Files".
The above changes and checks should get you up and running successfully.
If you found this addressed yoru query, please take a moment to login and click "Accept" on this solution.
Thank you,
Matt
Created 06-21-2021 07:02 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@ubet has your issue been resolved? If so, please mark the appropriate reply as the solution, as it will make it easier for others to find the answer in the future.
Cy Jervis, Manager, Community Program
Was your question answered? Make sure to mark the answer as the accepted solution.
If you find a reply useful, say thanks by clicking on the thumbs up button.
Created on 06-21-2021 11:03 AM - edited 06-21-2021 11:06 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@ubetThe path to java.exe cannot have a blank space.
