<div>do you have a </div><div><br></div><div>            &lt;drivers&gt;</div><div>                &lt;driver module=&quot;oracle.jdbc&quot;/&gt;</div><div>            &lt;/drivers&gt;</div><div><br></div><div>in your configuration at datasources subsystem?</div>
<br><div class="gmail_quote">On Wed, May 4, 2011 at 11:39 AM,  <span dir="ltr">&lt;<a href="mailto:paulwerder@fastmail.co.uk">paulwerder@fastmail.co.uk</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hi JBoss devs,<br>
I&#39;m testing Oracle connectivity using a 10.2 JDBC Driver (ojdbc14.jar).<br>
Seems there are some issues- has anyone managed to connect to an Oracle<br>
DB ?<br>
This is what the server reports:<br>
<br>
 report<br>
   New missing/unsatisfied dependencies:<br>
      service jboss.jdbc-driver.&quot;oracle.jdbc.driver.OracleDriver&quot;.10.2<br>
      (missing)<br>
<br>
And my configuration:<br>
<br>
&lt;datasource jndi-name=&quot;java:/OracleDS&quot; pool-name=&quot;OracleDS&quot;<br>
enabled=&quot;true&quot; use-java-context=&quot;true&quot;&gt;<br>
                    &lt;connection-url&gt;<br>
                        jdbc:oracle:thin:@192.168.1.1:1530:ORACLESID<br>
                    &lt;/connection-url&gt;<br>
                    &lt;driver-class&gt;<br>
                        oracle.jdbc.driver.OracleDriver<br>
                    &lt;/driver-class&gt;<br>
                    &lt;driver&gt;<br>
                        oracle.jdbc.driver.OracleDriver#10.2<br>
                    &lt;/driver&gt;<br>
                    &lt;pool&gt;<br>
                        &lt;prefill&gt;<br>
                            true<br>
                        &lt;/prefill&gt;<br>
                        &lt;use-strict-min&gt;<br>
                            false<br>
                        &lt;/use-strict-min&gt;<br>
                    &lt;/pool&gt;<br>
                    &lt;security&gt;<br>
                        &lt;user-name&gt;test&lt;/user-name&gt;<br>
                        &lt;password&gt;test&lt;/password&gt;<br>
                    &lt;/security&gt;<br>
                    &lt;validation&gt;<br>
                        &lt;validate-on-match&gt;<br>
                            false<br>
                        &lt;/validate-on-match&gt;<br>
                        &lt;background-validation&gt;<br>
                            false<br>
                        &lt;/background-validation&gt;<br>
                        &lt;useFastFail&gt;<br>
                            false<br>
                        &lt;/useFastFail&gt;<br>
                    &lt;/validation&gt;<br>
                    &lt;statement/&gt;<br>
                &lt;/datasource&gt;<br>
<br>
I&#39;ve chosen to install the JDBC driver as a module, so under the<br>
&quot;modules&quot; folder I&#39;ve added:<br>
oracle<br>
└───jdbc<br>
    └───main<br>
            module.xml<br>
            ojdbc14.jar<br>
            ojdbc14.jar.index<br>
<br>
Last thing, the module.xml:<br>
<br>
&lt;module xmlns=&quot;urn:jboss:module:1.0&quot; name=&quot;oracle.jdbc&quot;&gt;<br>
  &lt;resources&gt;<br>
    &lt;resource-root path=&quot;ojdbc14.jar&quot;/&gt;<br>
        &lt;!-- Insert resources here --&gt;<br>
  &lt;/resources&gt;<br>
  &lt;dependencies&gt;<br>
    &lt;module name=&quot;javax.api&quot;/&gt;<br>
  &lt;/dependencies&gt;<br>
&lt;/module&gt;<br>
<br>
Can you find any reason why the driver does not get deployed ?<br>
(I&#39;ve tried also adding META-INF/services/java.sql.Driver with the<br>
driver class name- it didn&#39;t help however).<br>
Thanks a lot<br>
Paul<br>
--<br>
<br>
  <a href="mailto:paulwerder@fastmail.co.uk">paulwerder@fastmail.co.uk</a><br>
<font color="#888888"><br>
--<br>
<a href="http://www.fastmail.fm" target="_blank">http://www.fastmail.fm</a> - IMAP accessible web-mail<br>
<br>
<br>
_______________________________________________<br>
jboss-as7-dev mailing list<br>
<a href="mailto:jboss-as7-dev@lists.jboss.org">jboss-as7-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/jboss-as7-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/jboss-as7-dev</a><br>
</font></blockquote></div><br><br clear="all"><br>-- <br>---<br>Nik<br>