Uploaded image for project: 'Cayenne'
  1. Cayenne
  2. CAY-720

While using nested DataContexts contexts and while a child commits to parent, parent is being refreshed via an event, resulting in a deadlock.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.2 branch
    • None
    • Core Library
    • None
    • OS: Windows XP. Platform: J2SE1.4.2_11 - Cayenne 1.2.1 - JMS messages over SonicMQ v5.0.2.

    Description

      Deadlock issue initially looks similar to CAY-297. When I set "cayenne.DataRowStore.remote.notify" to false the issue does not arise. However, I need this set to true so that remote web services can be notified. I'm also extending the Cayenne EventBridge class.

      Attachments

        1. Code.txt
          1 kB
          John Gunning
        2. Deadlock02.txt
          21 kB
          John Gunning
        3. ThreadMonitor.java
          5 kB
          John Gunning

        Issue Links

          Activity

            People

              Unassigned Unassigned
              jgunning John Gunning
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: