Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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

I am trying to run the Tomcat as a service on and Windows server. If I run tomcat7.exe in the bin directory, I get the error "Service 'tomcat7' is missing the ImageFile". If I run startup.bat, tomcat opens in a new window and works just fine. Any ideas? Thanks.

share|improve this question

I had the same problem, and could find a workaround. I don't know if it will work for you, though, since the OS is different (Windows Server 2008).


  1. First delete the tomcat service with "bin\tomcat7.exe //DS/Tomcat7".

  2. Now, disable UAC.

  3. Install the Tomcat service again with the command "bin\service.bat install"

  4. Start the service.

  5. If you want (and probably will), enable UAC again.

Since I successfully installed and started the Tomcat service, I did not need to disable UAC again.

The advice to disable UAC is present Tomcat 7 documentation, located at ""

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.