danilodeLuca / appengine-maven-plugin

Automatically exported from code.google.com/p/appengine-maven-plugin
Apache License 2.0
0 stars 0 forks source link

devserver doesn't stop with devserver_stop in Windows #30

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
When I run devserver_stop on Windows, it reports success but the process 
remains active and I have to run it manually. I've tried on Windows 2012 server 
and Windows 7 (both 64-bit) with the same result. We use a different port than 
the default but I've tried both ways. Works fine on my Mac.

End of the log says:

[INFO] 
[INFO] <<< appengine-maven-plugin:1.8.1.1:devserver_stop (default-cli) @ bam <<<
[INFO] 
[INFO] --- appengine-maven-plugin:1.8.1.1:devserver_stop (default-cli) @ bam ---
[INFO] 
[INFO] Google App Engine Java SDK - Stopping the Development Server
[INFO] 
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1:08.748s
[INFO] Finished at: Thu Jul 04 09:30:27 EDT 2013
[INFO] Final Memory: 38M/630M
[INFO] ------------------------------------------------------------------------

Original issue reported on code.google.com by k...@baley.org on 4 Jul 2013 at 1:31

GoogleCodeExporter commented 8 years ago
I am also getting this issue with Windows.

Original comment by ecb0...@gmail.com on 10 Jul 2013 at 5:19

GoogleCodeExporter commented 8 years ago
Just want to add...with the GAE instance running in the background after 
devserver_start, I tried devserver_stop and the GAE instance still lives on 
despite the success message that I received. I then did exactly what the Maven 
goal does (send empty POST to /_ah/admin/quit) manually through the browser and 
that successfully shuts off the Java process for the background GAE instance. 
Hopefully this gets fixed soon. Any acknowledgement of this bug from Google?

Original comment by ecb0...@gmail.com on 10 Jul 2013 at 5:38

GoogleCodeExporter commented 8 years ago
Same with me. I'm able to quit through the URL as well via Fiddler

Original comment by k...@baley.org on 10 Jul 2013 at 5:40

GoogleCodeExporter commented 8 years ago
I cannot really see how, but could stopDevAppServer() be platform dependent? 
See 
https://code.google.com/p/appengine-maven-plugin/source/browse/src/main/java/com
/google/appengine/devappserver/AbstractDevAppServerMojo.java#200

Original comment by ingo.jae...@gmail.com on 10 Jul 2013 at 5:43

GoogleCodeExporter commented 8 years ago
I think this patch fixes it:

Original comment by tadas.subonis@gmail.com on 13 Jul 2013 at 11:17

Attachments:

GoogleCodeExporter commented 8 years ago
Is there anyway that this change can be applied as some sort of pull request? 
Or is that just Github terminology?

Original comment by ecb0...@gmail.com on 15 Jul 2013 at 7:13

GoogleCodeExporter commented 8 years ago
I can confirm this behavior is still present in 1.8.9

Original comment by dajudge...@gmail.com on 6 Feb 2014 at 7:30

GoogleCodeExporter commented 8 years ago
Same issue with 1.9.4.  Please resolve this.

Original comment by khid...@gmail.com on 18 May 2014 at 10:52

GoogleCodeExporter commented 8 years ago
Fix will be in 1.9.7
For now, you can 
$ git clone https://code.google.com/p/appengine-maven-plugin/
$ cd appengine-maven-plugin
$ mvn install

and use the version 1.9.7-SNAPSHOT in the plugin version as a workaround until 
1.9.7 is pushed

Original comment by l...@google.com on 14 Jun 2014 at 5:32

GoogleCodeExporter commented 8 years ago
Still seeing this issue with appengine-maven-plugin:1.9.7 - the devserver won't 
stop under Windows 7. Did the changes make it in?

Original comment by jfbib...@gmail.com on 18 Aug 2014 at 2:17