Uploaded image for project: 'OFBiz'
  1. OFBiz
  2. OFBIZ-13153

"null DispatchContext" issue under high load and concurrency

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 18.12.16
    • None
    • framework/service
    • 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)

      Attachments

        Activity

          People

            Unassigned Unassigned
            mayankeagle Mayank S
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Time Tracking

                Estimated:
                Original Estimate - 24h
                24h
                Remaining:
                Remaining Estimate - 24h
                24h
                Logged:
                Time Spent - Not Specified
                Not Specified