This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Tomcat and the fly likes Unable to stop tomcat server 4.1 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Unable to stop tomcat server 4.1" Watch "Unable to stop tomcat server 4.1" New topic
Author

Unable to stop tomcat server 4.1

Priyanka Singh
Greenhorn

Joined: Jul 08, 2008
Posts: 2
Hello folks,

I am working on Tomcat 4.1.Sometimes my application which is deployed on this server gets stoopped.When i try to restart my server following error comes:
"Could not stop Apache Tomcat 4.1 service on Local Computer.
The service did not return an error.This could be an internal Window error or internal service error."
Please suggest possible causes for the above problem.
Ajay Saxena
Ranch Hand

Joined: Nov 13, 2006
Posts: 154
Can you elaborate your problem a bit?

What do you mean when you say " the application is stopped"?

Does it crash with some exception?

Also, you need to tell us the mode in which the tomcat server is running.

Is it running as a Java process or a windows service?
Priyanka Singh
Greenhorn

Joined: Jul 08, 2008
Posts: 2
Hello,

What happens is that my application crashes suddenly.
Message shown in log files is "Removing web application at context path".
No other exception comes.
My tomcat is running as a window process.
Please advice.
Ajay Saxena
Ranch Hand

Joined: Nov 13, 2006
Posts: 154
I think you should first give a shot at figuring out what's causing the application to terminate abruptly.

From the error message it seems the web application is being removed by the server process.But that doesn't indicate that the tomcat service is coming to a halt. You can verify that by checking the status of the tomcat service(which should have a name starting with Apache Tomcat..) on the list of windows services.

Also tell us how you are attempting to restart the service? Through some command line utility?
[ July 08, 2008: Message edited by: Ajay Saxena ]
 
Don't get me started about those stupid light bulbs.
 
subject: Unable to stop tomcat server 4.1
 
Similar Threads
start/stop Tomcat 7 windows service on 64-bit results in error
Bea weblogic
Bea weblogic
Tomcat(jdk1.3.1) - Win2k service - GC output
where to put java classes