Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Unable to stop tomcat server 4.1

 
Priyanka Singh
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 154
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 154
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic