wood burning stoves*
The moose likes Tomcat and the fly likes stopping tomcat on windows 7 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 "stopping tomcat on windows 7" Watch "stopping tomcat on windows 7" New topic
Author

stopping tomcat on windows 7

ahmad elsafty
Greenhorn

Joined: Jul 31, 2011
Posts: 4
hi all, when stopping tomcat 7 on windows 7 it causes hanging the whole system, I tried stopping tomcat standalone by executing shutdown.bat, from netbeans 7, and from eclipse, all causes system to hang, nothimg abput stopping error written in logs. ANY ONE HAS ANY IDEA?
Thanks for Concern.
Ahmad Elsafty
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 15952
    
  19

Welcome to the JavaRanch, Ahmad!

Are you saying that your entire computer is locking up, or is it just Tomcat?

When Tomcat is stopped, it shuts down the webapps, but the webapps may be running threads that prevent the main JVM from stopping. In that case, you'd have to figure out which webapp was at fault.

If the entire machine is having problems, you may be starved for resources. Using the Task Manager, check for excessive CPU and/or paging activity. You may have to add more memory or something.


Customer surveys are for companies who didn't pay proper attention to begin with.
ahmad elsafty
Greenhorn

Joined: Jul 31, 2011
Posts: 4
Thank you Tim for your appreciation, my tomcat starts successfully, but at stopping it hangs my windows completely, neither keyboard nor mouse respond to any action, I am compelled to restart my machine.
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12760
    
    5
Exactly how was Tomcat installed - as a service or as an application?

If an application, how are you starting Tomcat? From a command prompt or ?

Is this a standard Tomcat installation or have you added your own application?

Bill
ahmad elsafty
Greenhorn

Joined: Jul 31, 2011
Posts: 4
In my first post I said that I have tried three installations of tomcat, first is standalone tomcat which downloaded as .zip file not .exe and running it from %TOMCAT_HOME%\bin\startup.bat batch, second is Netbeans7 bundeled tomcat, third is standalone tomcat after adding it to eclipse.
That's all.
ahmad elsafty
Greenhorn

Joined: Jul 31, 2011
Posts: 4
My env. is Windows 7 ultimate, Java 7 (also I tried it on Java 6), Tomcat 7, Netbeans 7, Eclipse Helios.
I have tried tomcat, netbeans, ans eclipse on others environments, (Ubuntu 11.04, and Windows XP) and it runs fine.
 
Don't get me started about those stupid light bulbs.
 
subject: stopping tomcat on windows 7
 
Similar Threads
start/stop Tomcat 7 windows service on 64-bit results in error
regarding using tomcat
SSO problems with Tomcat
Tomcat 6 creating Swing GUI under Windows 7 64bit
Connection Problem