title: wildfly 14 : Services with missing/unavailable dependencies
body: <p>I am new to wildfly and jpa.</p>
  
  <p>I'm used eclipselink version 2.7.3 for library </p>
  
  <p>this is my <a href="https://files.fm/u/juxwn3yh" rel="nofollow noreferrer">link</a> for POM, persistence, and standalone files</p>
  
  <p>when I deploying my ear file's I'm getting this error:</p>
  
  <pre><code>{
     "WFLYCTL0412: Required services that are not installed:" =&gt;   ["jboss.naming.context.java.app.EnterpriseSPIN-ear.jdbc.digisign_db"],
    "WFLYCTL0180: Services with missing/unavailable dependencies" =&gt; ["jboss.persistenceunit.\"EnterpriseSPIN-ear.ear#digisignPU\" is missing    [jboss.naming.context.java.app.EnterpriseSPIN-ear.jdbc.digisign_db]"]
  }
  </code></pre>
  
  <p><strong>my 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="digisignPU" transaction-type="JTA"&gt;
       &lt;provider&gt;org.eclipse.persistence.jpa.PersistenceProvider&lt;/provider&gt;
       &lt;jta-data-source&gt;java:jboss/datasources/digisign&lt;/jta-data-source&gt;
  
      &lt;properties&gt;
        &lt;property name="eclipselink.target-server" value="JBoss"/&gt;
        &lt;property name="eclipselink.target-database" value="PostgreSQL"/&gt;
        &lt;property name="eclipselink.deploy-on-startup" value="true"/&gt;
        &lt;property name="eclipselink.jdbc.user" value="someuser"/&gt;
        &lt;property name="eclipselink.jdbc.password" value="somepassword"/&gt;
        &lt;property name="eclipselink.jdbc.driver" value="org.postgresql.Driver"/&gt;
        &lt;property name="eclipselink.jdbc.url" value="jdbc:postgresql://192.168.182.7:5432/digisign_db"/&gt;
        &lt;property name="eclipselink.ddl-generation" value="none"/&gt;
      &lt;/properties&gt;
    &lt;/persistence-unit&gt;
  &lt;/persistence&gt;
  </code></pre>
  
  <p>my <strong>standalone xml</strong></p>
  
  <pre><code>&lt;datasources&gt;
              &lt;datasource jta="true" jndi-name="java:jboss/datasources/digisign" pool-name="digisign" enabled="true" use-java-context="true"&gt;
                  &lt;connection-url&gt;jdbc:postgresql://192.168.182.7:5432/digisign_db&lt;/connection-url&gt;
                  &lt;driver&gt;postgresql&lt;/driver&gt;
                  &lt;security&gt;
                      &lt;user-name&gt;someuser&lt;/user-name&gt;
                      &lt;password&gt;somepassword&lt;/password&gt;
                  &lt;/security&gt;
              &lt;/datasource&gt;
              &lt;drivers&gt;
                  &lt;driver name="postgresql" module="org.postgresql"&gt;
                      &lt;driver-class&gt;org.postgresql.Driver&lt;/driver-class&gt;
                  &lt;/driver&gt;
              &lt;/drivers&gt;
          &lt;/datasources&gt;
  </code></pre>
  
  <p><strong>this my postgresql module xml</strong></p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
   &lt;module xmlns="urn:jboss:module:1.3" name="org.postgresql"&gt;
  &lt;resources&gt;
      &lt;resource-root path="postgresql-42.2.2.jar"/&gt;
  &lt;/resources&gt;
  &lt;dependencies&gt;
  &lt;module name="javax.api"/&gt;
  &lt;module name="javax.transaction.api"/&gt;
  &lt;/dependencies&gt;
  &lt;/module&gt;
  </code></pre>
  
  <p>and <strong>this my eclipselink persistence module xml</strong></p>
  
  <pre><code>&lt;module name="org.eclipse.persistence" xmlns="urn:jboss:module:1.5"&gt;
  &lt;properties&gt;
      &lt;property name="jboss.api" value="public"/&gt;
  &lt;/properties&gt;
  
  &lt;resources&gt;
      &lt;resource-root path="jipijapa-eclipselink-14.0.1.Final.jar"/&gt;
      &lt;resource-root path="eclipselink.jar"&gt;
       &lt;filter&gt;
              &lt;exclude path="javax/**"/&gt;
      &lt;/filter&gt;
      &lt;/resource-root&gt;
  &lt;/resources&gt;
  &lt;dependencies&gt;
      &lt;module name="asm.asm"/&gt;
      &lt;module name="javax.api"/&gt;
      &lt;module name="javax.annotation.api"/&gt;
      &lt;module name="javax.enterprise.api"/&gt;
      &lt;module name="javax.persistence.api"/&gt;
      &lt;module name="javax.transaction.api"/&gt;
      &lt;module name="javax.validation.api"/&gt;
      &lt;module name="javax.xml.bind.api"/&gt;
      &lt;module name="javax.ws.rs.api"/&gt;
      &lt;module name="org.antlr"/&gt;
      &lt;module name="org.apache.commons.collections"/&gt;
      &lt;module name="org.dom4j"/&gt;
      &lt;module name="org.jboss.as.jpa.spi"/&gt;
      &lt;module name="org.jboss.logging"/&gt;
      &lt;module name="org.jboss.vfs"/&gt;
  &lt;/dependencies&gt;
  </code></pre>
  
  <p></p>
  
  <p>I have tried it many times but I've been unsuccessful. Please help!</p>