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

appRun and farmRun stop failure #180

Open
michael-newsrx opened this issue Oct 6, 2020 · 2 comments
Open

appRun and farmRun stop failure #180

michael-newsrx opened this issue Oct 6, 2020 · 2 comments

Comments

@michael-newsrx
Copy link

v3.0.3, tomcat9

When pressing a key to trigger appRun or farmRun stop, I get the error message:

> Task :farmRun FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':farmRun'.
> java.net.ConnectException: Connection refused (Connection refused)

While it doesn't every time, it happens a lot. After this if I restart via farmRun or appRun the port shows as still in use - presumably from the non-stopped previous tomcat.

If I then stop that process then restart it again, it many times will then start successfully.

Additionally, if I wait a while, the orphaned tomcat seems to exit without needing to run gradle --stop.

@dtbullock
Copy link

Are you invoking Gradle from the command line directly, or via IntelliJ IDEA? (I have issues similar to this, with IDEA).

@michael-newsrx
Copy link
Author

michael-newsrx commented Mar 23, 2021 via email

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

No branches or pull requests

2 participants