RE: [jetty-user] Jetty 7 as Windows Service.
"Tasso Angelidis" <[email protected]>
| Newsgroups | gmane.comp.java.jetty.support |
|---|---|
| Message-ID | <[email protected]> |
Anyways for those who are looking now know.... Btw I didn't have to add the xml config files to the wrapper app.parameter.x=... Only the main class wrapper.app.parameter.2=../etc/jetty.xml wrapper.app.parameter.x=../etc/jetty-x.xml <-- Any additional config files you wish to include... wrapper.app.parameter.y=../etc/jetty-y.xml Jetty 7 now configures itself through a start.ini file. The right etc.xml files can be configured through there... ________________________________ From: [email protected] [mailto:[email protected]] On Behalf Of Michael Gorovoy Sent: Tuesday, October 26, 2010 12:37 PM To: user Subject: Re: [jetty-user] Jetty 7 as Windows Service. The integration code never went through IP process at Eclipse, thus it cannot be included into the core Jetty distribution. Furthermore, the latest versions of Tanuki Software ServiceWrapper are licensed under GPL that prevents them from being used in Jetty. -Michael On Tue, Oct 26, 2010 at 12:14 PM, Tasso Angelidis <[email protected]> wrote: Is it because of licensing issues that it is no longer bundled? Anyways, I manually installed the wrapper as any "standard" wrapper installation. Took the original Jetty-Service.conf file and changed: wrapper.java.mainclass=org.mortbay.jetty.win32service.JettyServiceWrappe rListener to wrapper.java.mainclass=org.tanukisoftware.wrapper.WrapperSimpleApp And added... wrapper.app.parameter.1=org.eclipse.jetty.start.Main <-- Main class wrapper.app.parameter.2=../etc/jetty.xml wrapper.app.parameter.x=../etc/jetty-x.xml <-- Any additional config files you wish to include... wrapper.app.parameter.y=../etc/jetty-y.xml Seems to start fine and it seems to shutdown gracefully to. ________________________________ From: [email protected] [mailto:[email protected]] On Behalf Of Michael Gorovoy Sent: Tuesday, October 26, 2010 11:34 AM To: user Subject: Re: [jetty-user] Jetty 7 as Windows Service. You could get the Jetty integration of the service wrapper from http://svn.codehaus.org/jetty/jetty/branches/jetty-7/jetty-win32/. Unfortunately it is not included in the core distribution, so you would need to build it first. -Michael On Tue, Oct 26, 2010 at 11:19 AM, Tasso Angelidis <[email protected]> wrote: I just downloaded 7.2.0 and to my surprise there's no service wrapper. I suppose I can manually install this but won't get any benefits of the original integration that 6 had with the wrapper? Thanks