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
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 :-)