Show TOC

Generating Error ReportsLocate this document in the navigation structure

Use

To find more information about a particular problem, you can generate an error report.

Procedure

Enabling the error reports functionality

To enable the generate error reports functionality, you have to change the value of the GenerateErrorReports property to true . By default its value is false .

  1. Open the SAP NetWeaver Administrator.

  2. Choose Start of the navigation path Configuration Management  Next navigation step  Infrastructure Next navigation step Java System Properties End of the navigation path. Specify a template in the Templates section.

  3. Choose the Services tab in the Details section.

  4. Choose the HTTP Provider service.

  5. Select the GenerateErrorReports property in the Extended Details section. Choose Modify .

  6. Set the custom value to true . Choose Set and then Save .

When the error handling mechanism is enabled, each time an error page appears there is a Generate error report button. Use this button to automatically generate an error report and find out what might have caused the problem.

Accessing the generated error reports

The error report represents a snapshot and you can access it using the SAP Management Console.

  1. From the context menu of SAP Systems , choose Start of the navigation path All Tasks Next navigation step Open Snapshot End of the navigation path.

  2. Navigate to the folder where all snapshots are collected: usr\sap\<sid>\<instanceid>\SYS\global\sapcontrol\snapshots .

  3. Select a snapshot represented by a ZIP file and choose Open . This starts a new snap-in with the selected snapshot file for offline analysis.

  4. From the context menu of SAP Systems , choose Start of the navigation path All Tasks Next navigation step Analyse Developer traces End of the navigation path.

Recommendation

You can also send this snapshot to your support team for further analysis.

Specifying a timeout before an error report for the same problem is generated

To specify the timeout in seconds before a new error report is generated for the same problem, change the value of the GenerateNewErrorReportTimeout property. Such a report is generated only when this timeout period expires, or when there is no error report generated for the particular problem. The default value of this property is 3600 seconds.

Note

If you want to generate an error report in any case, set the value of the GenerateNewErrorReportTimeout property to 0.

  1. Open the SAP NetWeaver Administrator.

  2. Choose Start of the navigation path Configuration Management  Next navigation step  Infrastructure Next navigation step Java System Properties End of the navigation path. Specify a template in the Templates section.

  3. Choose the Services tab in the Details section.

  4. Choose the HTTP Provider service.

  5. Select the GenerateNewErrorReportTimeout property in the Extended Details section. Choose Modify .

  6. Enter the new value of the property. Choose Set and then Save .