1

I asked this question before, but I think I got answers that were cron job type answers.

I want the solr service to startup if I reboot my computer, and I also want it to run by itself instead of me opening up cmd.exe and running it manually, and then having to close my terminal connection (not log off as that will close it).

What options do I have?

I am on windows server 2008, IIS7 running a asp.net application that uses solr.

1 Answer 1

1

Creating a service: http://www.tacktech.com/display.cfm?ttid=197

Basically this should allow you to create a service, point it at the exe and then use services.msc to control it like a normal service. I.e. Automatic start and so on.

What command do you currently run to start solr?

2
  • java -jar start.jar using cmd.exe
    – Blankman
    Mar 27, 2010 at 22:57
  • Put those commands in .bat file and then you might also need to convert the .bat file to an exe with this utilty: Bat2Exe computerhope.com/dutil.htm Mar 28, 2010 at 0:20

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .