"The current application deployment descriptors do not allow for ..."
hi
If my application, deployed on a standalone OC4J 10.1.3.1.0, throws an unhandled exception, I get this message:
"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"
I've been looking for a way to change "the deployment descriptors" such that the response includes the exception details.
I've found that deploying my application with a "development" attribute set to true, on the orion-web-app element in orion-web.xml, will cause the exception details to be included in the response.
Although the documentation that I found about that "development" attribute doesn't mention anyting on exceptions in the response:
http://download-uk.oracle.com/docs/cd/B31017_01/web.1013/b28959/xmlfiles.htm#sthref457
I've created an example application that has a deployment plan that has that "development" attribute set to true:
http://verveja.footsteps.be/~verveja/files/oracle/IncludeExceptionInResponseStuff-v0.01.zip
questions:
(1) Are there alternative approaches to include the exception details in the response?
(2) Are there alternative approaches to set the "development" attribute to true?
many thanks
Jan Vervecken