Trying to create check point in spring boot application but failing with the below error

jdk.crac.impl.CheckpointOpenSocketException: tcp6 localAddr :: localPort 8088 remoteAddr :: remotePort 0 at java.base/jdk.crac.Core.translateJVMExceptions(Core.java:88) at java.base/jdk.crac.Core.checkpointRestore1(Core.java:142) at java.base/jdk.crac.Core.checkpointRestore(Core.java:237) at java.base/jdk.crac.Core.lambda$checkpointRestoreInternal$3(Core.java:259) at java.base/java.lang.Thread.run(Thread.java:833)

I used the spring.context.checkpoint=onRefresh in application.yml file.

jdk : openjdk-17-crac+3_linux-x64 springBootVersion = "3.1.10"

Comment From: sdeleuze

The version of Spring Boot you are using (3.1), is not compatible with CRaC. You should use at least Spring Boot 3.2.

Comment From: shanmuk256

upgraded Spring Boot to 3.3.0 but no luck.

do you need any details?