[
https://issues.apache.org/jira/browse/AXIS2-5310?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13265708#comment-13265708
]
Andreas Veithen commented on AXIS2-5310:
----------------------------------------
Do you have any evidence that the class loader is indeed not garbage collected
and that it's Axis2's fault (and not your service's)? Note that the messages
generated by Tomcat are not evidence because they are not reliable as explained
above.
> Axis2.0 : 1.6.2 : Memory Leak Issue
> ------------------------------------
>
> Key: AXIS2-5310
> URL: https://issues.apache.org/jira/browse/AXIS2-5310
> Project: Axis2
> Issue Type: Bug
> Components: databinding, transports
> Affects Versions: 1.6.2
> Environment: Axis2.0 version used : 1.6.2
> NSJSP7.0 and ITP webserver 7.2 for HP Nonstop Tandem
> Reporter: Santhosh
> Labels: Memory, leak, performance
> Original Estimate: 972h
> Remaining Estimate: 972h
>
> 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.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]