I would like to run Apache Solr in windows as background Process. Now I am starting solr through terminal using command java -jar start.jar. The problem with this is this stops when the terminal closes..
Any Suggestion?
Thanks
I would like to run Apache Solr in windows as background Process. Now I am starting solr through terminal using command java -jar start.jar. The problem with this is this stops when the terminal closes..
Any Suggestion?
Thanks
Solr with Tomcat.
http://wiki.apache.org/solr/SolrTomcat
As for previous answer, you can do it easier using services.msc to set Tomcat to start on bootup.
My answer to a previous question. But this is for setting up multiple "cores", so please dont confuse yourself over this.
How to start and Stop SOLR from A user created windows service
I used this tutorial and it works perfectly:
Setup Apache Solr on Windows with Jetty Running as a Service via NSSM
If you use Tomcat as you application host, you can easily run that as a Windows Service. http://tomcat.apache.org/tomcat-6.0-doc/windows-service-howto.html