Show TOC

Troubleshooting Application ErrorsLocate this document in the navigation structure


By default, the Web Container issues a short message to the client browser in cases of:

  • Errors, generated by the Web Container or the HTTP Provider.

  • Application errors that are not caught by application defined error pages.

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 keep the short messages and use the error ID to lookup error details from the corresponding trace file.

  • To enable verbose error messages to be issued to the client browser. However, this is considered insecure behavior and we recommend that you use it only on nonproductive systems.


Lookup Error Details

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.

Enabling Detailed Error Messages using SAP NetWeaver Administrator

  1. To modify the properties of the HTTP Provider Service using the SAP NetWeaver Administrator, use the Java System Properties function. For more information, see Java System Properties .

  2. In the Services tab, select HTTP Provider Service.

    On the Extended Details tab page, a list of all service properties is displayed.

  3. Set the value of the DetailedErrorResponse property to true .

  4. Choose Save Changes .

Enabling Detailed Error Messages using Telnet

To modify the value of the DetailedErrorResponse property of the HTTP Provider Service using Telnet, use the SETSP command. For more information about using Telnet, refer to Administration Using Telnet .