Created 11-29-2024 08:23 AM
Hello ,
I use "nifi.cmd start" to start with NIFI.
Sometime it works and most of the times it doesn't.
In case where NIFI doesn't work I am getting following logs :
2024-11-29 21:06:39,642 INFO [main] o.a.n.w.StandardContentViewerApplication Starting StandardContentViewerApplication using Java 21.0.2 with PID 24600 (D:\WorkingInstaller\2.0\nifi-2.0.0-bin\nifi-2.0.0\work\jetty\nifi-standard-content-viewer-2.0.0.war\webapp\WEB-INF\classes started by Riyaz in D:\WorkingInstaller\2.0\nifi-2.0.0-bin\nifi-2.0.0)
2024-11-29 21:06:39,643 INFO [main] o.a.n.w.StandardContentViewerApplication No active profile set, falling back to 1 default profile: "default"
Any pointers would be appreciated.
Thanks,
Riyaz
Created 12-10-2024 09:43 AM
@Dahlgren
I conversation with a committer to the Apache NiFi product and he stated that this is a known issue they are aware of and investigating. There is no Apache NiFi jira that I can find specifically for this issue. . The best suggestion I can make at this point is maybe raising an Apache NiFi jira and if possible share thread dumps (3 dumps spaced 5 minutes apart). Looking at what threads are not progressing from one thread dump to the next may provide clues as to where specifically it is getting hung in the startup code. That should narrow down the scope of investigation and confirm that all experiencing this issue are getting hung in the same code area.
Of course including your NIFi 2.0.0-Mx specific version, OS version, and Java version is also important in that Apache Jira.
Please help our community thrive. If you found any of the suggestions/solutions provided helped you with solving your issue or answering your question, please take a moment to login and click "Accept as Solution" on one or more of them that helped.
Thank you,
Matt
Created 12-10-2024 11:16 AM
@Dahlgren
- Make sure you are using a Java 21 JDK and not a Java 21 JRE.
- Try excluding the NiFi directory to include all the repositories from your Virus scanning software and see if that helps resolve the startup issue.
Here is an Apache NiFi slack thread discussing this same issue:
https://apachenifi.slack.com/archives/C0L9UPWJZ/p1731963549046199
Please help our community thrive. If you found any of the suggestions/solutions provided helped you with solving your issue or answering your question, please take a moment to login and click "Accept as Solution" on one or more of them that helped.
Thank you,
Matt
Created on 12-10-2024 06:30 AM - edited 12-10-2024 06:33 AM
...double post
Created 12-09-2024 05:09 PM
@Dahlgren @mohdriyaz Has the reply helped resolve your issue? 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. If you are still experiencing the issue, can you provide the information @mattwho has requested? Thanks.
Regards,
Diana Torres,Created 12-19-2024 12:21 PM
@mohdriyaz @Dahlgren Has the reply helped resolve your issue? 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. Thanks.
Regards,
Diana Torres,Created on 01-03-2025 09:08 AM - edited 01-03-2025 09:17 AM
I found one solution ... ( not the correct way)
just remove nifi-standard-content-viewer-nar-2.0.0.nar from Lib folder and it will start working.
Only issue with this approach is that you cannot view the flow file contents in JSON or any other format. You can view it only in Hex format (default)