I'm trying to install Solr service as described here. I use NSSM prelease build 2.2.4-101 to 'avoid an issue with services failing to start', but after installation the service cannot start anyway:
Windows logs say the following:
Started C:\solr\bin\solr.cmd start -f -p 8983 for service solr in C:\solr\bin.
Program C:\solr\bin\solr.cmd for service solr exited with return code 0.
Killing process tree of process 24764 for service solr with exit code 0
Killing PID 24764 in process tree of PID 24764 because service solr is stopping.
Service solr action for exit code 0 is Restart. Attempting to restart C:\solr\bin\solr.cmd.
Service solr ran for less than 1500 milliseconds. Restart will be delayed by 32000 milliseconds.
[Solr 5.4.1]
Update:
I managed to install it on Win10, but failed to install it on Win 2016 Server... All the tools and installation steps are the same. Any idea what is wrong?