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

ISPN cache is hung when try to read data from DB

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Critical Critical
    • None
    • 5.0.0.FINAL
    • Marshalling
    • None

      Have a look on AbstractMarshaller.objectFromInputStream(InputStream inputStream).
      When inputStream.available() returns 0 (but it doesn't mean that stream is empty) we have never ended cycle below

      while ((bytesRead = inputStream.read(buf, 0, buf.length)) != -1) bytes.write(buf, 0, bytesRead);
      

      I personally can reproduce this with Oracle DB

              manik_jira Manik Surtani (Inactive)
              abazko Anatolii Bazko
              Archiver:
              rhn-support-adongare Amol Dongare

                Created:
                Updated:
                Resolved:
                Archived: