Just used those instructions on Windows 7, with JDK 1.7u55, and Jetty Distribution 9.2.0.v20140526
It started up just fine. The logs in C:\opt\logs\ should show the logs from both prunsrv and Jetty. (In fact, there are usually 3 log files generated) C:\opt\logs\%SERVICE_NAME%.yyyy-mm-dd.log C:\opt\logs\%SERVICE_NAME%-stderr.yyyy-mm-dd.log C:\opt\logs\%SERVICE_NAME%-stdout.yyyy-mm-dd.log Since you indicated startup crash, here's your troubleshooting guide... 1) Check the administrative event logs If there is an error here, address it, as prunsrv itself couldn't run 2) Check your prunsrv logs - C:\opt\logs\%SERVICE_NAME%.yyyy-mm-dd.log If there is an error here, its likely you have your prunsrv configuration off/broken. uninstall the service, fix the configuration, install service, test, lather, rinse, repeat. 3) Check your stderr logs - C:\opt\logs\%SERVICE_NAME%-stderr.yyyy-mm-dd.log If there is an error here, its a jetty base configuration issue. 4) Check your stdout logs - C:\opt\logs\%SERVICE_NAME%-stdout.yyyy-mm-dd.log If there is an error here, its your webapp's issue. -- Joakim Erdfelt <[email protected]> webtide.com <http://www.webtide.com/> - intalio.com/jetty Expert advice, services and support from from the Jetty & CometD experts eclipse.org/jetty - cometd.org On Mon, Jun 2, 2014 at 7:46 AM, BRUNO MELLONI <[email protected]> wrote: > Posted this Friday and probably due to the weekend got no responses. I > very much need to get Jetty working as a service. > > > > Any advice on how to proceed? > > > > Has anybody been able to successfully run Jetty as a service by following > the instructions? If yes, do you know of something I might have missed or > done wrong? > > > > *From:* BRUNO MELLONI > *Sent:* Friday, May 30, 2014 3:46 PM > *To:* '[email protected]' > *Subject:* Jetty as window service fails at start > > > > After installing and starting Jetty from the command line I followed the > jetty procrun instructions on the website ( > http://www.eclipse.org/jetty/documentation/current/startup-windows-service.html), > the service seemed to install correctly, but when I try to run it I get a > message telling me that it failed to start… with no other details. The > logs indicate that Jetty started with no errors, but it clearly crashes > upon start. > > > > How do I troubleshoot it? I assume there are useful error messages > somewhere? > > > > Also, as a failover… is there any other way (a more reliable one) to run > Jetty as a windows service? > > _______________________________________________ > jetty-users mailing list > [email protected] > https://dev.eclipse.org/mailman/listinfo/jetty-users > >
_______________________________________________ jetty-users mailing list [email protected] https://dev.eclipse.org/mailman/listinfo/jetty-users
