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 have installed tomcat as service successfully. when i start this from control Panel-> administrative tools -> services, it tows error like this,

The Apache Tomcat 4.1 service on local computer started and then stopped. Some service stop automatically if they have no work to do, for example, the performance logs and alerts sevice.

Wat is the error?

share|improve this question

migrated from Jan 22 '10 at 6:58

This question came from our site for professional and enthusiast programmers.

Which version of windows is this? – zapping Jan 22 '10 at 6:29
Belongs on ServerFault or SuperUser -- I'm not sure. It will be moved over shortly. In the meantime, check the logs directory in your Tomcat installation for any errors. – ZoogieZork Jan 22 '10 at 6:33
Microsoft Windows XP [Version 5.1.2600] – Srinivasan Jan 22 '10 at 6:34
The error message you're seeing is a generic Windows message. You may find more details in the Tomcat logs. – ZoogieZork Jan 22 '10 at 6:39

If any server/service has issues, you should always be going straight to the logs.

share|improve this answer

Maybe port 80 or 8080 is used by another application

share|improve this answer
I tried some other port like 8201. But it throws the same error. – Srinivasan Jan 22 '10 at 6:37

CAn you check if you have the sufficient rights to start the service. otherwise use this to set a proper one.

share|improve this answer
Yes. I loggined as administartor. – Srinivasan Jan 22 '10 at 6:52
your apache log or windows service log will be of more help as ZoogieZork has commented above. – zapping Jan 22 '10 at 6:57

Your Answer


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