title: Deploy WAR to TomEE server
body: <p>I built my JavaEE project &amp; got <strong>my-service.war</strong> file. I want to deploy it to <a href="http://tomee.apache.org/installing-tomee.html" rel="nofollow">TomEE</a> server. </p>
  
  <p>I have successfully installed TomEE (I can start &amp; stop TomEE server successfully).</p>
  
  <p>I copy <strong>my-service.war</strong> to </p>
  
  <pre><code>&lt;TomEE_Home&gt;/webapps/
  </code></pre>
  
  <p>Then, I start TomeEE server. </p>
  
  <p>I open my browser, and put URL <a href="http://localhost:8080/my-service" rel="nofollow">http://localhost:8080/my-service</a></p>
  
  <p>But I get HTTP Status 404 page. </p>
  
  <p>(Then, I checked under /webapps/ that, my-server.war has been unzipped by server, because I see my-server folder there.) </p>
  
  <p>What do I miss for deploying my WAR to TomEE server?</p>
  
  <p><strong>=====server logs =====</strong></p>
  
  <p>I got checked /logs/catalina.2016-08-16.log , I see these errors:</p>
  
  <pre><code>webapps/my-service/WEB-INF/classes/ looking all classes to find CDI beans, maybe think to add a beans.xml if not there or add the jar to exclusions.list
  ...
  org.apache.catalina.core.StandardContext.startInternal Context [/my-service] startup failed due to previous errors
  16-Aug-2016 13:51:46.311 INFO [localhost-startStop-1] org.apache.openejb.assembler.classic.Assembler.destroyApplication Undeploying app: /Users/xichen/Dev-tools/apache-tomee-webprofile-7.0.1/webapps/my-service
  </code></pre>