Skip to content

TaskExecutor created with task:executor not shutdown when context closes [SPR-6955] #11620

@spring-projects-issues

Description

@spring-projects-issues

Dave Syer opened SPR-6955 and commented

TaskExecutorFactoryBean does not implement DisposableBean, so there is no callback for the shutdown to happen. It is easy to verify that the executor is not shut down (you expect to see a log message from it and don't). I have no idea why, but the problem seems to be particularly acute in a webapp because for some reason there it prevents the lifecycle processor from completing the shutdown (before timing out).


Affects: 3.0 GA

Issue Links:

Referenced from: commits 8d7df01

Metadata

Metadata

Assignees

No one assigned

    Labels

    in: coreIssues in core modules (aop, beans, core, context, expression)status: duplicateA duplicate of another issue

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions