Uploaded image for project: 'JBoss Enterprise Application Platform 4 and 5'
  1. JBoss Enterprise Application Platform 4 and 5
  2. JBPAPP-4465

CLONE -Oracle 11g R2 RAC - LockMode.UPGRADE causes "No more data to read from socket"

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Major Major
    • TBD EAP 4
    • 4.2.0.GA_CP09, 4.3.0.GA_CP08
    • Hibernate
    • None
    • Oracle 11g R2 RAC with driver version 11.2.0.1.0

    • Release Notes
    • Hide
      In Oracle 11g R2 (both RAC and standalone), a complex query with LockMode.UPGRADE (ie: "for update") may cause a "No more data to read from socket" error. The workaround is to not use LockMode.UPGRADE on such queries. The root cause analysis is still under investigation.
      Show
      In Oracle 11g R2 (both RAC and standalone), a complex query with LockMode.UPGRADE (ie: "for update") may cause a "No more data to read from socket" error. The workaround is to not use LockMode.UPGRADE on such queries. The root cause analysis is still under investigation.
    • Documented as Known Issue

      The following tests fails due to "No more data to read from socket". When changing the tests to use LockMode.READ instead of LockMode.UPGRADE they both works fine. It's still not clear where the problem is, but it looks its in the database, as the same test works fine with a different database (Oracle 11g R1 RAC), using the same code and the same JDBC driver. It may be an issue with the way its configured in the QA Lab.

      I'll mark it as "Affects Release Notes", as it may be an issue with the database itself, not with the configuration in the lab.

      Tests affected:
      org.hibernate.test.legacy.ParentChildTest.testComplexCriteria
      org.hibernate.test.legacy.FooBarTest.testQueryLockMode

              shaozliu Strong Liu(刘少壮) (Inactive)
              jpkroehling@redhat.com Juraci Paixão Kröhling (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: