Uploaded image for project: 'OFBiz'
  1. OFBiz
  2. OFBIZ-9534

exception in service semaphore in wait mode and with multi thread calls

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: Trunk
    • Fix Version/s: Upcoming Release
    • Component/s: framework
    • Labels:
      None
    • Flags:
      Patch

      Description

      When service semaphore is use in wait mode with numerous simultaneous calls (multi thread), it happens that the service semaphore raises an exception when it tries to record in database the semaphore lock. This exception is raised and stop the wait loop. The exception could be catched to continue the waitloop.

      this can be reproduced by creating a semaphore in wait mode with several calls simultaneously with soapui

      1. semaphore.patch
        1.0 kB
        Gaudin Pierre

        Activity

        Hide
        mbrohl Michael Brohl added a comment -

        Thanks Pierre,

        your patch looks good to me. Any objections to commit this from others?

        Show
        mbrohl Michael Brohl added a comment - Thanks Pierre, your patch looks good to me. Any objections to commit this from others?
        Hide
        mbrohl Michael Brohl added a comment -

        Thanks Pierre,

        your patch is in trunk r1811406.

        Show
        mbrohl Michael Brohl added a comment - Thanks Pierre, your patch is in trunk r1811406.
        Hide
        jacques.le.roux Jacques Le Roux added a comment -

        Show
        jacques.le.roux Jacques Le Roux added a comment -

          People

          • Assignee:
            mbrohl Michael Brohl
            Reporter:
            gpierre Gaudin Pierre
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development