If a SAF results in an error, the server stops executing all other directives and immediately starts executing the Error directives. For more information, see Error.
The following Error-class functions are described in detail in this section:
In addition, the following common SAFs are valid for the Error directive:
The error-j2ee function handles errors that occur during execution of web applications deployed to the Web Server individually or as part of full Java EE applications.
The following table describes the parameter for the error-j2ee function.
Table 7–107 error-j2ee Parameter
Parameter |
Description |
---|---|
bucket |
(Optional) Common to all obj.conf functions. Adds a bucket to monitor performance. For more information, see The bucket Parameter. |
The qos-error function returns an error page stating the quality of service that caused the error, and the value of the QOS statistic.
The following table describes parameters for the qos-error function.
Table 7–108 qos-error Parameters
Parameter |
Description |
---|---|
(Optional) Three-digit number representing the HTTP response status code, such as 401 or 407. The recommended value is 503. This can be any HTTP response status code or reason phrase according to the HTTP specification. A list of common HTTP response status codes and reason strings is as follows:
|
|
bucket |
(Optional) Common to all obj.conf functions. Adds a bucket to monitor performance. For more information, see The bucket Parameter. |
Error fn="qos-error" code="503"