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: 17.12.01
    • 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

        Attachments

        1. semaphore.patch
          1.0 kB
          Gaudin Pierre

          Activity

            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: