This code is worfking fine as
standlone.
ClassLoader.getSystemClassLoader().loadClass(paramStr[1]);
But the same is code is not working in jboss
for javax. package
ClassLoader.getSystemClassLoader().loadClass("javax.mail.Message");
I have kept the mail.jar in lib folder still
it is not
The system class loader is the wrong thing to be using
in JBoss. Read the class loading docs on sourceforge and
then the Thread.getContextClassLoader() javadocs.
--
Scott Stark
Chief Technology Officer
JBoss Group, LLC
Surendranath Reddy Yanam