Re: Workaround for misbehaving ClassLoader

2023-05-09 Thread Mark Thomas
On 05/05/2023 21:42, Christopher Schultz wrote: Mark, On 5/4/23 04:09, Mark Thomas wrote: On 03/05/2023 20:02, Christopher Schultz wrote: But my question is whether or not this is something that Tomcat should be working-around. IMO the parent ClassLoader is buggy and should be fixed, but i

Re: Workaround for misbehaving ClassLoader

2023-05-05 Thread Christopher Schultz
Mark, On 5/4/23 04:09, Mark Thomas wrote: On 03/05/2023 20:02, Christopher Schultz wrote: But my question is whether or not this is something that Tomcat should be working-around. IMO the parent ClassLoader is buggy and should be fixed, but it may be difficult or impossible to fix the paren

Re: Workaround for misbehaving ClassLoader

2023-05-04 Thread Mark Thomas
On 03/05/2023 20:02, Christopher Schultz wrote: But my question is whether or not this is something that Tomcat should be working-around. IMO the parent ClassLoader is buggy and should be fixed, but it may be difficult or impossible to fix the parent, so it may be worth it. We could even l

Re: Workaround for misbehaving ClassLoader

2023-05-03 Thread koteswara Rao Gundapaneni
Dear chris, I will take care about it and update it accordingly Regards, Koti On Wed, May 3, 2023 at 12:02 PM Christopher Schultz < ch...@christopherschultz.net> wrote: > All, > > Please check this thread for full details: > https://lists.apache.org/thread/of5ozg43zyk729cg311dktjcv3swct26 > >

Re: Workaround for misbehaving ClassLoader

2023-05-03 Thread Romain Manni-Bucau
Hi Chris, Fixing the parent in this project is quite easy, if the OSGi bundle.getResources returns null then return emptyEnumeration instead of the direct result of the call but generally speaking this is a valid statement but I guess Tomcat can await some other hit of this issue to push forward a

Workaround for misbehaving ClassLoader

2023-05-03 Thread Christopher Schultz
All, Please check this thread for full details: https://lists.apache.org/thread/of5ozg43zyk729cg311dktjcv3swct26 Briefly, a user reported this NPE: Apr 29, 2023 5:41:32 PM org.apache.catalina.core.StandardContext listenerStart SEVERE: Exception sending context initialized event to listener i