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?

  • 1
    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
  • 1
    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
  • I faced the same issue. In my case, I had not properly configured the Tomcat heap size. JvMs, JvMx – Steven Dsouza Feb 8 '18 at 15:47

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

| improve this answer | |

Maybe port 80 or 8080 is used by another application

Tomcat won't start - how to check that port 8080 is not in use

| 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.

| 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 clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy