title: Services with missing/unavailable dependencies
body: <p>Any idea why I'm getting this error:</p>
  
  <pre><code>JBAS014775:    New missing/unsatisfied dependencies:
    service jboss.jdbc-driver.mysql (missing) dependents: [service jboss.data-source.jboss/datasources/UserDS] 
  </code></pre>
  
  <hr>
  
  <pre><code>ERROR [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1) `{"JBAS014653: Composite operation failed and was rolled back. Steps that failed:" =&gt; {"Operation step-2" =&gt; {"JBAS014771: Services with missing/unavailable dependencies" =&gt; ["jboss.data-source.jboss/datasources/UserDSjboss.jdbc-driver.com_mysql_jdbcMissing[jboss.data-source.jboss/datasources/UserDSjboss.jdbc-driver.com_mysql_jdbc]"]}}}`
  </code></pre>
  
  <p><strong>persistence.xml</strong></p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
      &lt;persistence version="2.0"
         xmlns="http://java.sun.com/xml/ns/persistence" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xsi:schemaLocation="
              http://java.sun.com/xml/ns/persistence
              http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd"&gt;
         &lt;persistence-unit name="primary"&gt;
            &lt;jta-data-source&gt;java:jboss/datasources/UserDS&lt;/jta-data-source&gt;
            &lt;properties&gt;
               &lt;!-- Properties for Hibernate --&gt;
               &lt;property name="hibernate.hbm2ddl.auto" value="create-drop" /&gt;
               &lt;property name="hibernate.show_sql" value="true" /&gt;
            &lt;/properties&gt;
         &lt;/persistence-unit&gt;
      &lt;/persistence&gt;
  </code></pre>
  
  <hr>
  
  <p><strong>mydatasource-ds.xml</strong></p>
  
  <pre><code>    &lt;?xml version="1.0" encoding="UTF-8"?&gt;
              &lt;datasources xmlns="http://www.jboss.org/ironjacamar/schema"
                  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
                  xsi:schemaLocation="http://www.jboss.org/ironjacamar/schema http://docs.jboss.org/ironjacamar/schema/datasources_1_0.xsd"&gt;
                  &lt;datasource jndi-name="java:jboss/datasources/UserDS" pool-name="kitchensink-quickstart" 
                      enabled="true" use-java-context="true"&gt;
                      &lt;!-- jdbc:h2:mem:kitchensink-quickstart;DB_CLOSE_ON_EXIT=FALSE;DB_CLOSE_DELAY=-1 --&gt;
                      &lt;connection-url&gt;
                          jdbc:mysql://localhost:3306/test
                      &lt;/connection-url&gt;
                      &lt;driver&gt;mysql&lt;/driver&gt;
                      &lt;security&gt;
                          &lt;user-name&gt;root&lt;/user-name&gt;
                          &lt;password&gt;root&lt;/password&gt;
                      &lt;/security&gt;
                  &lt;/datasource&gt;
              &lt;/datasources&gt;
  </code></pre>
  
  <hr>
  
  <p>module.xml</p>
  
  <pre><code>&lt;module xmlns="urn:jboss:module:1.0" name="com.mysql"&gt;
        &lt;resources&gt;
          &lt;resource-root path="mysql-connector-java-5.1.22.jar"/&gt;
        &lt;/resources&gt;
        &lt;dependencies&gt;
          &lt;module name="javax.api"/&gt;
        &lt;/dependencies&gt;
      &lt;/module&gt;
  </code></pre>