This week's book giveaway is in the Cloud forum.
We're giving away four copies of Terraform in Action and have Scott Winkler on-line!
See this thread for details.
Win a copy of Terraform in Action this week in the Cloud forum!
  • 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 ...
  • Tim Cooke
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Rob Spoor
  • Bear Bibeault
Saloon Keepers:
  • Jesse Silverman
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Piet Souris
  • Al Hobbs
  • salvin francis

Any Easy way to stop Tomcat v7 when eclipse is not responding

Ranch Hand
Posts: 40
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi all,
it not related to any code but i need a solution .
So my problem is - I am new to Jsp and Servlets so i am on try and error so i know many times i go wrong and my eclipse stop responding (Not-Responding).
so i just do a End task and restart Eclipse
But the Problem is when i start Eclipse and Try to Start Tomcat Server its giving me an error

Error---Several ports (8005, 8080, 8009) required by Tomcat v7.0 Server at localhost are already in use
i know its because my Tomcat was running when Eclipse Stopped Responding

So what i mostly do is restart my System and Problem is solved

But any one know any Easy solution
I have already tried Bath or sh file its not working as tomcat was running in eclipse i guess

i really dont want to restart my system as when i am really in a flow and this thing happens,i never get the same feel
So Please Help me

Thanks and regards
Rohit Gaikwad
Posts: 1845
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I'm presuming you are running under Windows.

Simple and stupid solution would be to end the Tomcat task like you did the Eclipse one.
There will be a "Java" task running which will be the Tomcat server.
The problem is distinguishing it from any other java processes that might be running :-)

A more "correct" way would be to connect on port 8005 and issue the shutdown command:
See if you can work it out from
Useful link:

You showed up just in time for the waffles! And this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
    Bookmark Topic Watch Topic
  • New Topic