tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cost...@covalent.net
Subject Re: [5.0] CL delegation order (was: Re: [5][PATCH]Run Watchdog from the jakarta-tomcat-5 build.xml)
Date Wed, 14 Aug 2002 20:42:54 GMT
On Wed, 14 Aug 2002, Remy Maucherat wrote:

> costinm@covalent.net 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:tomcat-dev-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail: <mailto:tomcat-dev-help@jakarta.apache.org>
> 
> 


--
To unsubscribe, e-mail:   <mailto:tomcat-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-dev-help@jakarta.apache.org>


Mime
View raw message