Re: [OT] WebappClassLoader and undeploy

2009-11-11 Thread Elli Albek
Actually Mark can you take a quick look at the class I sent and see if it makes sense. I swapped juli with commons logging (which is in bin) but now I am not sure this is necessary, this library may already be loaded regardless of this filter. E ---

Re: [OT] WebappClassLoader and undeploy

2009-11-11 Thread Elli Albek
Tomcat 5.5 version + log message when executed: /* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to

Re: [OT] WebappClassLoader and undeploy

2009-11-11 Thread Mark Thomas
Elli Albek wrote: > Sorry Mark. > > Well this class loading scheme (context class loader -> static > variable) sounds little like a bug. Indeed. > Thanks for that startup class. I think it will solve a problem that we > have (using imageio). So you just add it as high up as possible in the > ser

Re: [OT] WebappClassLoader and undeploy

2009-11-10 Thread Elli Albek
Sorry Mark. Well this class loading scheme (context class loader -> static variable) sounds little like a bug. Thanks for that startup class. I think it will solve a problem that we have (using imageio). So you just add it as high up as possible in the server.xml hierarchy? E --

Re: [OT] WebappClassLoader and undeploy

2009-11-10 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mark, On 11/9/2009 6:47 PM, Mark Thomas wrote: > Give this a go: > http://svn.apache.org/repos/asf/tomcat/trunk/java/org/apache/catalina/core/JreMemoryLeakPreventionListener.java You gotta love Sun: private static boolean defaultUseCaches = true