• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

stopping tomcat on windows 7

 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Saloon Keeper
Posts: 27762
196
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
ahmad elsafty
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Author and all-around good cowpoke
Posts: 13078
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
reply
    Bookmark Topic Watch Topic
  • New Topic