On Mon, Mar 8, 2010 at 8:55 PM, Chinmoy Chakraborty <cch...@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/