How to start Apache nifi 1.17.0? - apache-nifi

I've downloaded Apache nifi 1.17.0 and tried to start it by bin/run0nifi.bat, but it didn't work. When I click on it window open and disappear in the same time.
I'm working on windows 11 pro
What should i do?
I tried to start it by console and tried to start 1.19.1 and unfortunately it didn't help
I'm a beginner so I might not have done some obvious things
Thx for help)

You need to do two things first of all:
you need to make sure that you have installed JAVA on your machine and set the PATH for the JDK in the Environment Variables (JAVA_HOME).
If JAVA is configured correctly you need to open CMD and go within the NiFi Folder. From there, you should execute the run-nifi.bat manually and see if anythings gets written in the CMD window.
Besides that, you can go within the logs folder and see if any logs are being generated. Most likely you will find something in the nifi-app.log.

Related

IntelliJ Won't open (even after re-install)

I recently wanted to try to again update my IntelliJ IDEA because I had problems before (I still have problems hence this post). I've tried re-installing, fiddling with VM options, all what the internet says, but nothing provides any answers.
It starts when I click the .exe file of IntelliJ. It will briefly pop up in the task manager, use about 20% CPU for about 8 seconds and then disappear. It doesn't open later also. I've also tried to start it from the CLI, but that gives me this:
cli-output
I currently have IntelliJ 2019 since it's the only version that works, all the other versions I tried have the same problem. Does anyone know how I can resolve this (I'm running on Windows 10)?
I had the same issue on my windows 10. To fix it go to %USERPROFILE%\AppData\Roaming\JetBrains\IntelliJIdea2021.2\ folder and try to remove idea64.exe.jdk file, then run IntelliJ again.
P.s. I'm using JetBrains Toolbox, so all files that need to run IntelliJ will be placed into %USERPROFILE%\AppData\Roaming\JetBrains automatically after installation.

Kibana throws an error upon launch through cmd

I've just installed Elasticsearch and Kibana's latest versions (same versions) on Windows. When I launch Elasticsearch it starts just as normal and I can check through the browser that it's on the required port. But when I launch Kibana it gives me the error "\config was unexpected". I checked the configurations and made sure that Kibana knew where to connect to ES and tried re-installs but nothing changed. When I tried it on an Ubuntu virtual machine the two worked normally. I don't know where the issue is. Hope someone can help.
Thanks.
I solved the problem. I'll just leave this for future reference:
Some people solved this by downgrading their Java: I did the same thing going from Java 15 to Java 8 but it didn't solve the issue for me. But still something to try.
What solved this for me was simply to change the path of the Kibana directory. Apparently Windows had some trouble reading its own default name for the parent directory. Moving the kibana folder to a simpler directory (like C:) and even renaming the folder to simply "kibana" instead of including the version etc. made it run as normal.

ApiGen Windows Netbeans

I configured ApiGen on Windows and am trying generate documentation from NetBeans. Everything runs well after many errors, however I have a mistake, which is my destination is my desk from my pc. How can I change this? Whenever I try to generate documentation it never asks me for the destination again.
I tried uninstall NetBeans I do all again, but nothing.
My error is the destination of my documentation.
Current NetBeans ApiGen plugin doesn't work with the new ApiGen v4. If you need to generate documentation using ApiGen, you can use command line to get it working, or use other tools like phpDoc which is working fine from the NetBeans IDE.
You need to right click on the project, select Properties and look for documentation setting and change the folder there. Uninstalling NetBeans won't make any difference as this setting is stored in project as such.
To get an idea, have a look at https://blogs.oracle.com/netbeansphp/entry/apigen_support_added, on the 2nd picture. It might look a bit different now, but you should get the idea.

How do I automatically clean up my $JBOSS_HOME/standalone/tmp directory?

I’m using JBoss 7.1.3.Final on my dev machine, a Mac 10.9.1. I’m trying to get my /tmp/vfs directory to clean itself up (with a max caching time of a day), so I added this line to my $JBOSS_HOME/bin/standalone.conf file …
JAVA_OPTS="$JAVA_OPTS -Djboss.vfs.cache=org.jboss.virtual.plugins.cache.IterableTimedVFSCache -Djboss.vfs.cache.TimedPolicyCaching.lifetime=86400"
I confirmed that the system properties are getting loaded when I start my server. However, after restart, I still see directories in the $JBOSS_HOME/standalone/tmp/vfs that are more than a day old. Is something about the above wrong or is there another parameter I need to add to get that directory to clean out?
You do not need to set VFS system properties.
Also your properties come from VFS2 that was used AS5/6 times.
AS7+ has newer/different implementation of VFS and handles this things differently.
There ware few bugs in 7.1.x in this area and ware fixed in WildFly 8 Beta1.
See jira for more info about this.
I would recommend you upgrading to WildFly 8.

Connecting the PyDev debugger to a remote computer running a different OS

We develop software, which constantly needs to be debugged on both Linux and Windows. The way I would like to do this is to have an option in Eclipse (PyDev) saying "Debug this application on the remote Linux server". I then want the option to execute the code line-by-line.
Does such a feature exist in Eclipse? If it does not exist in Eclipse, what is the recommended approach to do such a thing? I have thought about installing Eclipse also on the Linux server, but then I have the extra work of configuring and maintaining several eclipse setups.
Have you read: http://pydev.org/manual_adv_remote_debugger.html ?
One thing you cannot escape from right now is having the sources for the debugger in the platform you want to run... (although you don't need eclipse itself there, at least you need the contents of org.python.pydev.debug/pysrc there, so, maybe you can create your script which will copy those from a 'central' location you keep updated, or if you have a shared folder, just add that network folder to your pythonpath).

Resources