webappClassLoader.clearJbdc=A web application registered the JBDC driver [{0}] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered.
webappClassLoader.clearRmiInfo=Failed to find class sun.rmi.transport.Target to clear context class loader. This is expected on non-Sun JVMs.
webappClassLoader.clearRmiFail=Failed to clear context class loader referenced from sun.rmi.transport.Target
+webappClassLoader.clearThreadLocalDebug=A web application created a ThreadLocal with key of type [{0}] (value [{1}]). The ThreadLocal has been correctly set to null and the key will be removed by GC. However, to simplify the process of tracing memory leaks, the key has been forcibly removed.
webappClassLoader.clearThreadLocal=A web application created a ThreadLocal with key of type [{0}] (value [{1}]) and a value of type [{2}] (value [{3}]) but failed to remove it when the web application was stopped. To prevent a memory leak, the ThreadLocal has been forcibly removed.
webappClassLoader.clearThreadLocalFail=Failed to clear ThreadLocal references
webappClassLoader.stopThreadFail=Failed to terminate thread named [{0}]
args[2] = value.getClass().getCanonicalName();
args[3] = value.toString();
}
- log.error(sm.getString(
- "webappClassLoader.clearThreadLocal",
- args));
+ if (value == null) {
+ if (log.isDebugEnabled()) {
+ log.debug(sm.getString(
+ "webappClassLoader.clearThreadLocal",
+ args));
+ }
+ } else {
+ log.error(sm.getString(
+ "webappClassLoader.clearThreadLocal",
+ args));
+ }
mapRemove.invoke(map, entry);
}
}