Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Keep-alive property causes processAot step to never finish #38531

Closed
ArjanSchouten opened this issue Nov 24, 2023 · 1 comment
Closed

Keep-alive property causes processAot step to never finish #38531

ArjanSchouten opened this issue Nov 24, 2023 · 1 comment
Assignees
Labels
type: bug A general bug
Milestone

Comments

@ArjanSchouten
Copy link

The new keep-alive property doesn't work well with AOT. It causes my builds to hang indefinitely on the processAot step.

> Task :processAot
Excluding []
Downloading https://repo.maven.apache.org/maven2/org/hdrhistogram/HdrHistogram/2.1.12/HdrHistogram-2.1.12.jar to /root/.gradle/.tmp/gradle_download580669702130093567bin
Downloading https://repo.maven.apache.org/maven2/org/latencyutils/LatencyUtils/2.0.3/LatencyUtils-2.0.3.jar to /root/.gradle/.tmp/gradle_download2544014877237766235bin
Caching disabled for task ':processAot' because:
  Build cache is disabled
Task ':processAot' is not up-to-date because:
  No history is available.

[           main] ...     : Starting ApplicationKt using Java 21.0.1 with PID 491 (/.../build/classes/kotlin/main started by root in ...)
[           main] ...     : No active profile set, falling back to 1 default profile: "default"
[           main] .s.d.r.c.RepositoryConfigurationDelegate : Multiple Spring Data modules found, entering strict repository configuration mode
[           main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data Redis repositories in DEFAULT mode.
[           main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 56 ms. Found 0 Redis repository interfaces.

Without keep-alive: true the step continues as expected.

@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label Nov 24, 2023
@mhalbritter mhalbritter added type: bug A general bug and removed status: waiting-for-triage An issue we've not yet triaged labels Nov 24, 2023
@mhalbritter mhalbritter added this to the 3.2.x milestone Nov 24, 2023
@mhalbritter mhalbritter changed the title Keep-alive property causes processAot to step to never finish with spring boot 3.2 Keep-alive property causes processAot step to never finish Nov 24, 2023
@mhalbritter mhalbritter self-assigned this Nov 27, 2023
@mhalbritter mhalbritter modified the milestones: 3.2.x, 3.2.1 Nov 27, 2023
@ArjanSchouten
Copy link
Author

Thanks @mhalbritter.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug A general bug
Projects
None yet
Development

No branches or pull requests

3 participants