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

I currently am installing Tomcat6 as a windows service that will be controlled by a user account that cannot login, nor is the account a member of any groups. The issue I am seeing is that the service will be installed, but the service stops after 20-30 seconds saying that it didn't have any work to do. UAC is disabled at installation time, and the installation is done by a user in the administrators group. How can I resolve this issue to ensure Tomcat properly starts up?

share|improve this question

Have you tried following the steps available in the documentation for installing Tomcat 6 as a Windows service?

The safest way to manually install the service is to use the provided service.bat script. Administrator privileges are required to run this script.

NOTE: On Windows Vista or any other operating system with User Account Control (UAC) you must either disable UAC or right-click on cmd.exe and select "Run as administrator" in order to run this script. If UAC is enabled being logged on with an Administrator account is not sufficient.

The page provides some sample command lines to install Tomcat as a service (although the formatting does not work well when I copy and paste it into this answer).

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.