Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Xe want to run Jetty as a service on a Windows 2008 Server Virtual Machine. Therefore, I configured Jetty as a Windows Service using Apacke Procrun, following this short description:

Locally on a Windows 7 machine with admin rights, everything works like a charm. Unfortunately, when testing the service with JettyService.exe //TS on the VM, I get the following error: -Service "JettyService" is missing the ImageFile [error] ServiceStart returned 1

Further observations: -The service is shown in Windows' list of services. When trying to start it, I get a "File not found" error. -The Procrun configuration GUI doesn't show me any service details, although it did on my local version. It seems as if the service just doesn't exist. Anyway, when trying to define the same service again, I get a message that a service has already been defined.

Unfortunately, there don't seem to be too many people encountering this problem. Any help or suggestions would be highly appreciated! Could this be about service permissions?

share|improve this question

To fix this, just close quotes when referring to the target as described on


bin\JettyService //IS//JettyService --DisplayName="Jetty Service" --Install="C:\java\jetty\jetty-distribution-7.4.2.v20110526\bin\JettyService.exe"
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.