[infinispan-issues] [JBoss JIRA] Created: (ISPN-1411) ISPN cache is hung when try to read data from DB

Anatoliy Bazko (JIRA) jira-events at lists.jboss.org
Thu Sep 22 04:36:26 EDT 2011


ISPN cache is hung when try to read data from DB
------------------------------------------------

                 Key: ISPN-1411
                 URL: https://issues.jboss.org/browse/ISPN-1411
             Project: Infinispan
          Issue Type: Bug
          Components: Marshalling
    Affects Versions: 5.0.0.FINAL
         Environment: Oracle 11.1.6.0.0
            Reporter: Anatoliy Bazko
            Assignee: Manik Surtani


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

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

I personally can reproduce this with Oracle DB



--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the infinispan-issues mailing list