We found this issue exists in the json-rpc webapp sample as well. Seems to be something common between the web service based bindings. Does not occur in the native tuscany bindings.
Please let me know if you need the memory dump for any of the samples. Thanks, Nithya --- On Fri, 7/17/09, Simon Laws <[email protected]> wrote: From: Simon Laws <[email protected]> Subject: Re: Restarting webapp leads to OutOfMemory: Permgen space To: "tuscany-user" <[email protected]> Date: Friday, July 17, 2009, 5:01 AM I've made a bit of progress with this. I went through making sure that various things that looked suspicious are tidied up on shutdown.One of the issues I'm up against now is an Axis problem [1] which wasn't fixed until 1.5 [2]. The Axis listener manager shoudown hook isn't removed on stop. It has a link right through to the anonymous class (TuscanyServletFilter$1) that is created to represent the ServletConfig by TuscanyServletFilter. This anonymous class will be linked straight back to the web app classloader and hence it's problematic. Anyone any ideas about how to break this link between the application shutdown hook and the servlet config without upgrading to axis 1.5? Regards Simon [1] https://issues.apache.org/jira/browse/AXIS2-3732 [2] http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/engine/ListenerManager.java?r1=724507&r2=726705&pathrev=726705
