--- StandardContext.java~ 2006-03-16 03:09:47.000000000 +0000 +++ StandardContext.java~ 2006-03-16 03:09:47.000000000 +0000 @@ -4153,6 +4153,10 @@ } finally { // Unbinding thread unbindThread(oldCCL); + // Reinitialize logger again. We are done with impersonating + // the web-app execution context. + logger = null; + getLogger(); if (!mainOk) { // An exception occurred // Register with JMX anyway, to allow management