Uploaded image for project: 'Axis2'
  1. Axis2
  2. AXIS2-5673

AxisAdminServlet initialization causes a memory leak

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 1.6.2
    • 1.6.4, 1.7.0
    • admin console
    • None

    Description

      After initialization of the AxisServlet, the initialization of the AxisAdminServlet associates to the ConfigurationContext (Shared amongs AxisServlets) a new ListenerManager overriding the existing one.
      The Listermanager.stop() method is never called on the old one so the system shutdown hook is never removed causing the object to be skipped form the garbage collection.
      This causes a memory leak and the following OutOfMemoryError: PermGen after the axis2 application is reloaded several times.

      Attachments

        1. AXIS2-5673.patch
          1 kB
          Francisco Salvador

        Activity

          People

            Unassigned Unassigned
            pakopa Francisco Salvador
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: