Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

In GAE how do you *stop* running your app?

I'm on Eclipse (Helios) using GAE SDK 1.5.2, etc. (Just updated everything, today.)

"In the old days..." (earlier SDKs), when I ran/debug my app locally, it would create an app on my machine (Mac, OS-X 10.6.latest) and, when I wanted to quit it, I would just CMD-Q that app.

Now, when I launch the app, it appears to run as a sub-process of Eclipse (assumption on my part -- I can't find any separate app that's running), and I can't seem to figure out how to quit the app.

The specific problem I'm having is, after I change something and select Run -> Debug as... -> Web Application the 2nd time, I get "address in use" socket-binding error.

[ERROR] Unable to bind socket on port 9997 -- is another session active?
java.net.BindException: Address already in use

I suspect that, yes, another session IS active (the one I started just 2 minutes ago!), and my question is: how do I stop that session?

Thanks!

like image 840
Olie Avatar asked Feb 23 '23 10:02

Olie


1 Answers

If you look in the debug window you'll see your running processes. Just select one, right click and 'Terminate':

Terminate option

like image 164
Sam Holder Avatar answered Mar 02 '23 17:03

Sam Holder