Hi,
On undeploying my web app in Tomcat I got the following message: 5-Feb-2012 16:50:51 org.apache.catalina.startup.ExpandWar deleteDir SEVERE: [C:\Program Files\Apache Software Foundation\apache-tomcat-7.0.25\webapps\xxx\WEB-INF\lib] could not be completely deleted. The presence of the remaining files may cause problems 15-Feb-2012 16:50:51 org.apache.catalina.startup.ExpandWar deleteDir SEVERE: [C:\Program Files\Apache Software Foundation\apache-tomcat-7.0.25\webapps\xxx\WEB-INF] could not be completely deleted. The presence of the remaining files may cause problems 15-Feb-2012 16:50:51 org.apache.catalina.startup.ExpandWar deleteDir SEVERE: [C:\Program Files\Apache Software Foundation\apache-tomcat-7.0.25\webapps\xxx] could not be completely deleted. The presence of the remaining files may cause problems 15-Feb-2012 16:50:51 org.apache.catalina.startup.ExpandWar delete SEVERE: [C:\Program Files\Apache Software Foundation\apache-tomcat-7.0.25\webapps\xxx] could not be completely deleted. The presence of the remaining files may cause problems 15-Feb-2012 16:50:51 org.apache.catalina.startup.HostConfig deployDirectory On investigation I noticed that the following files remained: rampart-1.5.2.mar rahas-1.5.2.mar Why is rampart still loaded? Do I have to explicitly "Disengage" the rampart module when I destroy the axis stubs? I am using Axis2 1.5.6 and Rampart 1.5.2. I also noticed a whole bunch of these: SEVERE: The web application [/xxx] created a ThreadLocal with key of type [org.apache.xmlbeans.impl.store.Locale$1] (value [org.apache.xmlbeans.impl.store.Locale$1@162b084]) and a value of type [java.lang.ref.SoftReference] (value [java.lang.ref.SoftReference@f243e0]) 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. but I ignored them because of issue[1] says it is fixed in 1.5.6 and Tomcat's messages can be ignored. Can anyone shed light on this? Best, James [1] https://issues.apache.org/jira/browse/AXIOM-354 Infoshare Ltd Millennium House 21 Eden Street Kingston upon Thames Surrey KT1 1BL United Kingdom Phone: + 44 (0) 20 8541 0111 Support: + 44 (0) 20 8481 4760 Web: www.infoshare-is.com E-mail: i...@infoshare-is.com Infoshare Ltd is registered in England and Wales. Registered Office as above. Registered Number 2877612 VAT Number GB 678 1443 10 The content of this e-mail (and any attachment to it) is confidential. Any views or opinions do not represent the views or opinions of Infoshare Ltd. If you have received this e-mail in error please notify the sender and delete it. You may not use, copy or disclose the information in any way. Infoshare Ltd monitors incoming and outgoing e-mails. Please consider the environment. Do you really need to print this email?