Skip to content

Restore pooled SMTP claims after failed connections are invalidated #28

Closed

Description

@bbottema

Under contention, callers already waiting for an SMTP transport can stay blocked after active connections fail and are invalidated. This affects direct and clustered pools as well as the Jakarta smtppool provider. The provider's default claim timeout is 30 seconds; the direct pool's default is effectively unlimited.

Reproduced with published 4.0.1 and loopback SMTP disconnects. The underlying fix is bbottema/generic-object-pool#20 (2.4.3), to be consumed through clustered-object-pool 4.0.4.

Update the published dependency chain, add permanent waiting-claim recovery regressions, and verify the full integration/demo build plus actual Java 8 core/provider compatibility. No public API or configuration change is intended.

Related release work: bbottema/generic-object-pool#20, bbottema/clustered-object-pool#22, #28, bbottema/simple-java-mail#724.

Activity

  1. added this to the 4.0.2 milestone on Sep 7, 2026
  2. self-assigned this
    on Sep 7, 2026
  3. added
    dependencies
    on Sep 7, 2026
  4. bbottema commented on Sep 7, 2026

    @bbottema
    MemberAuthor

    Released in 4.0.2. Upgrade the SMTP pool artifacts to 4.0.2; waiting claims now resume after failed connections are invalidated, with no configuration changes needed. The Simple Java Mail 9.x update is tracked in bbottema/simple-java-mail#724.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Priority-Highbugdependencies

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions