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

孤人 提交于 2020-01-14 10:46:11

问题


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!


回答1:


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



来源:https://stackoverflow.com/questions/6861803/in-gae-how-do-you-stop-running-your-app

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!