Skip to Main Content

Java Development Tools

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

"The current application deployment descriptors do not allow for ..."

Jan VerveckenMay 7 2007 — edited Jan 21 2008
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
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 18 2008
Added on May 7 2007
1 comment
7,690 views