Professional Documents
Culture Documents
Customization of Erro Pages
Customization of Erro Pages
Customization of Erro Pages
Hussain Sehorewala
share 0
share 0
tweet
share
Follow
The purpose of this Blog is to provide the information about the Configuration of Custom Error
Message of the following error pages.
1. Dispatcher Connected Server not Running error page.
2. Application Stopped error page.
3. HTML error Messages such as 404,403,500 error pages.
4. KM Error Pages
/usr/sap/<SID>/<instance>/j2ee/cluster/dispatcher/
b.
Error Page
Location:/usr/sap/<SID>/<instance>/j2ee/cluster/dispatcher/errormessage/serverdown.html
c. Set the following property in Visual Administrator.
+ServiceUnavailableResponse += ./errormessage/serverdown.html
Navigate to Cluster-> Server -> Services -> HTTP Provider
1.
Use the S+erviceUnavailableResponse +property of the HTTP Provider Service on the dispatcher
to specify the path to your error page.
d. Restart the j2ee instance.
Now serverdown.html will be shown when the dispatcher is started but there is no server
attached to it .
b.
/usr/sap/<SystemID>/<InstanceID>/j2ee/cluster/<ServerNode>/apps/sap.com/irj/servlet_jsp/irj
/root/
b. Creat your own custom HTML error page
403.html,403.html,403.html,404.html,408.html and 500.html.
Keep the custom HTML pages under this location.
c.
e.
In the RID of Error Page parameter, enter the path to the HTML file that you want to be
displayed if an error occurs.
Example: +/etc/error_pages/nonavfound.html +
d.
Now in case of any KM error such as 403, 404, 408 or 500 your custom error html pages will be
displayed by the portal.
Additional Reference:
Please refer to the below documentations in case you find any difficulties following the steps
specified in the blog.
SAP Notes
1. Note 795699 Customizing default error messages for HTTP.
2. Note 1113811 Web Dynpro error page, known error situations, error codes
3. Note 962319 Detailed error messages with stack trace in Web Dynpro.
SAP HELP
1. [Custom Error Pages |
http://help.sap.com/saphelp_nw70/helpdata/EN/47/1d5a4390524403e10000000a1
553f6/frameset.htm]
2. [Modifying KM Error Pages |
http://help.sap.com/saphelp_nw70/helpdata/EN/47/1d5a4390524403e10000000a1
553f6/frameset.htm]
SDN Blogs
[Custom Error Messages Using SAP Web Dispatcher | Custom Error Messages Using SAP Web
Dispatcher]