I am using an ear deployment on
Jboss portal 2.4 (App server is 4.0.5) and my application refers to 2 third party jars. These third party jars refers to System classloader by using ClassLoader.getSystemClassLoader(). So it is necessary to load these 2 third party jars using System class loader to make it work properly. When I deploy the ear to jboss , by default these jar files are loaded using "WebAppLoader" of Jboss and program execution halts at one point where third party jars compare it's class loader with system class loader, since comparison result is false. Is there any way by which these jars are put in either server configuration directory (e.g. <jboss-home>/server/default) or any of its sub directories and can be loaded using System class loader.
Thanks in advance.
Abhijeet
[ July 25, 2007: Message edited by: Abhijeet Vaidya ]