Show TOC

Procedure documentationMonitoring Internal Server Error 500 Error Responses Locate this document in the navigation structure

 

According to the HTTP specification, 500 “Internal Server Error” occurs when the server encounters an unexpected condition which prevents it from fulfilling the HTTP request. There are two available monitors whose purpose is to provide consistent and up-to-date overall statistics about the 500 “Internal Server Error” error responses. These monitors also enable you to keep track of the most common problems and be aware of the current status of the system according to the green/yellow/red light of the monitors. The tasks of both monitors are interrelated:

  • Error500Count counts the number of all Internal Server Error 500 errors gathered for 24 hours. When this period expires, the count is reset.

  • Error500CategorizationEntries keeps detailed statistics about all 500 “Internal Server Error” error responses. The collected information is sorted per categorization ID, which is a unique identifier of each particular problem that has caused 500 “Internal Server Error”. The information is displayed in descending order, starting with the most common problem. You can also use the categorization ID to search for a particular problem in the trace files.

Procedure

Using 500 Internal Server Error–Related Monitors
  1. In the SAP NetWeaver Administrator, choose   Availability and Performance Management   Resource Monitoring   Java System Reports  .

  2. From the Report dropdown list, select Monitor Browser.

  3. Expand the nodes of the Monitoring Tree:   Server   Services   Web Container  .

  4. To display the number of the Internal Server Error 500errors gathered for the last 24 hours, select the Error500Count monitor. You can also check the time of the last reported error response.

  5. To display the different categories of the generated errors, select the Error500CategorizationEntries monitor. Select the Current Values tab in the Details section. There you can find information about the categorization ID of error responses, how many times it has occurred, and a list of the previously generated error reports related to this problem, if any.

More information: Managing Monitors with the Monitor Browser

Note Note

To specify the time interval in seconds at which the 500 Internal Server Error-related monitors are regularly cleared, change the value of the Error500MonitorsCleanupPeriod property:

  1. Open the SAP NetWeaver Administrator.

  2. Choose   Configuration Management   Infrastructure   Java System Properties  . Specify a template in the Templates section.

  3. Choose the Services tab in the Details section.

  4. Choose the Web Container service.

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

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

End of the note.

Note Note

To clean the values of both monitors in one go without changing their configuration, use the following Telnet command:

End of the note.

Syntax Syntax

  1. >add servlet_jsp
    
  2. >clear_error500_monitors
End of the code.
Accessing 500 Internal Server Error–Related Log Files
  1. In the SAP NetWeaver Administrator, choose   Problem Management   Logs and Traces   Log Viewer  .

  2. From the Customization dropdown list, select Perspectives. Select the HTTP checkbox and choose OK.

  3. From the Show View dropdown list, select   Predefined   HTTP   Error 500  .

A detailed list of all 500 Internal Server Error–related log files appears. It contains information about the severity of the log files, the exact time and date when the error occurred, a description of the error, its location and category, and the application that itis related to.