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

RequestContextImpl is not cleaned up on undeploy

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0.1
    • 2.0.3
    • "New" API
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: