users@glassfish.java.net

Re: change classloader order?

From: <glassfish_at_javadesktop.org>
Date: Thu, 21 Aug 2008 06:10:53 PDT

The glassfish v2 classloader hierarchy can be found at

http://docs.sun.com/app/docs/doc/819-3672/6n5sj2si0?a=view

The behavior you want should be the default for web applications, as the servlet spec says the .war classes should be loaded first.

Configure the sun-web.xml to load the WEB-INF/classes first

<class-loader delegate=”false”/>

regards

Claudio Miranda
[Message sent by forum member 'claudio' (claudio)]

http://forums.java.net/jive/thread.jspa?messageID=294610