tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Remy Maucherat <r...@apache.org>
Subject Re: svn commit: r691730 - /tomcat/tc6.0.x/trunk/STATUS.txt
Date Wed, 03 Sep 2008 22:49:45 GMT
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: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message