title: How to change handling of internal server error?
body: <p>My application produces an internal server error, running on tomcat it prints a stacktrace with the given error. On Oracle it hides the error and post it to <code>application.log</code>.</p>
  
  <p>Is it possible to change this setting via the deployment descriptor?</p>
  
  <pre><code>500 Internal Server Error
  
  Servlet error: An exception occurred. The current application deployment
  descriptors do not allow for including it in this response. 
  
  Please consult the application log for details.
  </code></pre>