Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-21349

[GSS](7.4.z) ISPN-12884 - Infinispan SingleFileStore exception handling

XMLWordPrintable

    • False
    • False
    • Undefined

      While passivating an entry (in the stateless EJB cache), SingleFileStore got an exception:

      Caused by: java.nio.channels.ClosedChannelException
      at sun.nio.ch.FileChannelImpl.ensureOpen(FileChannelImpl.java:110)
      at sun.nio.ch.FileChannelImpl.write(FileChannelImpl.java:752)
      at org.infinispan.persistence.file.SingleFileStore.write(SingleFileStore.java:345)
      

      We don't have data to verify the initial cause, but are assuming it's a network file system issue or similar.

      However, after this occurs it never recovers.  Subsequent calls continue trying to use the same broken channel and getting the same exception.

      This should be handled better, such as by catching ClosedChannelException (or a more generic parent) and re-opening the channel.

              mshikalw Moulali Shikalwadi
              rhn-support-dereed Dennis Reed
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

                Created:
                Updated:
                Resolved: