title: Elastic Beanstalk `War` deploy - 404 Not Found
body: <p>I am trying to deploy a Java Spring MVC <code>war</code> file on Elastic Beanstalk and I am having trouble understanding how to resolve a <code>404 Not found</code> error.</p>
  
  <p>I have zipped and named correctly the <code>war</code> file and the status of the EB instance is <code>OK</code>. However, when I click on the EB url <code>XXXX.eu-west-2.elasticbeanstalk.com</code> I am getting the above mentioned Tomcat error.</p>
  
  <p>I looked in the log files and the only ERROR that is displayed in there is 
  <a href="https://i.stack.imgur.com/ME0DK.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/ME0DK.png" alt="enter image description here"></a></p>
  
  <blockquote>
    <p>server is within MinSpareThreads of MaxClients, consider raising the MaxClients setting</p>
  </blockquote>
  
  <p>I am not fully confident I know how to increase the MaxClients number but I am also not convinced that this is where the error comes from, so I was wondering if you could advice how this could be resolved.</p>
  
  <p>Many thanks in advace!</p>