Dear Wiki user, You have subscribed to a wiki page or wiki category on "Jakarta-commons Wiki" for change notification.
The following page has been changed by SimonKitching: http://wiki.apache.org/jakarta-commons/Logging/FrequentlyAskedQuestions The comment on the change is: Added info about java.beans.Introspector ------------------------------------------------------------------------------ ClassLoader contextClassLoader = Thread.currentThread().getContextClassLoader(); LogFactory.release(contextClassLoader); - // optionally, clean up the underlying concrete logging library too + // Optionally, clean up the underlying concrete logging library too. This might + // require direct calls to methods on library-specific methods. + + // And optionally call java.beans.Introspector.flushCaches if your app does any + // bean introspection and your container doesn't flush the caches for you on + // servlet undeploy. Note that this isn't a commons-logging problem; it's something + // quite unrelated which can also cause memory leaks on undeploy. } } }}} The deployment descriptor for the webapp then needs to be updated to specify that the above class should receive context change callbacks. - You can find more information on this topic [wiki:Self:Logging/UndeployMemoryLeak here] + You can find more information on this topic [wiki:Self:Logging/UndeployMemoryLeak here]. ---- --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
