commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject [Jakarta Commons Wiki] Updated: Logging/FrequentlyAskedQuestions
Date Mon, 31 May 2004 08:04:58 GMT
   Date: 2004-05-31T01:04:57
   Editor: RobertBurrellDonkin <>
   Wiki: Jakarta Commons Wiki
   Page: Logging/FrequentlyAskedQuestions

   no comment

Change Log:

@@ -4,8 +4,20 @@
 If someone on the mailing lists has answered your question, why not save everyone else a
lot of trouble by recording the answer here :)
- * ''Create me!''
+== Log4JLogger does not implement Log ==
+I have an exception with message 'Log4JLogger does not implement Log'!
+What's the cause and how can I fix this problem?
+This almost always a classloader issue. Log has been loaded by a different classloader
+from Log4JLogger. Please ensure that:
+ * all the logging classes (both Log and the logging implementations) are deployed by the
same classloader
+ * there is only copy of the classes to be found within the classloader hierarchy. In application
container environments this means ensuring that if the classes are found in a parent classloader,
they are not also present  in the leaf classloader associated with the application. So, if
the jar is deployed within the root classloader of the container then it should be removed
from the application's library.
 Up to [:Logging]

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message