Re: run on reboot on windows
There are a few programs that wrap any java app as a service. http://en.wikipedia.org/wiki/Service_wrapper On Mon, May 3, 2010 at 6:58 AM, Dave Searle wrote: > I don't think jetty can be installed as a service. You'd need to > create a bat file and put that in the win startup registry. > > Sent from my iPhone > > On 3 May 2010, at 11:26, "Frederico Azeiteiro" > wrote: > >> Hi Ahmed, >> >> I need to achieve that also. Do you manage to install it as service >> and >> start solr with Jetty? >> After installing and start jetty as service how do you start solr? >> >> Thanks, >> Frederico >> >> -Original Message- >> From: S Ahmed [mailto:sahmed1...@gmail.com] >> Sent: segunda-feira, 3 de Maio de 2010 01:05 >> To: solr-user@lucene.apache.org >> Subject: Re: run on reboot on windows >> >> Thanks, for some reason I was looking for a solution outside of >> jetty/tomcat, when that was the obvious way to get things restarted :) >> >> On Sun, May 2, 2010 at 7:53 PM, Dave Searle >> wrote: >> >>> Tomcat is installed as a service on windows. Just go into service >>> control panel and set startup type to automatic >>> >>> Sent from my iPhone >>> >>> On 3 May 2010, at 00:43, "S Ahmed" wrote: >>> >>>> its not tomcat/jetty that's the issue, its how to get things to re- >>>> start on >>>> a windows server (tomcat and jetty don't run as native windows >>>> services) so >>>> I am a little confused..thanks. >>>> >>>> On Sun, May 2, 2010 at 7:37 PM, caman >>>> wrote: >>>> >>>>> >>>>> Ahmed, >>>>> >>>>> >>>>> >>>>> Best is if you take a look at the documentation of jetty or tomcat. >>>>> SOLR >>>>> can >>>>> run on any web container, it's up to you how you configure your >> web >>>>> container to run >>>>> >>>>> >>>>> >>>>> Thanks >>>>> >>>>> Aboxy >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> From: S Ahmed [via Lucene] >>>>> >> [mailto:ml-node+772174-2097041460-124...@n3.nabble.com> %2B772174- >> 2097041460-124...@n3.nabble.com> >>> >>>> %2b772174-2097041460-124...@n3.nabble.com> >>>>> ] >>>>> Sent: Sunday, May 02, 2010 4:33 PM >>>>> To: caman >>>>> Subject: Re: run on reboot on windows >>>>> >>>>> >>>>> >>>>> By default it uses Jetty, so your saying Tomcat on windows server >>>>> 2008/ >>>>> IIS7 >>>>> >>>>> runs as a native windows service? >>>>> >>>>> On Sun, May 2, 2010 at 12:46 AM, Dave Searle <[hidden email]>wrote: >>>>> >>>>> >>>>>> Set tomcat6 service to auto start on boot (if running tomat) >>>>>> >>>>>> Sent from my iPhone >>>>>> >>>>>> On 2 May 2010, at 02:31, "S Ahmed" <[hidden email]> wrote: >>>>>> >>>>>>> Hi, >>>>>>> >>>>>>> I'm trying to get Solr to run on windows, such that if it reboots >>>>>>> the Solr >>>>>>> service will be running. >>>>>>> >>>>>>> How can I do this? >>>>>> >>>>> >>>>> >>>>> >>>>> _ >>>>> >>>>> View message @ >>>>> >>>>> >>> >> http://lucene.472066.n3.nabble.com/run-on-reboot-on-windows-tp770892p772 >> 174 >>>>> . >>>>> html >>>>> To start a new topic under Solr - User, email >>>>> >> ml-node+472068-464289649-124...@n3.nabble.com> %2B472068-464289649 >> -124...@n3.nabble.com> >>> >>>> %2b472068-464289649-124...@n3.nabble.com> >>>>> To unsubscribe from Solr - User, click >>>>> < (link removed) >>>>> GZvcnRoZW90aGVyc3R1ZmZAZ21haWwuY29tfDQ3MjA2OHwtOTM0OTI1NzEx> here. >>>>> >>>>> >>>>> >>>>> >>>>> -- >>>>> View this message in context: >>>>> >>> >> http://lucene.472066.n3.nabble.com/run-on-reboot-on-windows-tp770892p772 >> 178.html >>>>> Sent from the Solr - User mailing list archive at Nabble.com. >>>>> >>> > -- Lance Norskog goks...@gmail.com
Re: run on reboot on windows
I don't think jetty can be installed as a service. You'd need to create a bat file and put that in the win startup registry. Sent from my iPhone On 3 May 2010, at 11:26, "Frederico Azeiteiro" wrote: > Hi Ahmed, > > I need to achieve that also. Do you manage to install it as service > and > start solr with Jetty? > After installing and start jetty as service how do you start solr? > > Thanks, > Frederico > > -Original Message- > From: S Ahmed [mailto:sahmed1...@gmail.com] > Sent: segunda-feira, 3 de Maio de 2010 01:05 > To: solr-user@lucene.apache.org > Subject: Re: run on reboot on windows > > Thanks, for some reason I was looking for a solution outside of > jetty/tomcat, when that was the obvious way to get things restarted :) > > On Sun, May 2, 2010 at 7:53 PM, Dave Searle > wrote: > >> Tomcat is installed as a service on windows. Just go into service >> control panel and set startup type to automatic >> >> Sent from my iPhone >> >> On 3 May 2010, at 00:43, "S Ahmed" wrote: >> >>> its not tomcat/jetty that's the issue, its how to get things to re- >>> start on >>> a windows server (tomcat and jetty don't run as native windows >>> services) so >>> I am a little confused..thanks. >>> >>> On Sun, May 2, 2010 at 7:37 PM, caman >>> wrote: >>> >>>> >>>> Ahmed, >>>> >>>> >>>> >>>> Best is if you take a look at the documentation of jetty or tomcat. >>>> SOLR >>>> can >>>> run on any web container, it's up to you how you configure your > web >>>> container to run >>>> >>>> >>>> >>>> Thanks >>>> >>>> Aboxy >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> From: S Ahmed [via Lucene] >>>> > [mailto:ml-node+772174-2097041460-124...@n3.nabble.com %2B772174- > 2097041460-124...@n3.nabble.com> >> >>> %2b772174-2097041460-124...@n3.nabble.com> >>>> ] >>>> Sent: Sunday, May 02, 2010 4:33 PM >>>> To: caman >>>> Subject: Re: run on reboot on windows >>>> >>>> >>>> >>>> By default it uses Jetty, so your saying Tomcat on windows server >>>> 2008/ >>>> IIS7 >>>> >>>> runs as a native windows service? >>>> >>>> On Sun, May 2, 2010 at 12:46 AM, Dave Searle <[hidden email]>wrote: >>>> >>>> >>>>> Set tomcat6 service to auto start on boot (if running tomat) >>>>> >>>>> Sent from my iPhone >>>>> >>>>> On 2 May 2010, at 02:31, "S Ahmed" <[hidden email]> wrote: >>>>> >>>>>> Hi, >>>>>> >>>>>> I'm trying to get Solr to run on windows, such that if it reboots >>>>>> the Solr >>>>>> service will be running. >>>>>> >>>>>> How can I do this? >>>>> >>>> >>>> >>>> >>>> _ >>>> >>>> View message @ >>>> >>>> >> > http://lucene.472066.n3.nabble.com/run-on-reboot-on-windows-tp770892p772 > 174 >>>> . >>>> html >>>> To start a new topic under Solr - User, email >>>> > ml-node+472068-464289649-124...@n3.nabble.com %2B472068-464289649 > -124...@n3.nabble.com> >> >>> %2b472068-464289649-124...@n3.nabble.com> >>>> To unsubscribe from Solr - User, click >>>> < (link removed) >>>> GZvcnRoZW90aGVyc3R1ZmZAZ21haWwuY29tfDQ3MjA2OHwtOTM0OTI1NzEx> here. >>>> >>>> >>>> >>>> >>>> -- >>>> View this message in context: >>>> >> > http://lucene.472066.n3.nabble.com/run-on-reboot-on-windows-tp770892p772 > 178.html >>>> Sent from the Solr - User mailing list archive at Nabble.com. >>>> >>
RE: run on reboot on windows
Hi Ahmed, I need to achieve that also. Do you manage to install it as service and start solr with Jetty? After installing and start jetty as service how do you start solr? Thanks, Frederico -Original Message- From: S Ahmed [mailto:sahmed1...@gmail.com] Sent: segunda-feira, 3 de Maio de 2010 01:05 To: solr-user@lucene.apache.org Subject: Re: run on reboot on windows Thanks, for some reason I was looking for a solution outside of jetty/tomcat, when that was the obvious way to get things restarted :) On Sun, May 2, 2010 at 7:53 PM, Dave Searle wrote: > Tomcat is installed as a service on windows. Just go into service > control panel and set startup type to automatic > > Sent from my iPhone > > On 3 May 2010, at 00:43, "S Ahmed" wrote: > > > its not tomcat/jetty that's the issue, its how to get things to re- > > start on > > a windows server (tomcat and jetty don't run as native windows > > services) so > > I am a little confused..thanks. > > > > On Sun, May 2, 2010 at 7:37 PM, caman > > wrote: > > > >> > >> Ahmed, > >> > >> > >> > >> Best is if you take a look at the documentation of jetty or tomcat. > >> SOLR > >> can > >> run on any web container, it's up to you how you configure your web > >> container to run > >> > >> > >> > >> Thanks > >> > >> Aboxy > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> From: S Ahmed [via Lucene] > >> [mailto:ml-node+772174-2097041460-124...@n3.nabble.com > >> %2b772174-2097041460-124...@n3.nabble.com> > >> ] > >> Sent: Sunday, May 02, 2010 4:33 PM > >> To: caman > >> Subject: Re: run on reboot on windows > >> > >> > >> > >> By default it uses Jetty, so your saying Tomcat on windows server > >> 2008/ > >> IIS7 > >> > >> runs as a native windows service? > >> > >> On Sun, May 2, 2010 at 12:46 AM, Dave Searle <[hidden email]>wrote: > >> > >> > >>> Set tomcat6 service to auto start on boot (if running tomat) > >>> > >>> Sent from my iPhone > >>> > >>> On 2 May 2010, at 02:31, "S Ahmed" <[hidden email]> wrote: > >>> > >>>> Hi, > >>>> > >>>> I'm trying to get Solr to run on windows, such that if it reboots > >>>> the Solr > >>>> service will be running. > >>>> > >>>> How can I do this? > >>> > >> > >> > >> > >> _ > >> > >> View message @ > >> > >> > http://lucene.472066.n3.nabble.com/run-on-reboot-on-windows-tp770892p772 174 > >> . > >> html > >> To start a new topic under Solr - User, email > >> ml-node+472068-464289649-124...@n3.nabble.com > >> %2b472068-464289649-124...@n3.nabble.com> > >> To unsubscribe from Solr - User, click > >> < (link removed) > >> GZvcnRoZW90aGVyc3R1ZmZAZ21haWwuY29tfDQ3MjA2OHwtOTM0OTI1NzEx> here. > >> > >> > >> > >> > >> -- > >> View this message in context: > >> > http://lucene.472066.n3.nabble.com/run-on-reboot-on-windows-tp770892p772 178.html > >> Sent from the Solr - User mailing list archive at Nabble.com. > >> >
Re: run on reboot on windows
Thanks, for some reason I was looking for a solution outside of jetty/tomcat, when that was the obvious way to get things restarted :) On Sun, May 2, 2010 at 7:53 PM, Dave Searle wrote: > Tomcat is installed as a service on windows. Just go into service > control panel and set startup type to automatic > > Sent from my iPhone > > On 3 May 2010, at 00:43, "S Ahmed" wrote: > > > its not tomcat/jetty that's the issue, its how to get things to re- > > start on > > a windows server (tomcat and jetty don't run as native windows > > services) so > > I am a little confused..thanks. > > > > On Sun, May 2, 2010 at 7:37 PM, caman > > wrote: > > > >> > >> Ahmed, > >> > >> > >> > >> Best is if you take a look at the documentation of jetty or tomcat. > >> SOLR > >> can > >> run on any web container, it's up to you how you configure your web > >> container to run > >> > >> > >> > >> Thanks > >> > >> Aboxy > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> From: S Ahmed [via Lucene] > >> [mailto:ml-node+772174-2097041460-124...@n3.nabble.com > >> %2b772174-2097041460-124...@n3.nabble.com> > >> ] > >> Sent: Sunday, May 02, 2010 4:33 PM > >> To: caman > >> Subject: Re: run on reboot on windows > >> > >> > >> > >> By default it uses Jetty, so your saying Tomcat on windows server > >> 2008/ > >> IIS7 > >> > >> runs as a native windows service? > >> > >> On Sun, May 2, 2010 at 12:46 AM, Dave Searle <[hidden email]>wrote: > >> > >> > >>> Set tomcat6 service to auto start on boot (if running tomat) > >>> > >>> Sent from my iPhone > >>> > >>> On 2 May 2010, at 02:31, "S Ahmed" <[hidden email]> wrote: > >>> > >>>> Hi, > >>>> > >>>> I'm trying to get Solr to run on windows, such that if it reboots > >>>> the Solr > >>>> service will be running. > >>>> > >>>> How can I do this? > >>> > >> > >> > >> > >> _ > >> > >> View message @ > >> > >> > http://lucene.472066.n3.nabble.com/run-on-reboot-on-windows-tp770892p772174 > >> . > >> html > >> To start a new topic under Solr - User, email > >> ml-node+472068-464289649-124...@n3.nabble.com > >> %2b472068-464289649-124...@n3.nabble.com> > >> To unsubscribe from Solr - User, click > >> < (link removed) > >> GZvcnRoZW90aGVyc3R1ZmZAZ21haWwuY29tfDQ3MjA2OHwtOTM0OTI1NzEx> here. > >> > >> > >> > >> > >> -- > >> View this message in context: > >> > http://lucene.472066.n3.nabble.com/run-on-reboot-on-windows-tp770892p772178.html > >> Sent from the Solr - User mailing list archive at Nabble.com. > >> >
Re: run on reboot on windows
Tomcat is installed as a service on windows. Just go into service control panel and set startup type to automatic Sent from my iPhone On 3 May 2010, at 00:43, "S Ahmed" wrote: > its not tomcat/jetty that's the issue, its how to get things to re- > start on > a windows server (tomcat and jetty don't run as native windows > services) so > I am a little confused..thanks. > > On Sun, May 2, 2010 at 7:37 PM, caman > wrote: > >> >> Ahmed, >> >> >> >> Best is if you take a look at the documentation of jetty or tomcat. >> SOLR >> can >> run on any web container, it's up to you how you configure your web >> container to run >> >> >> >> Thanks >> >> Aboxy >> >> >> >> >> >> >> >> >> >> >> >> From: S Ahmed [via Lucene] >> [mailto:ml-node+772174-2097041460-124...@n3.nabble.com> %2b772174-2097041460-124...@n3.nabble.com> >> ] >> Sent: Sunday, May 02, 2010 4:33 PM >> To: caman >> Subject: Re: run on reboot on windows >> >> >> >> By default it uses Jetty, so your saying Tomcat on windows server >> 2008/ >> IIS7 >> >> runs as a native windows service? >> >> On Sun, May 2, 2010 at 12:46 AM, Dave Searle <[hidden email]>wrote: >> >> >>> Set tomcat6 service to auto start on boot (if running tomat) >>> >>> Sent from my iPhone >>> >>> On 2 May 2010, at 02:31, "S Ahmed" <[hidden email]> wrote: >>> >>>> Hi, >>>> >>>> I'm trying to get Solr to run on windows, such that if it reboots >>>> the Solr >>>> service will be running. >>>> >>>> How can I do this? >>> >> >> >> >> _ >> >> View message @ >> >> http://lucene.472066.n3.nabble.com/run-on-reboot-on-windows-tp770892p772174 >> . >> html >> To start a new topic under Solr - User, email >> ml-node+472068-464289649-124...@n3.nabble.com> %2b472068-464289649-124...@n3.nabble.com> >> To unsubscribe from Solr - User, click >> < (link removed) >> GZvcnRoZW90aGVyc3R1ZmZAZ21haWwuY29tfDQ3MjA2OHwtOTM0OTI1NzEx> here. >> >> >> >> >> -- >> View this message in context: >> http://lucene.472066.n3.nabble.com/run-on-reboot-on-windows-tp770892p772178.html >> Sent from the Solr - User mailing list archive at Nabble.com. >>
RE: run on reboot on windows
Please take a look at this for tomcat http://tomcat.apache.org/tomcat-6.0-doc/setup.html#Windows and for jetty : http://docs.codehaus.org/display/JETTY/Win32Wrapper Hope this helps. From: S Ahmed [via Lucene] [mailto:ml-node+772182-2115387142-124...@n3.nabble.com] Sent: Sunday, May 02, 2010 4:44 PM To: caman Subject: Re: run on reboot on windows its not tomcat/jetty that's the issue, its how to get things to re-start on a windows server (tomcat and jetty don't run as native windows services) so I am a little confused..thanks. On Sun, May 2, 2010 at 7:37 PM, caman <[hidden email]>wrote: > > Ahmed, > > > > Best is if you take a look at the documentation of jetty or tomcat. SOLR > can > run on any web container, it's up to you how you configure your web > container to run > > > > Thanks > > Aboxy > > > > > > > > > > > > From: S Ahmed [via Lucene] > [mailto:[hidden email]<[hidden email]> > ] > Sent: Sunday, May 02, 2010 4:33 PM > To: caman > Subject: Re: run on reboot on windows > > > > By default it uses Jetty, so your saying Tomcat on windows server 2008/ > IIS7 > > runs as a native windows service? > > On Sun, May 2, 2010 at 12:46 AM, Dave Searle <[hidden email]>wrote: > > > > Set tomcat6 service to auto start on boot (if running tomat) > > > > Sent from my iPhone > > > > On 2 May 2010, at 02:31, "S Ahmed" <[hidden email]> wrote: > > > > > Hi, > > > > > > I'm trying to get Solr to run on windows, such that if it reboots > > > the Solr > > > service will be running. > > > > > > How can I do this? > > > > > > _ > > View message @ > > http://lucene.472066.n3.nabble.com/run-on-reboot-on-windows-tp770892p772174. > html > To start a new topic under Solr - User, email > [hidden email]<[hidden email]> > To unsubscribe from Solr - User, click > < (link removed) > GZvcnRoZW90aGVyc3R1ZmZAZ21haWwuY29tfDQ3MjA2OHwtOTM0OTI1NzEx> here. > > > > > -- > View this message in context: > http://lucene.472066.n3.nabble.com/run-on-reboot-on-windows-tp770892p772178. html > Sent from the Solr - User mailing list archive at Nabble.com. > _ View message @ http://lucene.472066.n3.nabble.com/run-on-reboot-on-windows-tp770892p772182. html To start a new topic under Solr - User, email ml-node+472068-464289649-124...@n3.nabble.com To unsubscribe from Solr - User, click < (link removed) GZvcnRoZW90aGVyc3R1ZmZAZ21haWwuY29tfDQ3MjA2OHwtOTM0OTI1NzEx> here. -- View this message in context: http://lucene.472066.n3.nabble.com/run-on-reboot-on-windows-tp770892p772190.html Sent from the Solr - User mailing list archive at Nabble.com.
Re: run on reboot on windows
its not tomcat/jetty that's the issue, its how to get things to re-start on a windows server (tomcat and jetty don't run as native windows services) so I am a little confused..thanks. On Sun, May 2, 2010 at 7:37 PM, caman wrote: > > Ahmed, > > > > Best is if you take a look at the documentation of jetty or tomcat. SOLR > can > run on any web container, it's up to you how you configure your web > container to run > > > > Thanks > > Aboxy > > > > > > > > > > > > From: S Ahmed [via Lucene] > [mailto:ml-node+772174-2097041460-124...@n3.nabble.com > ] > Sent: Sunday, May 02, 2010 4:33 PM > To: caman > Subject: Re: run on reboot on windows > > > > By default it uses Jetty, so your saying Tomcat on windows server 2008/ > IIS7 > > runs as a native windows service? > > On Sun, May 2, 2010 at 12:46 AM, Dave Searle <[hidden email]>wrote: > > > > Set tomcat6 service to auto start on boot (if running tomat) > > > > Sent from my iPhone > > > > On 2 May 2010, at 02:31, "S Ahmed" <[hidden email]> wrote: > > > > > Hi, > > > > > > I'm trying to get Solr to run on windows, such that if it reboots > > > the Solr > > > service will be running. > > > > > > How can I do this? > > > > > > _ > > View message @ > > http://lucene.472066.n3.nabble.com/run-on-reboot-on-windows-tp770892p772174. > html > To start a new topic under Solr - User, email > ml-node+472068-464289649-124...@n3.nabble.com > To unsubscribe from Solr - User, click > < (link removed) > GZvcnRoZW90aGVyc3R1ZmZAZ21haWwuY29tfDQ3MjA2OHwtOTM0OTI1NzEx> here. > > > > > -- > View this message in context: > http://lucene.472066.n3.nabble.com/run-on-reboot-on-windows-tp770892p772178.html > Sent from the Solr - User mailing list archive at Nabble.com. >
RE: run on reboot on windows
Ahmed, Best is if you take a look at the documentation of jetty or tomcat. SOLR can run on any web container, it's up to you how you configure your web container to run Thanks Aboxy From: S Ahmed [via Lucene] [mailto:ml-node+772174-2097041460-124...@n3.nabble.com] Sent: Sunday, May 02, 2010 4:33 PM To: caman Subject: Re: run on reboot on windows By default it uses Jetty, so your saying Tomcat on windows server 2008/ IIS7 runs as a native windows service? On Sun, May 2, 2010 at 12:46 AM, Dave Searle <[hidden email]>wrote: > Set tomcat6 service to auto start on boot (if running tomat) > > Sent from my iPhone > > On 2 May 2010, at 02:31, "S Ahmed" <[hidden email]> wrote: > > > Hi, > > > > I'm trying to get Solr to run on windows, such that if it reboots > > the Solr > > service will be running. > > > > How can I do this? > _ View message @ http://lucene.472066.n3.nabble.com/run-on-reboot-on-windows-tp770892p772174. html To start a new topic under Solr - User, email ml-node+472068-464289649-124...@n3.nabble.com To unsubscribe from Solr - User, click < (link removed) GZvcnRoZW90aGVyc3R1ZmZAZ21haWwuY29tfDQ3MjA2OHwtOTM0OTI1NzEx> here. -- View this message in context: http://lucene.472066.n3.nabble.com/run-on-reboot-on-windows-tp770892p772178.html Sent from the Solr - User mailing list archive at Nabble.com.
Re: run on reboot on windows
By default it uses Jetty, so your saying Tomcat on windows server 2008/ IIS7 runs as a native windows service? On Sun, May 2, 2010 at 12:46 AM, Dave Searle wrote: > Set tomcat6 service to auto start on boot (if running tomat) > > Sent from my iPhone > > On 2 May 2010, at 02:31, "S Ahmed" wrote: > > > Hi, > > > > I'm trying to get Solr to run on windows, such that if it reboots > > the Solr > > service will be running. > > > > How can I do this? >
Re: run on reboot on windows
Set tomcat6 service to auto start on boot (if running tomat) Sent from my iPhone On 2 May 2010, at 02:31, "S Ahmed" wrote: > Hi, > > I'm trying to get Solr to run on windows, such that if it reboots > the Solr > service will be running. > > How can I do this?