Hi Timothy, I don't really have much of a good recommendation. Basically I've written a batch file which will call the solr.cmd with all the setting like heap size and enable clustering, and I point the path in the NSSM to this batch file. If I just point it directly to solr.cmd, I not sure if these can be configured at NSSM side?
Regards, Edwin On 26 May 2015 at 23:56, Timothy Potter <thelabd...@gmail.com> wrote: > Hi Edwin, > > Are there changes you recommend to bin/solr.cmd to make it easier to > work with NSSM? If so, please file a JIRA as I'd like to help make > that process easier. > > Thanks. > Tim > > On Mon, May 25, 2015 at 3:34 AM, Zheng Lin Edwin Yeo > <edwinye...@gmail.com> wrote: > > I've managed to get the Solr started as a Windows service after > > re-configuring the startup script, as I've previously missed out some of > > the custom configurations there. > > > > However, I still couldn't get the zookeeper to start the same way too. > Are > > we able to use NSSM to start up zookeeper as a Microsoft Windows service > > too? > > > > > > Regards, > > Edwin > > > > > > > > On 25 May 2015 at 12:16, Zheng Lin Edwin Yeo <edwinye...@gmail.com> > wrote: > > > >> Hi, > >> > >> Has anyone tried to run Solr 5.1.0 as a Microsoft Windows service? > >> > >> i've tried to follow the steps from this website > >> http://www.norconex.com/how-to-run-solr5-as-a-service-on-windows/, > which > >> uses NSSM. > >> > >> However, when I tried to start the service from the Component Services > in > >> the Windows Control Panel Administrative tools, I get the following > message: > >> Windows could not start the Solr5 service on Local Computer. The service > >> did not return an error. This could be an internal Windows error or an > >> internal service error. > >> > >> Is this the correct way to set it up, or is there other methods? > >> > >> > >> Regards, > >> Edwin > >> > >> >