This is just great work! Thanks a lot!

|
| I then added a call to Introspector.flushCaches() in
| SimpleServlet.destroy() after the call to LogManager.shutdown().  With
| this additional line of code, test case 3 is now successful - the web
| app classes and the tomcat web app class loader are now garbage
| collected.

I guess this should even be done all the way down in the Servlet
Container? I mean, other Servlets might use the bean Introspector too?

Are there any other such "hacks" of this particular class-caching kind
hidden in Java?! Things that you wouldn't think of when doing ClassLoader
manipulation?

Endre


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to