<html><body>
<p><tt><font size="4">&gt;&gt;&gt;Anyone know a reason why we shouldn't change forName() to the class loader version?&lt;&lt;&lt;<br>
</font></tt><br>
<tt><font size="4">Yes, if you're not using the context class loader in your app but your own one. Moreover, I think that the thread context classloader may be null in certain cases (ie: when not running from a web app server).</font></tt><br>
<tt><font size="4">Here is the java source code (Thread.java):</font></tt><br>
<br>
<tt><font size="4"> &nbsp; public ClassLoader getContextClassLoader() {</font></tt><br>
<tt><font size="4">        if (contextClassLoader == null)</font></tt><br>
<tt><font size="4">         &nbsp; &nbsp;return null;</font></tt><br>
<br>
<br>
<tt><font size="4">I do not really understand the JBoss problem. It seems that the Class.forName() is called from a base class loaded with a system classloader. When and how does this happens? On which JDOM class?</font></tt><br>
<br>
<tt><font size="4">Phil.</font></tt></body></html>