Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 9.1pe
    • Fix Version/s: 9.1.1_dev
    • Component/s: entity-persistence
    • Labels:
      None
    • Environment:

      Operating System: All
      Platform: All

    • Issuezilla Id:
      3,747
    • Status Whiteboard:
      Hide

      as91ur1-na,911Approved

      Show
      as91ur1-na,911Approved

      Description

      I have experienced a server deadlock several times on our production system. The
      stacktraces which are all attached to this issue have one thing in common: There
      is always one (and only one) thread stuck in the AfterCompletion listener,
      hanging in

      oracle.toplink.essentials.internal.identitymaps.CacheKey.checkReadLock

      Then there are a varying number of other threads trying to execute a query,
      these are hanging in

      oracle.toplink.essentials.internal.helper.ConcurrencyManager.releaseDeferredLock

      And also a varying number of threads executing a query and hanging in

      oracle.toplink.essentials.internal.helper.ConcurrencyManager.acquireReadLock

      Using glassfish2 build 58g.
      ASQuickStartup is off.

      If I can provide any more info please let me know.

      1. stacktrace-20071004.zip
        24 kB
        batzee
      2. stacktrace-20071004-2.txt
        935 kB
        batzee
      3. stacktrace-20071006.zip
        62 kB
        batzee
      4. stacktrace-20071007-1410.txt
        299 kB
        batzee
      5. toplink-essentials-3747patch.jar
        21 kB
        tware
      6. toplink-essentials-3747patch-updated.jar
        21 kB
        tware

        Activity

        Hide
        tware added a comment -

        Created an attachment (id=1216)
        updated patch for bug

        Show
        tware added a comment - Created an attachment (id=1216) updated patch for bug
        Hide
        tware added a comment -

        Added a new version of the patch that should be more portable between VMs.

        Show
        tware added a comment - Added a new version of the patch that should be more portable between VMs.
        Hide
        tware added a comment -

        Fix will not make ur1 cutoff. Changing target milestone.

        According to the following forum post, the attached patch provides a partial
        fix. We are investigating the full fix.

        http://forums.java.net/jive/thread.jspa?messageID=241912

        Show
        tware added a comment - Fix will not make ur1 cutoff. Changing target milestone. According to the following forum post, the attached patch provides a partial fix. We are investigating the full fix. http://forums.java.net/jive/thread.jspa?messageID=241912
        Hide
        harpreet added a comment -

        Approving changes for 9.1.1. Solves customer production issues. Fix was supposed to make into 9.1UR1
        but was not able to get in.

        Show
        harpreet added a comment - Approving changes for 9.1.1. Solves customer production issues. Fix was supposed to make into 9.1UR1 but was not able to get in.
        Hide
        tware added a comment -

        Issue number: 3747
        Obtained from: TopLink
        Submitted by: Tom Ware
        Reviewed by: Obtained from Oracle TopLink - reviewed when included there

        Closes a window where locks on IndirectCollections can cause deadlocks.

        Tested with Oracle-internal tests and entity-persistence-tests

        This fix has solved the issue for several customers. There is still an issue
        for one customer in the forum post above, it it is a separate issue.

        Show
        tware added a comment - Issue number: 3747 Obtained from: TopLink Submitted by: Tom Ware Reviewed by: Obtained from Oracle TopLink - reviewed when included there Closes a window where locks on IndirectCollections can cause deadlocks. Tested with Oracle-internal tests and entity-persistence-tests This fix has solved the issue for several customers. There is still an issue for one customer in the forum post above, it it is a separate issue.

          People

          • Assignee:
            tware
            Reporter:
            batzee
          • Votes:
            1 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: