JBoss Wildfly 10 Ear deployment guide needed
<p>I'm can't seem to find a rich source for configuring an JEE EAR deployment on WildFly 10.  I'm still stuck defining the application.xml.</p>

<p>I have this doc - <a href="https://docs.jboss.org/author/display/WFLY8/Deployment+Descriptors+used+In+WildFly" rel="nofollow noreferrer">https://docs.jboss.org/author/display/WFLY8/Deployment+Descriptors+used+In+WildFly</a>, and the referenced XSD for application.xml, but I still cannot seem to get the EAR to deploy.  So I basically need information to bridge this document to a real application.</p>

<p>I have the server running; Using Eclipse Neon ; Moved existing JBoss 5.2 app into Enterprise Application Project (i.e. have *Web.war, *EJB.jar, *Connector.rar, *Client.jar).</p>

<pre><code>&lt;?xml version "1.0" encoding="UTF-8"?&gt;
&lt;application&gt;
&lt;module&gt;
    &lt;resources&gt;
    &lt;resources-root&gt;MyEarClient.jar&lt;/resources-root&gt;
    &lt;resources&gt;
    &lt;resources&gt;
    &lt;resources-root&gt;MyEarEJB.jar&lt;/resources-root&gt;
    &lt;resources&gt;
    &lt;resources&gt;
    &lt;resources-root&gt;MyEarConnector.jar&lt;/resources-root&gt;
    &lt;resources&gt;
&lt;/module&gt;
&lt;module&gt;
   &lt;web&gt;
       &lt;web-uri&gt;MyEarWeb.war&lt;/web-uri&gt;
       &lt;context-root&gt;MyCompany&lt;/context-root&gt;
   &lt;/web&gt;
&lt;/module&gt;

&lt;/application&gt;
</code></pre>

<p>The error I get when I deploy is:</p>

<p>"ERROR ...MSC service thread 1-2) MSC000001: Failed to start service jboss.deployment.unit."WildDLM.ear".STRUCTURE: org.jboss.msc.service.StartException in service jboss.deployment.unit."MyApp.ear".STRUCTURE: WFLYSRV0153: Faild to process phase STRUCTURE of deployment "MyApp.ear"
...
Cause by ...DeploymentUnitProcessingException WFLYEE0053: Failed to parse "/C:/wildfly-10.1.0.Final/standalone/deployments/MyEar.ear/META-INF/application.xml"</p>

<p>I get the same error even if remove the EJB and Connector resources (aka. not using these yet; have dumming package in EJB module.)
I've tried looking through this - <a href="https://docs.jboss.org/author/display/MODULES/Home" rel="nofollow noreferrer">https://docs.jboss.org/author/display/MODULES/Home</a>
but it's basically empty, and a work in progress.<br>
The /examples directory under the Wildfly 10 installation does not have app code, it seems to be just examples for running the server.</p>

<p>I've tried experimenting with XML elements I see in similar posts on stackoverflow, but it's just a guessing game anymore.</p>

<p>Should I use AS7 documentation?</p>

<p>Any help is appreciated!  I need to get on solid ground because I have more code modules to add and alot of refactoring to do.</p>

<p>Thanks,</p>

<p>Anne</p>