[jboss-dev] Why no commons-codec in AS5?

Scott Stark sstark at redhat.com
Thu Jan 22 09:44:04 EST 2009


I'm guessing the dependency on commons-httpclient is related to the now 
obsolete webdav netboot capability? Otherwise, maybe its from an http 
remoting thingy. If we do bundle commons-httpclient, we should also 
include commons-codec.

Stan Silvert wrote:
> Was this just an oversight or was there some specific reason it was 
> not included?  commons-httpclient.jar is in commons/lib and it depends 
> on commons-codec.
>
> The problem I'm having is that the RichFaces demo has:
> <jboss-web>
>    <class-loading>
>        <loader-repository>
>            
> org.richfaces.samples.richfaces-demo:loader=richfaces-demo-jee5.war
>            
> <loader-repository-config>java2ParentDelegation=true</loader-repository-config> 
>
>        </loader-repository>
>    </class-loading>
> </jboss-web>
>
> It includes commons-httpclient and commons-codec in WEB-INF/lib.  
> Since parent delegation is true it will use commons-httpclient from 
> commons/lib and then fail because it can't find commons-codec.
>
> So there are two ways to fix it.  Either remove commons-httpclient 
> from commons/lib or add commons-codec.
>
> Who is depending on commons-httpclient and how would I know this so I 
> would know who to ask?
>
> Stan
> _______________________________________________
> jboss-development mailing list
> jboss-development at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/jboss-development




More information about the jboss-development mailing list