According to http://yzb.hit.edu.cn/docs/class-loader-howto.html, everything in the system classpath will be visible to webapps, and hence will override the classes in the webapps, I think. So, the solution would be to implement a bootstrap mechanism, just like org.apache.catalina.startup.Bootstrap, is it?
On Wed, Apr 13, 2011 at 7:35 PM, Afkham Azeez <afk...@gmail.com> wrote: > Hi, > We are using Embedded Tomcat 7.0.11. It seems that with Embedded Tomcat, > the default is parent-first class loading, even though the default in the > Tomcat binary distribution is child-first. Is there a way to setup > child-first class loading in Embedded Tomcat? > > Thanks > Azeez > -- *Afkham Azeez* Senior Software Architect & Senior Manager; WSO2, Inc.; http://wso2.com, * * *Member; Apache Software Foundation; **http://www.apache.org/*<http://www.apache.org/> * email: **az...@wso2.com* <az...@wso2.com>* cell: +94 77 3320919 blog: **http://blog.afkham.org* <http://blog.afkham.org>* twitter: **http://twitter.com/afkham_azeez*<http://twitter.com/afkham_azeez> * linked-in: **http://lk.linkedin.com/in/afkhamazeez* * * *Lean . Enterprise . Middleware* * *