On Wed, 14 Aug 2002, Remy Maucherat wrote: > [EMAIL PROTECTED] wrote: > > I love classloaders and reverse delegation... > > Speaking of which, I think we should stop using the delegation scheme > recommended by the servlet spec (ie, look first in own repositories, > then delegate). The idea is that it is only recommended, it is > essentially broken and is creating a lot of problems. > I also do not believe that overriding shared libraries is a valid use > case for the average Tomcat user. > > So I propose that: > - the default for the webapp CL is to set "delegate" to "true" > - as before, the value of "delegate" can be changed in server.xml > > <ballot> > +1 [X] Yes, CL delegation should follow the standard model > -1 [ ] No, the webapp CL shouldn't delegate first, keeping the > recommended model in the spec (which is convenient but broken) > </ballot>
I agree it is valuable in some cases to not delegate - but we've seen far too many problems. It's better to let those who really need this and know what they're doing turn this on. BTW, ant has also deprecated the 'reverse' loader, due to too many problems. Costin > > Remy > > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> > > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>