You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by Geoff Howard <co...@leverageweb.com> on 2003/06/03 16:02:51 UTC

Re: The end of the infamous endorsed libs problem : ParanoidCocoonServlet now really paranoid

At 09:42 AM 6/3/2003, you wrote:
>Sylvain Wallez wrote:

>>Such a strong shielding can have some drawbacks, however : if a class is 
>>given by the servlet engine (e.g. a JNDI context) and the same class 
>>exists in the webapp libs (e.g. in jndi.jar), then you're very likely to 
>>get a ClassCastException. This is likely to happen mostly with standard 
>>APIs, and the solution is then to remove the offending library from your 
>>WEB-INF/lib.
>
>Good explanation. Any chance it will get into Javadoc and wiki? ;-)

Can you give a little more info on when we could expect this to 
happen?  Why would I get a class cast exception?

Geoff