Skip to content
This repository has been archived by the owner on Jan 10, 2023. It is now read-only.

Delay when starting Google Appengine devserver #43

Open
GoogleCodeExporter opened this issue Aug 25, 2015 · 1 comment
Open

Delay when starting Google Appengine devserver #43

GoogleCodeExporter opened this issue Aug 25, 2015 · 1 comment

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. Run mvn appengine:devserver on a system, where the devserver is currently 
stopped.

What is the expected output? What do you see instead?
Expected: Devserver should start immediately.
Instead: The plugin waits for a connection timeout, because it tries to shut 
down the not running devserver before starting.

What version of the product are you using? On what operating system?
1.8.6
Mac OS X 10.9
Java 1.7.0u45

Please provide any additional information below.
The reason is the class AbstractDevAppServerMojo, line 219:

connection.getOutputStream().write(0);

In order to resolve this issue, the connection timeout can be set to 1000 
before, which should usually be no problem, because the devserver runs on the 
same machine.
If it should not be changed by default, at least a connectionTimeout 
configuration property would be nice.

Original issue reported on code.google.com by mor...@cloudme.org on 27 Oct 2013 at 2:05

@GoogleCodeExporter
Copy link
Author

Workaround: Just keep the devserver running as long as possible, and let the 
plugin stop the server if you need to redeploy.

See also: 
http://stackoverflow.com/questions/19611848/delay-when-starting-google-appengine
-devserver-with-maven-plugin-on-mac-os-x-mav

Original comment by mor...@cloudme.org on 27 Oct 2013 at 2:08

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant