Skip to content

Shutdown hook not firing in forked jvm launched by spring-boot:run on Windows #3093

@gseifert

Description

@gseifert

If I run my simple spring boot application using "mvn spring-boot:run" the application context is closed properly when I hit ctrl-c. But if I add the spring loaded agent or specify jvmArguments this forks a new jvm and then when I hit ctrl-c the shutdown hook is not fired and so the spring application context is not closed gracefully. I am using 32-bit Windows 7 and java 1.7.0_75.

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