Uploaded image for project: 'Struts 2'
  1. Struts 2
  2. WW-1543

RequestContextImpl is not cleaned up on undeploy

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.1
    • Fix Version/s: 2.0.3
    • Component/s: "New" API
    • Labels:
      None
    • Flags:
      Patch

      Description

      RequestContextImpl maintains a threadlocal with a reference to a context. Since the value is an array of type RequestContextImpl and the threadlocal is never cleared on undeploy of the application the application as a whole cannot be redeployed.

      Either add logic to clear this threadlocal, or change the type of the array to Object[], which should allow the RequestContextImpl class to be GC'ed.

        Attachments

          Activity

            People

            • Assignee:
              mrdon Donald J. Brown
              Reporter:
              rickardoberg Rickard ?berg
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: