Infinispan 15 or higher versions fail to read its own cache files if the program terminated with a force kill previously when used with jdk 21. The same version works fine with jdk 17.
The developer has to delete the cache folder and restart the program. This is happening in linux servers as well. We have to put a manual deletion in our start scripts to overcome this issue.
We have to delete applications forcefully in specific requirements and this cache issue completely stops the application from starting again.
ERROR:
Caused by: org.infinispan.persistence.spi.PersistenceException: ISPN029025: Failed acquiring lock 'FileSystemLock{directory=.\cache\1\MASTER-DATA, file=MASTER-DATA.lck}' for SIFS