I was not aware that the servlet specification actually recommends the parent last policy. However, the reality is that (since this is only a recommendation) different application servers behave differently. For example WebSphere uses parent first by default.
Andreas On Fri, Nov 7, 2008 at 05:34, Irantha <[EMAIL PROTECTED]> wrote: > Doesn't this happen with other app servers Weblogic? WebSphere?... > > > > JBoss documentation says this, > > > > "web application class loader diverges from the default Java 2 delegation > model (in accordance with the recommendations in the Servlet Specification, > version 2.3, section 9.7.2 Web Application Classloader). When a request to > load a class from the web application's WebappX class loader is processed, > this class loader will look in the local repositories first, instead of > delegating before looking." > > > > http://www.jboss.org/file-access/default/members/jbossweb/freezone/docs/2.1.0/class-loader-howto.html > > > > -Irantha > > > ----- Original Message ----- From: "Andreas Veithen" > <[EMAIL PROTECTED]> > To: <[email protected]> > Sent: Friday, November 07, 2008 7:44 AM > Subject: Re: Synapse wth JBoss JTA/JMS > > >> On Fri, Nov 7, 2008 at 01:54, Irantha <[EMAIL PROTECTED]> wrote: >>> >>> Yes. Issue is isolated to WAR distribution and happens only when >>> application >>> server's JMS/JTA is used. >> >> ... and a non standard class loading policy (other than simple parent >> first) is used. >> >> Andreas >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> For additional commands, e-mail: [EMAIL PROTECTED] >> > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
