[JBoss-dev] class loader problem

2003-04-04 Thread Surendranath Reddy Yanam
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

Re: [JBoss-dev] class loader problem

2003-04-04 Thread Scott M Stark
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