title: How to prevent 404 errors on glassfish4
body: <p>My application is running on glassfish4 and I keep getting 404 errors. When I restart glassfish, the problem is resolved.</p>
  
  <p>How can I figure out why I'm getting 404 errors?</p>