title: How to deploy GWT on Tomcat
body: <p>I'm trying to figure out why when I create a WAR for my GWT project, I'm unable to get the webapp up and running like in my development mode.</p>
  
  <p>In my development mode, I'm using googles plugin:</p>
  
  <pre><code>Run As --&gt; Web Application
  </code></pre>
  
  <p>and I get the <code>http://127.0.0.1:8888/Bspdir.html?gwt.codesvr=127.0.0.1:9997</code></p>
  
  <p><strong>works great!</strong></p>
  
  <p>note that I'm not using GAE, I unchecked the Use GoogleApp Engine, and in my project properties facet I added the Dynamic Web Module.</p>
  
  <p>So now, I wish to go to production and I'm 'WARing' the project by right clicking on the <strong>project name</strong><code>--&gt;export--&gt;Web--&gt;War--&gt;</code></p>
  
  <pre><code>Web project: bspdir
  </code></pre>
  
  <p>[see screenshot below] I upload the WAR file to my <code>/usr/local/tomcat6/webapps</code> and type the following in the URL: </p>
  
  <p><a href="http://MY_SERVER.com:8080/bspdir/" rel="nofollow noreferrer">http://MY_SERVER.com:8080/bspdir/</a></p>
  
  <p><a href="http://MY_SERVER.com:8080/Bspdir/" rel="nofollow noreferrer">http://MY_SERVER.com:8080/Bspdir/</a></p>
  
  <p><a href="http://MY_SERVER.com:8080/bspdir/Bspdir.html" rel="nofollow noreferrer">http://MY_SERVER.com:8080/bspdir/Bspdir.html</a> </p>
  
  <p>and always get the same error message: <strong>HTTP Status 404 - /bspdir/</strong></p>
  
  <p><a href="https://i.stack.imgur.com/Xbluz.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Xbluz.jpg" alt="enter image description here"></a></p>
  
  <p><a href="https://i.stack.imgur.com/TMpFq.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/TMpFq.jpg" alt="enter image description here"></a></p>