title: Jboss-deployment-structure.xml don't read on EAR File
body: <p>I created a file called jboss-deployment-structure.xml and I put the file in the META-INF directory of the EAR project.
  My ear has then the following structure:</p>
  
  <pre><code>MyEar.ear
  -&gt; META-INF
  ------&gt; Application.xml
  ------&gt; Jboss-deployment-structure.xml
  -&gt; MyWar.war
  </code></pre>
  
  <p>How do I make deploy within JBoss EAP 6.2 I read this issue:</p>
  
  <p>javax.persistence.Table.indexes () [Ljavax / persistence / Index;</p>
  
  <p>This problem is related to the JPA 2.0 version of JBOSS while I use Hibernate JPA 2.1.</p>
  
  <p>If I enter the file jboss-deployment-structure.xml in WEB-INF directory of the WAR project and install only the WAR file, the web-based software works without problems.</p>
  
  <p>What is wrong?
  Thank you,
  Vincenzo</p>
  
  <p>This is content of Jboss-deployment-structure.xml</p>
  
  <pre><code>&lt;jboss-deployment-structure xmlns="urn:jboss:deployment-structure:1.2"&gt;
  &lt;deployment&gt;
      &lt;exclude-subsystems&gt;
          &lt;subsystem name="jpa" /&gt;
      &lt;/exclude-subsystems&gt;
      &lt;exclusions&gt;
          &lt;module name="javaee.api" /&gt;
      &lt;/exclusions&gt;
  &lt;/deployment&gt;
  </code></pre>
  
  <p></p>