Uploaded image for project: 'Forrest'
  1. Forrest
  2. FOR-1082

Concurrency testing of the locationmap throws errors

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Locationmap
    • Labels:
      None

      Description

      http://marc.info/?t=120180448900001&r=1&w=2
      The problem that I encounter is that the locationmap is throwing an
      error as soon as there are concurrent user.

      Try
      <map:match pattern="test">
       <map:generate src="lm://transform.html.document"/>
      <map:serialize />
      </map:match>

      Doing some testing in my case I use jmeter with 250 threads and 100 loop
      where the ramp-up time is 20.

      This provokes that the input module is requested on the startup with
      more then one request. It seems that the requests are issued as fast
      that the module seems to fail to finish to load the first time the
      locationmap.

      I changed
      public synchronized Object getAttribute(...)
      which seems to fix the problem.

      However we may want to look into a possibility to prevent using the synchronized in the whole method.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              thorsten Thorsten Scherler
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: