Uploaded image for project: 'Portlet Bridge'
  1. Portlet Bridge
  2. PBR-408

RequestScopeManager implements a non thread safe HashMap and causes infinite loop due to concurrent access.

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 2.3.1.Final
    • Fix Version/s: 2.Future
    • Component/s: None
    • Labels:
      None

      Description

      We've seen infinite loops trying to fill same data over and over during session replication in a cluster. This data is a HashMap of org.jboss.portletbridge.RequestScopeManager$LRUMap. It looks like some concurrent access here to the RequestScopeManager could have thrown this HashMap.writeObject() call into an infinite loop to fill the byte[]s here(HashMaps aren't safe for concurrent access and can get stuck into infinite loops).

      The RequestScopeManager has implemented a non thread safe LinkedHashMap. Please make this HashMap a thread safe one.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                kenfinni Ken Finnigan
                Reporter:
                ghjboss Gary Hu
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: