Cliff Cotino had a good tip on the JHeadstart Discussion Forum: how to show the complete error in case your deployed application shows only a 500 Internal Server Error.
Suppose your application runs fine in Embedded OC4J in JDeveloper, but when deployed on Standalone OC4J or Oracle Application Server shows this error:
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.
If you want to know the complete error message and stack trace you must deploy the
application in "development" mode. To achieve this you must perform the following:
Suppose you have a JDeveloper Application Server connection named "ConnectionName".
- Right-click the deployment profile and select "Deploy to ConnectionName"
- In the "Configure Application" dialog box you have the option to edit certain deployment options.
- Select the web-app on the left side of the screen. On the right side of the screen there is an option "development". Set the value to "true" and deploy your application.
Comments (1)
ConnectionName? That's pretty funny. How about SourceName or AppIdentifier or something? :) Good tip though. Thanks.
Posted by Will Senn | October 10, 2007 7:54 AM