I must run Apache Solr in home windows as background Process. Now i'm beginning solr through terminal using command java -jar start.jar. The issue with this particular is stops once the terminal shuts..

Any Suggestion?


Solr with Tomcat.


For previous answer, it can be done simpler using services.msc to create Tomcat to begin on bootup.

My response to an earlier question. But to establishing multiple "cores", so please dont confuse yourself over this.
How to start and Stop SOLR from A user created windows service

I made use of this tutorial and delay pills work perfectly:

Setup Apache Solr on Windows with Jetty Running as a Service via NSSM

If you are using Tomcat while you application host, it is simple to run that like a Home windows Service. http://tomcat.apache.org/tomcat-6.0-doc/windows-service-howto.html