Hi,
The title of this thread should be: Axis2 module temporary files. Looking at this issue: https://issues.apache.org/jira/browse/AXIS2-3919 I think it describes my problem - one of the comments says it happens with a web service client. Another comment by Matthias Gaiser suggests trying to explode the .mar files as a workaround. I have tried this but don't know where to put them. Any suggested solution should also cater for multiple mar archives where the contents of the meta-inf folder names are the same across each. Cheers, From: James Annesley [mailto:james.annes...@infoshare-is.com] Sent: 15 February 2012 18:46 To: java-user@axis.apache.org Subject: RE: [Rampart] Hi, To answer my own question: This happened because I accidently deleted the Temp folder in Tomcat. Incidentally, the reason why I am messing with this folder is because Axis leaves behind temporary folders. These build up over time and eventually slow down the server. This should definitely not be occurring and it is a bug. I now point the finger at Rampart as it seems to be depending upon this folder. James From: James Annesley [mailto:james.annes...@infoshare-is.com] Sent: 15 February 2012 17:01 To: java-user@axis.apache.org Subject: [Rampart] 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: http://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? 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: http://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? 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?