Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Application doesn't properly finish #8

Open
antonrodina opened this issue Apr 16, 2018 · 1 comment
Open

Application doesn't properly finish #8

antonrodina opened this issue Apr 16, 2018 · 1 comment

Comments

@antonrodina
Copy link

antonrodina commented Apr 16, 2018

After running the application from the command line with ./gradlew run, it replies to requests to localhost:8080, but then there are a couple of problems:

  1. If a change the text in MainVerticle, the console shows that it's being redeployed INFO: Succeeded in deploying verticle, but subsequent requests to localhost:8080 still show the old text.
  2. After killing it with Ctrl+C, it still replies to requests to localhost:8080, and starting it again with ./gradlew run, it shows Starting a Gradle Daemon, 1 busy Daemons could not be reused, use --status for details, and the port is still in use SEVERE: java.net.BindException: Address already in use: bind.

So I go and manually kill the process using the port 8080. Now I can start the application successfully (the port is no longer used), but it shows that there are now 2 running daemons.

PS: I'm using Windows 10.

@antonrodina
Copy link
Author

If I remove the redeploy options from build.gradle, the application does die with Ctrl+C, but the Gradle daemons keep piling up.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant