Skip to content

Closing Strategy with Loadbalancer #201

@KniKnaKnorke

Description

@KniKnaKnorke

Hi Florian,

I am upgrading one of our old jPro + load balancer systems. In the previous setup, we used the following parameters in application.properties:

-Djpro.keepAppAlivePercentage=0
-Djpro.keepAppAliveFor=28000

The newer jPro versions provides its own closingStrategy, which is a great way to define custom behavior. However, it does not seem to work when a load balancer is involved. When I run the app with jPro only, the closing strategy works as expected. But when I run it with both the load balancer and jPro, the instances are not being closed.

Should the closing strategy work together with a load balancer? If not, I would stop trying to get this working.

Im using jPro/load balancer version 2025.3.2.

Best regards,
Dennis
ableX GmbH

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