title: jboss 7 oracle datasource configuration
body: <p>I'm currently migrating from jboss 4.3 to jboss 7.1.1 (Final) and i'm trying to configure an oracle datasource but it's not working. Following is what I've done to setup an oracle datasource</p>
  
  <p>1)Downloaded ojdbc6-11.jar and placed it inside the folder $JBOSS_HOME/modules/com/oracle/ojdbc6/main</p>
  
  <p>2)Created the file module.xml under $JBOSS_HOME/modules/com/oracle/ojdbc6/main and this is the content of the file</p>
  
  <pre><code>&lt;module xmlns="urn:jboss:module:1.0" name="com.oracle.ojdbc6"&gt;
    &lt;resources&gt;
      &lt;resource-root path="ojdbc6.jar"/&gt;
    &lt;/resources&gt;
    &lt;dependencies&gt;
      &lt;module name="javax.api"/&gt;
    &lt;/dependencies&gt;
  &lt;/module&gt;
  </code></pre>
  
  <p>3)Added the following driver and datasource inside standalone.xml</p>
  
  <pre><code>&lt;drivers&gt;
    &lt;driiver name="oracle" module="com.oracle.ojdbc6"&gt;
      &lt;xa-datasource-class&gt;oracle.jdbc.OracleDriver&lt;/xa-datasource-class&gt;
    &lt;/driver&gt;
  &lt;/drivers&gt;
  
  &lt;datasource jndi-name="java:/Altis" pool-name="Altis" enabled="true" use-java-context="true"&gt;
    &lt;connection-url&gt;connurl&lt;/connection-url&gt;
    &lt;driver&gt;oracle&lt;/driver&gt;
    &lt;security&gt;
      &lt;user-name&gt;username&lt;/user-name&gt;
      &lt;password&gt;passwd&lt;/password&gt;
    &lt;/security&gt;
  &lt;/datasource&gt;
  &lt;/datasources&gt;
  </code></pre>
  
  <p>However, when I deploy my war file, i get the following error</p>
  
  <pre><code>16:54:43,281 INFO  [org.jboss.as.server] (HttpManagementService-threads - 2) JBA
  S015870: Deploy of deployment "altisavante.war" was rolled back with failure mes
  sage {"JBAS014771: Services with missing/unavailable dependencies" =&gt; ["jboss.na
  ming.context.java.module.altisavante.altisavante.env.Altisjboss.naming.context.j
  ava.AltisMissing[jboss.naming.context.java.module.altisavante.altisavante.env.Al
  tisjboss.naming.context.java.Altis]"]}
  </code></pre>
  
  <p>Am I missing anything?</p>