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

Axis2.0 : 1.6.2 : Memory Leak Issue

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Not A Problem
    • Affects Version/s: 1.6.2
    • Fix Version/s: None
    • Component/s: databinding, transports
    • Environment:
      Axis2.0 version used : 1.6.2
      NSJSP7.0 and ITP webserver 7.2 for HP Nonstop Tandem

      Description

      I'm facing below error message after deploying a webservice using Axis2.0 in webserver.

      Mon, Apr 30, 16:08:27;$Z0QF;INFO;StandardService#stopInternal;Stopping service NSJSP
      Mon, Apr 30, 16:08:29;$Z0QF;SEVERE;WebappClassLoader#clearReferencesThreads;The web application [/PSAPI-V1-0/axis2] is still processing a request that has yet to finish. This is very likely to create a memory leak. You can control the time allowed for requests to finish by using the unloadDelay attribute of the standard Context implementation.
      Mon, Apr 30, 16:08:29;$Z0QF;SEVERE;WebappClassLoader#checkThreadLocalMapForLeaks;The web application [/PSAPI-V1-0/axis2] created a ThreadLocal with key of type [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@2465e5]) and a value of type [org.apache.axis2.context.MessageContext] (value [[MessageContext: logID=3fecb85757bee1e6fd9cdc8eb6a0e146d5c1eaa7dd28d0e7]]) but failed to remove it when the web application was stopped. Threads are going to be renewed over time to try and avoid a probable memory leak.
      Mon, Apr 30, 16:08:29;$Z0QF;SEVERE;WebappClassLoader#checkThreadLocalMapForLeaks;The web application [/PSAPI-V1-0/axis2] created a ThreadLocal with key of type [org.apache.axiom.util.UIDGenerator$1] (value [org.apache.axiom.util.UIDGenerator$1@b103dd]) and a value of type [long[]] (value [[J@174d4c9]) but failed to remove it when the web application was stopped. Threads are going to be renewed over time to try and avoid a probable memory leak.
      Mon, Apr 30, 16:08:29;$Z0QF;INFO;AbstractProtocolHandler#stop;Stopping ProtocolHandler ["http-bio-0"]

      As per error logs i understand that "Axis2.0 - framework" is not able to delete/failed to cleanup a thread. Please provide me with resolution if any.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              santhosh561 Santhosh
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 972h
                972h
                Remaining:
                Remaining Estimate - 972h
                972h
                Logged:
                Time Spent - Not Specified
                Not Specified