Reputation: 195
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
Upvotes: 1
Views: 1527
Reputation: 491
I used this tutorial and it works perfectly:
Setup Apache Solr on Windows with Jetty Running as a Service via NSSM
Upvotes: 1
Reputation: 23098
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
Upvotes: 2
Reputation: 5099
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
Upvotes: 0