title: Configuring ear web module in Wildfly
body: <p>I am migrating a legacy Java EE web application from orion server to WildFly. <br/><br/>The directory structure of the ear file is as below:<br/><br/>
  my_proj.ear<br/>
  &nbsp;&nbsp;|--META-INF/MANIFEST.MF<br/>
  &nbsp;&nbsp;|--META-INF/application.xml<br/>
  &nbsp;&nbsp;|--web/a_few_js/jsp_files<br/>
  &nbsp;&nbsp;|--web/WEB-INF/classes/a_few_java_classes<br/>
  &nbsp;&nbsp;|--web/WEB-INF/web.xml<br/>
  <br/></p>
  
  <p>The application.xml has the following:<br/>
  <br/></p>
  
  <pre><code>&lt;application&gt;
      &lt;display-name&gt;my_proj&lt;/display-name&gt;
      &lt;module&gt;
      &lt;web&gt;
          &lt;web-uri&gt;web&lt;/web-uri&gt;
      &lt;/web&gt;
      &lt;/module&gt;
  &lt;/application&gt;
  </code></pre>
  
  <p><br/></p>
  
  <p>I am able to deploy the ear successfully in JBoss. However, when I hit the url "localhost:8080/my_proj", I get a 404.</p>
  
  <p>I am able to hit the URLs for war files based deployment without any issues. Am I missing anything here? </p>
  
  <p>I am relatively new to Java EE and JBoss.</p>
  
  <p>Please let me know if you need any additional information.</p>