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

ISPN cache is hung when try to read data from DB

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
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: