Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-16302

Fails to read cache files inside cache folder in Infinispan with Java 21

XMLWordPrintable

    • Hide
      • use any version higher than 15 and start the application.
      • kill the app and try to restart it the same way.
      • then the issue will appear.
      • I started the application on red hat server as well as in my laptop using intellij Idea 2024 and could reproduce the issue. Same codebase / application with java 17 works fine.
      Show
      use any version higher than 15 and start the application. kill the app and try to restart it the same way. then the issue will appear. I started the application on red hat server as well as in my laptop using intellij Idea 2024 and could reproduce the issue. Same codebase / application with java 17 works fine.

      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

            rh-ee-jbolina Jose Bolina
            yasirupathirana Yasiru Pathirana (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - 2 days
                2d
                Remaining:
                Remaining Estimate - 2 days
                2d
                Logged:
                Time Spent - Not Specified
                Not Specified