Igor Kromin |   Consultant. Coder. Blogger. Tinkerer. Gamer.

| Views: 12355
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:
<orion-web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="http://xmlns.oracle.com/oracleas/schema/orion-web-10_0.xsd"
schema-major-version="10" schema-minor-version="0"
servlet-webdir="/servlet/" development="true">
...


The stack trace and error message will now appear, no need to dig through logs.



-i

Have comments or feedback on what I wrote? Please share them below! Found this useful? Consider sending me a small tip.
comments powered by Disqus
Other posts you may like...