axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Amila Suriarachchi <amilasuriarach...@gmail.com>
Subject Re: Possible memory leak in Axis2 1.4.1?
Date Tue, 09 Mar 2010 05:02:25 GMT
On Mon, Mar 8, 2010 at 8:55 PM, Chinmoy Chakraborty <cchinu@gmail.com>wrote:

> Hi All,
>
> I have an application which uses Axis2 1.4.1. When we have Axis2 configured
> (servlet mappings) in web.xml we get following error in Tomcat 6.0.24.
>
> "*A web application appears to have started a thread named [Timer-0] but
> has failed to stop it. This is very likely to create a memory leak*".


 Axis2 starts a new timer task to pool the deployment directory. This could
be this thread.
try switch offing hotUpdate
<parameter name="hotdeployment">false</parameter>

thanks,
Amila.

>
> According to tomcat developers this happens when an app starts a thread but
> never stops it. Tomcat tries to stop the thread (6.0.22 onwards) if tomcat
> fails to stop the thread, it gives above message.
>
> If we comment out Axis2 servlet mappings in web.xml we do not get the
> error.
>
> Any comments?
>
> Chinmoy
>
>


-- 
Amila Suriarachchi
WSO2 Inc.
blog: http://amilachinthaka.blogspot.com/

Mime
View raw message