commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Jakarta-commons Wiki] Update of "Logging/FrequentlyAskedQuestions" by SimonKitching
Date Fri, 05 Aug 2005 23:08:27 GMT
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: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message