title: JBoss AS 7.1.1 New missing/unsatisfied dependencies
body: <p>I'm deploying an EAR to JBoss AS 7.1.1 that is structured like this:</p>
  
  <pre><code>GrahamsProj.EAR
      GrahamsProjClient.WAR
          app/GrahamsProjClient.jar
      GrahamsProjServer.EAR
          GrahamsProjServer.jar
  </code></pre>
  
  <p>Every time I deploy the EAR and startup JBoss I get this error:</p>
  
  <pre><code>JBAS014775:    New missing/unsatisfied dependencies:service jboss.deployment.unit."GrahamsProjServer.ear".PARSE (missing) dependents: [service jboss.deployment.subunit."GrahamsProjServer.ear"."GrahamsProjServer.jar".PARSE]
  
  17:19:10,129 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.deployment.subunit.\"GrahamsProjServer.ear\".\"GrahamsProjServer.jar\".PARSEjboss.deployment.unit.\"GrahamsProjServer.ear\".PARSEMissing[jboss.deployment.subunit.\"GrahamsProjServer.ear\".\"GrahamsProjServer.jar\".PARSEjboss.deployment.unit.\"GrahamsProjServer.ear\".PARSE]"]}}}
  </code></pre>
  
  <p>As you can see the error is saying that there are dependencies that my server (GrahamsProjServer.ear) can't find.</p>
  
  <p>I've looked up the error by googling "new missing/unsatisfied dependencies jboss as 7" and I get a wide range of answers. The two common ones seem to be a datasource problem in standalone.xml and a problem with jboss-deployment-structure.xml.</p>
  
  <p>Here is my datasource from standalone.xml:</p>
  
  <pre><code>&lt;datasources&gt;
      &lt;datasource jta="true" jndi-name="java:jboss/datasources/WorkCenterDS" pool-name="OracleDS" enabled="true" use-java-context="true" use-ccm="true"&gt;
          &lt;connection-url&gt;jdbc:oracle:thin:@MCOSRVORCL001:1521:support&lt;/connection-url&gt;
          &lt;driver&gt;oracle&lt;/driver&gt;
          &lt;transaction-isolation&gt;TRANSACTION_READ_COMMITTED&lt;/transaction-isolation&gt;
          &lt;pool&gt;
              &lt;prefill&gt;true&lt;/prefill&gt;
              &lt;use-strict-min&gt;false&lt;/use-strict-min&gt;
              &lt;flush-strategy&gt;FailingConnectionOnly&lt;/flush-strategy&gt;
          &lt;/pool&gt;
          &lt;security&gt;
              &lt;user-name&gt;grahamsproj&lt;/user-name&gt;
              &lt;password&gt;airit&lt;/password&gt;
          &lt;/security&gt;
      &lt;/datasource&gt;
      &lt;drivers&gt;
          &lt;driver name="oracle" module="com.oracle.ojdbc14"&gt;
              &lt;xa-datasource-class&gt;oracle.jdbc.OracleDriver&lt;/xa-datasource-class&gt;
          &lt;/driver&gt;
      &lt;/drivers&gt;
  &lt;/datasources&gt;
  </code></pre>
  
  <p>Here is the <code>jboss-deployment-structure.xml</code> that's located in my WAR file's WEB-INF folder.</p>
  
  <pre><code>&lt;jboss-deployment-structure&gt;
      &lt;ear-subdeployments-isolated&gt;false&lt;/ear-subdeployments-isolated&gt;
      &lt;deployment&gt;
          &lt;dependencies&gt;
              &lt;module name="GrahamsProjServer.GrahamsProjServer.jar"/&gt;
          &lt;/dependencies&gt;
      &lt;/deployment&gt;
  &lt;/jboss-deployment-structure&gt;
  </code></pre>
  
  <p>If I get rid of <code>jboss-deployment-structure.xml</code> the same error shows up. So it doesn't seem to be making a difference. My problem may not be related to either one of these things. Anyone see what's going on?</p>
  
  <p>Here is my <code>application.xml</code> on the server:</p>
  
  <pre><code>&lt;application&gt;
      &lt;display-name&gt;GrahamsProj&lt;/display-name&gt;
      &lt;description&gt;GrahamsProj&lt;/description&gt;
          &lt;application-name&gt;GrahamsProjServer&lt;/application-name&gt;
      &lt;module&gt;
          &lt;ejb&gt;GrahamsProjServer.jar&lt;/ejb&gt;
      &lt;/module&gt;
  &lt;/application&gt;
  </code></pre>