Skip to content

appRun and farmRun stop failure #180

@michael-newsrx

Description

@michael-newsrx

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions