Troubleshooting Application Errors
By default, the Web Container issues a short message to the client browser in cases of application errors. This message is not informative enough and cannot be used for debugging the error. To troubleshoot this kind of application error, you have the following two options:
· To enable verbose error messages be issued to the client browser. However, this is considered insecure behavior and we recommend that you use it only on non-productive systems.
· To keep the short messages and use the error ID to lookup error details from the corresponding trace file.
You use the Visual Administrator to perform the administration tasks for both procedures below.
...
1. Open the Properties screen of the HTTP Provider Service on the server.
2. Set the value of the DetailedErrorResponse property to true.
3. Choose Update to update the new value in the list of properties.
4.
Choose
(Save
Properties) to apply your changes.
In the Details section of the short error message you get in the browser, you can find the error ID. Use this ID to search for the error entries in the defaultTrace.trc file located in \usr\sap\<SID>\<InstanceName>\j2ee\cluster\server\log directory.
