Re: deadlock between commit and external event

From: Andrus Adamchik (andru..bjectstyle.org)
Date: Wed Mar 23 2005 - 09:38:42 EST

  • Next message: laila paganelli: "Problems with OracleAdapter"

    Hi Chris,

    Could you possibly open a bug report in JIRA - I'll be able to take a look
    at it during the weekend.

    Thanks
    Andrus

    > Hi there,
    >
    > I have a database frontend webapp and a couple of other simpler java
    > programs which feed info into the database and I've used jgroups to tie
    > the cayenne instances together; I'm using cayenne version 1.1RC3.
    >
    > I am getting a nasty deadlock in the cayenne event processing code which
    > is caused by commitChanges resulting in first the DataRowStore mutex
    > being locked, then the DispatchQueue.
    >
    > At the same time, I might get an external event which first locks the
    > DispatchQueue, then the DataRowStore.
    >
    > Stack traces of the two deadlocked threads should be attached.
    >
    > Has anyone else seen anything like this?
    >
    > Chris Dawes.



    This archive was generated by hypermail 2.0.0 : Wed Mar 23 2005 - 09:38:44 EST