Folks, I know this is a well known problem which is also well documented in this BUG http://issues.apache.org/bugzilla/show_bug.cgi?id=26135
I have run across same problem and my application seem to run into OutofMemory errors after 5 restarts. I have implemented the Introspector.flushCaches() thing to do a final cleanup before the context is unloaded but it has no effect on my memory usage. What i have found from the BUGZILLA and archives.. is that there is NO certain fix for this problem and hot reloading is not advisable. Period. Am I right? Is this a good advise going forward to my clients?? Thx.. AJ