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.

--
xxxxxxxxxxxxxxxxxxxxxxxx
Scott Stark
Chief Technology Officer
JBoss Group, LLC
xxxxxxxxxxxxxxxxxxxxxxxx

Surendranath Reddy Yanam wrote:
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 working . Same code is working for the default pacakages for ex java.util.Vector is loading successfully.
please help me for the above problem.
Thanks and Regards
surendra




-------------------------------------------------------
This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server
http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to