When a job is created by an instance, there are no information on who will be run it. So if you generate a job form an async service by the instance A, the instance B can execute it.

Check on GenericAsyncEngine.java:108 (trunk) the job creation. If you want to improve this, all contribution are welcome ;)

Nicolas


Le 02/01/2018 à 11:16, Trà Đá Một Mình a écrit :
Hi all,

I met a problem. I have more than one instance running my application. When
I schedules some services using runAsync, ofbiz auto create jobs. And when
job is started, ofbiz pick one of my instances to process. But, in my case:
when I made an request, I dedicated this to instance A, but after that,
when job start, it run on another instance B. I just want to it running on
A.

Thanks!


Reply via email to