On Wed, 2008-09-03 at 22:02 +0200, Rainer Jung wrote: > Hi Remy, > > What about adding this > > http://people.apache.org/~rjung/patches/ClassLoaderLogManager_Log_AccessControlException.patch > > as well? I tried to squeeze the info in one line in case it is the > expected exception, and only if we really don't understand what's going > on, I still use two lines. > > Expected output (path truncated): > > Sep 3, 2008 9:56:22 PM org.apache.juli.ClassLoaderLogManager > readConfiguration > WARNING: Reading > /.../webapps/examples/WEB-INF/classes/logging.properties is not > permitted. See "per context logging" in the default catalina.policy file.
Ok. > BTW: Do you have a good idea how to get the context name? We have the > WebappClassLoader, but I don't see easily how to get to the context. Any > hints? It would be nice for the second case, i.e. unexpected exception. To get some info on the CL, you could try getURLs()[0].toString(). Not perfect but this avoids custom hacks. Rémy --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]