Skip to content

WebServers are not destroyed on application failure in ReactiveWebServerApplicationContext #44101

Closed as not planned
@boolivar

Description

@boolivar

With #34955 feature (spring-boot >=3.2.0) tomcat is not destroyed on reactive webserver application failure.
Application reports an error on startup but process is not terminated.

Minimal application to reproduce: https://github.com/boolivar/spring-webserver-test (3 dependencies and trivial TestApplication class).
Issue is not reproduced on spring-boot v3.1.12 or if servlet web application is configured.

Here is the differences in context behaviors:
ReactiveWebServerApplicationContext - webserver stopped
ServletWebServerApplicationContext - webserver stopped and destroyed

Metadata

Metadata

Assignees

No one assigned

    Labels

    status: supersededAn issue that has been superseded by anothertype: bugA general bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions