1

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

Rose
  • 195
  • 2
  • 3
  • 8

3 Answers3

2

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

Community
  • 1
  • 1
Jesvin Jose
  • 22,498
  • 32
  • 109
  • 202
  • +1 We used that method a little while ago on a WinXP VPC (hosted in Windows 7), worked fine - after some fiddling with the configs. – Jeroen Nov 09 '11 at 11:13
1

I used this tutorial and it works perfectly:

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

NullUserException
  • 83,810
  • 28
  • 209
  • 234
mherchel
  • 431
  • 4
  • 5
0

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

Teun D
  • 5,045
  • 1
  • 34
  • 44