If you ask yourself, here is the way:
https://cwiki.apache.org/confluence/display/OFBIZ/OFBiz+Contributors+Best+Practices#OFBizContributorsBestPractices-HowtocreateaJiraissue

Jacques

Le 14/10/2024 à 17:58, Nicolas Malin a écrit :
Hello Mayank,

Thanks for this return.

Can you open a issue (Jira or github PR or both) with your improvement ?

Nicolas

Le 14/10/2024 à 12:33, Mayank Shridhar a écrit :
Dear all,
We are using Ofbiz 18 for a project of ours, and while performance-testing it with high load (such as 200 concurrent users with JMeter), we have run into situations where - for some tenants, it does not find the Dispatcher.
We tried debugging it a bit from our end and found it to be a thread-safety 
issue.
In the ServiceDispatcher.java class, we added the synchronized keyword on the 
following 2 method signatures and then it seemed to work fine:
public static synchronized getInstance (Delegator delegator)
public static synchronized void register (DispatchContext context)
Please let me know how can this be checked into the main branch for Ofbiz so 
that it becomes a part of the main release after proper validation.
Thanks,Mayank

Reply via email to