On Windows Server 2012 R2:
I'd like to run Solr as a Windows Service. But if I do so (via NSSM 2.24), the service restarts every few seconds and the Solr cores are not found (the backend says: No cores available).
This is my NSSM configuration:
When I start Solr with the common command
solr start -p 8991 -m 1g
Solr works as expected.
I tried to modify the Path to D:\SOLR\bc-solr5-dev\bin\solr
, but then, the service won't start.
The same behavior can be observed by using Solr 6.
What am I doing wrong?