How to run solr on a windows server so it starts up automatically?

Create a batch file with the command you need and run it on startup: some of these ideas might be of use If you ran solr inside tomcat, you could start tomcat as a windows service and set the service to start automatically.

Create a batch file with the command you need and run it on startup: some of these ideas might be of use. If you ran solr inside tomcat, you could start tomcat as a windows service and set the service to start automatically.

I am using IIS, not tomcat. – Blankman Mar 27 '10 at 22:05 1 Can you explain more about how you are deploying a . WAR file inside of IIS?

Or are you using IIS as a frontend to some other webcontainer? I think you can't deploy inside of IIS, that you need to have something like Jetty (which is what you are using with java -jar start. Jar) or Tomcat.

– Eric Pugh Mar 29 '10 at 10:55 Good point, Eric. IIS is not a servlet container: Blankman is probably simply using it as a frontend to jetty. In that case, my suggestion of using it with tomcat might make sense.

Otherwise, Jetty can be set up as a windows service as well: docs.codehaus. Org/display/JETTY/Win32Wrapper – Tomislav Nakic-Alfirevic Mar 29 '10 at 11:54.

The Scheduled Tasks feature in Windows Server will let you configure your command to be executed at startup, without the use of a batch file.

You can make jetty (which is a servlet container that ships with the latest build of solr) run as a windows service. See technologyenablingbusiness.blogspot.com/....

I've had good luck with the "Non-Sucking Service Manager" to do this exact thing. Very simple and lightweight: nssm.cc.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions