Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
18.12.16
-
None
-
Virtual Machine:
OS: RHEL 8.9
VCPU: 16
Total RAM: 64 GB
Heap allocation (Xmx): 8 GB
-
Important
Description
While performance-testing Ofbiz 18 under high load (200 concurrent users), we have observed an intermittent error, stating "null DispatchContext".
While doing more analysis, we realized it is a thread-safety issue, and it was fixed by adding the 'synchronized' keyword to the following method signatures in ServiceDispatcher.java:
public static synchronized getInstance (Delegator delegator)
public static synchronized void register (DispatchContext context)