title: Glassfish App deployed successfully but 404 not found and Web Services not accessible
body: <p>I am trying to deploy a web application. Iam using the latest Payara 4.1.1.154 on Ubuntu Server 14.04 and by using Netbeans 8.1 as my IDE.</p>
  
  <p>I have tried the deployment both from Netbeans and from the terminal with the <code>asadmin deploy</code> command.</p>
  
  <p>While the deployment is successful according to the log file, the resources are inaccessible. I get no errors-exception during the deployment. Nothing, everything is clear.
  However, i get a "404 not found" in my index page and my REST services are inaccessible too. </p>
  
  <p>Here is a snapshot with my current folder structure and configuration</p>
  
  <p><a href="https://i.stack.imgur.com/mPxO2.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/mPxO2.png" alt="Current project folder structure and xml files context, web and glassfish-web"></a></p>