Did Jetty 7 drop support to run as a service using Java Service Wrapper? What options do I have now?
相关问题
- Inheritance impossible in Windows Runtime Componen
- how to get running process information in java?
- Is TWebBrowser dependant on IE version?
- How can I have a python script safely exit itself?
- I want to trace logs using a Macro multi parameter
I had a problema running @crowne's code for install the service (I'm running Jetty 8.1.0). Just needed to change
-StartMode=Java --StopMode=Java
to-StartMode=jvm --StopMode=jvm
and remove++JvmOptions=-XX:+CMSPermGenSweepingEnabled
.After that I created a create_jetty_service.bat at the jetty/bin folder and run the file from there:
Remember to run cmd.exe as administrator to the command take effect.