diff --git a/xdocs/troubleshooting.xml b/xdocs/troubleshooting.xml index fd4a161..9f6ca59 100644 --- a/xdocs/troubleshooting.xml +++ b/xdocs/troubleshooting.xml @@ -26,6 +26,12 @@
+
Diagnostics is a feature introduced in JCL 1.1 as an aid to debugging problems
@@ -210,15 +216,15 @@ classloader used to load
Some containers use a custom
Containers known to use this mechanism:
Containers suspected to use this mechanism:
@@ -226,7 +232,12 @@ classloader used to load
+The Jakarta Commons team would be grateful if reports were posted to the development list
+of other containers using a custom implementation.
+
@@ -276,7 +287,9 @@ The policy adopted by JCL in this situation is to re-throw this exception. Addit
is included in the message to help diagnosis. The reasoning behind this choice is that a
particular LogFactory and to the TCCL.
LogFactory implementation to adapt JCL to their particular
- logging system. This has some important consequences for deploying applications using JCL within these
- containers.
+ logging system. This has some important consequences for the deployment of applications using JCL within
+ these containers.
LogFactory and to the TCCL.
+ LogFactory implementation has been actively specified and this
choice should not be ignored. This policy has unfortunate consequences when running in
-containers which have custom implementations: the above runtime exception will be thrown.
+containers which have custom implementations: the above runtime exception may be thrown
+under certain classloading policies without the user knowingly specifying a custom
+implementation.
+ If you are happy using another classloading policy for the application, select a
+ classloading policy which ensures that LogFactory will be loaded from the
+ shared classloader containing the custom implementation.
+
If you want to bypass the container adaption mechanism then set the appropriate system property - to it's default value when the container is started: + to the default value when the container is started:
-Dorg.apache.commons.logging.LogFactory=org.apache.commons.logging.impl.LogFactoryImpl