NOTE: This article is 3 years or older so its information may no longer be relevant. Read on at your own discretion! Comments for this article have automatically been locked, refer to the FAQ
for more details.
I've been getting this 500 error response without any stack trace being shown when I deploy to the development server, but when I test inside JDeveloper internal server the stack trace does show up. So here's how to get the stack trace to show up on any deployment server.
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.
In the orion-web.xml
file, set the development attribute to true like this:
The stack trace and error message will now appear, no need to dig through logs.
A quick disclaimer...
Although I put in a great effort into researching all the topics I cover, mistakes can happen.
If you spot something out of place, please do let me know.
All content and opinions expressed on this Blog are my own and do not represent the opinions of my employer (Oracle).
Use of any information contained in this blog post/article is subject to this disclaimer
Other posts you may like...