Any idea how to fix my classloading problem described below?<br><br><div class="gmail_quote">On Fri, Apr 4, 2008 at 5:28 PM, Jay Kraly &lt;<a href="mailto:jaykraly@gmail.com">jaykraly@gmail.com</a>&gt; wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I have a security realm setup similar to the DatabaseServerLoginModule which uses jndi to retrieve a datasource defined in an oracle-ds.xml file.&nbsp; Everything works fine when UseJBossWebLoader is set to true, however if I set this to false, the datasource returned by the initial context lookup is null.&nbsp; I&#39;m fairly positive that the classloader isn&#39;t able to find my ojdbc14.jar file which contains the oracle driver when UseJBossWebLoader is false.<br>

<br>I&#39;ve tried moving the oracle jar out of my web-app and into the deploy/lib directory as well as a couple other creative locations, but it still won&#39;t load the drivers or connect to the database.<br><br>Any ideas?&nbsp; Thanks in advance.<br>
<font color="#888888">
<br>-J<br>
</font></blockquote></div><br>