Changing the Class Loading in Sun Java Application Server

By Default in Sun Java Application Server the Class Loading is parent first. Is there anyway we can change in the AppServer thru Configuration to look local first instead of delegating to parent. This is possible in WebSphere App Server.
[244 byte] By [mrkb] at [2007-11-26 11:02:52]
# 1

Can you try setting setting delegate="false" in the class-loader element of the sun-web.xml file?

Pl. refer to:

http://docs.sun.com/app/docs/doc/819-2556/6n4rap8ue?a=view#indexterm-1080

...Superelements

sun-web-app (sun-web.xml)

The following table describes subelements for the class-loader element.

...

Attributes

...

delegate, true, (optional) If true, the web module follows the standard class loader delegation model and delegates to its parent class loader first before looking in the local class loader. You must set this to true for a web application that accesses EJB components or that acts as a web service client or endpoint.

If false, the web module follows the delegation model specified in the Servlet specification and looks in its class loader before looking in the parent class loader. It抯 safe to set this to false only for a web module that does not interact with any other modules.

...

Also: http://docs.sun.com/source/817-5448/dgdeploy.html#wp58491

KarthikR at 2007-7-7 3:16:43 > top of Java-index,Development Tools,Java Tools...