[jira] [Updated] (OFBIZ-9534) exception in service semaphore in wait mode and with multi thread calls

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Updated] (OFBIZ-9534) exception in service semaphore in wait mode and with multi thread calls

Nicolas Malin (Jira)

     [ https://issues.apache.org/jira/browse/OFBIZ-9534?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gaudin Pierre updated OFBIZ-9534:
---------------------------------
    Attachment: semaphore.patch

> exception in service semaphore in wait mode and with multi thread calls
> -----------------------------------------------------------------------
>
>                 Key: OFBIZ-9534
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-9534
>             Project: OFBiz
>          Issue Type: Bug
>          Components: framework
>    Affects Versions: Trunk
>            Reporter: Gaudin Pierre
>         Attachments: semaphore.patch
>
>
> When service semaphore is use in wait mode with numerous simultaneous calls (multi thread), it happens that the service semaphore goes raises an exception when it tries to record in database the semaphore. 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



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
Reply | Threaded
Open this post in threaded view
|

Re: [jira] [Updated] (OFBIZ-9534) exception in service semaphore in wait mode and with multi thread calls

barek1337325
While reading an article about how gaming connects people across the world, I noticed someone mention play jonny in the comments. I thought I’d see what the fuss was about. I started with blackjack, my favorite because it mixes logic with luck. My first few hands were bad — really bad — and I almost gave up. But then came one of those rounds where everything just lines up. I doubled my balance and decided to stop while ahead. It wasn’t the money that mattered; it was that feeling of satisfaction after staying patient and letting fortune turn around.