Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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 stackoverflow.com Jan 22 '10 at 6:58

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

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
add comment

3 Answers 3

Maybe port 80 or 8080 is used by another application

http://serverfault.com/questions/43617/tomcat-wont-start-how-to-check-that-port-8080-is-not-in-use

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

CAn you check if you have the sufficient rights to start the service. otherwise use this to set a proper one.
http://publib.boulder.ibm.com/infocenter/cmgmt/v8r3m0/index.jsp?topic=/com.ibm.sysadmin.hlp/msr10034.htm

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
add comment

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

$:\Tomcat4.1\logs\stdout.log
$:\Tomcat4.1\logs\stderr.log
share|improve this answer
add comment

Your Answer

 
discard

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