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"

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: 4.2.0.GA_CP09, 4.3.0.GA_CP08
    • Fix Version/s: TBD EAP 4
    • Component/s: Hibernate
    • Labels:
      None
    • Environment:

      Oracle 11g R2 RAC with driver version 11.2.0.1.0

    • Affects:
      Release Notes
    • Release Notes Text:
      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.
    • Release Notes Docs Status:
      Documented as Known Issue

      Description

      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

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  stliu Strong Liu
                  Reporter:
                  juraci.costa Juraci Paixão Kröhling
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  0 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: