views:

361

answers:

2

If you are doing local development I want to know how we can stop/kill Jetty webserver? I have to close my Eclipse IDE whenever I need to do that. Is there any other way to do it? Or we have to kill the process?

Thanks.

+1  A: 

You should see Jetty instance(s) running in one of the Console. Just press the Red Button.

jldupont
I got you. That red button did not appear every time. If I have to stop it from red button. I have attempt to debug/run again. And in the middle of process. I press the red button.
Tahir Akram
Does that mean that my answer satisfies your request?
jldupont
A: 

I have the same problem.

If the red button is showing, then no problem. The problem starts if you accidentally try to run your project twice and get something like "Port already bound" exception and the process bails. When that happens the red button doesn't show anymore and there seems to be no way to recover.

Is there something like "ps", where you can manage running processes?

AndersW