on 09-21-2010 10:25 AM
Hi,
I have a requirement for customizing the 500 Internal server error page ( the page when we gets Null pointer Expetion or etc).
Can you tell me how can we achieve this.. Note that we need to do this for webdynpro Java errors.
Thanks,
Raju Bonagiri
Hi Raju,
Can you please let me know, what's version of your NWDS using, most likely "Customization of 500 internal" error be available only later version of 7.3.
To customize error message check this SAP note : 795699
Thanks
Anup
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Raju,
I am sorry but this is not supported at the moment. You can as mentioned set up the WD framework in the way, that it'll say only "500 Internal server error" without the full stack trace, so you'll not receive any complaints from the end users that they can see the detailed error stack trace of the internal server error, but one cannot customize the error coming from the WD runtime.
The response code 500 can be customized as per the mentioned note #795699, so most likely the solution for you would be the combination of the SAP notes #962319 and #795699.
Best Regards,
Ervin
Hi Raju
Please have a look at blog, it might help to customize the error page.
[Custom Error Messages in the Portal|http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/18398] [original link is broken] [original link is broken] [original link is broken];
[How to customize the SAP Portal Error Pages|http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/17411] [original link is broken] [original link is broken] [original link is broken];
Regards,
Arun Jaiswal
Dear Raju,
I regret to inform you that this is not possible on 640/700. In general, this solution is available only for Business By Design, and most likely it'll be available only later for 7.30, but no plans are available currently. Perhaps it'll be downported to 7.20 but I cannot state this as an official statement either.
Officially this feature is not yet supported.
Default HTTP messages can be changed, but not the ones coming from the WD Runtime.
See the note for HTTP messages: Note: #795699 - Customizing default error messages for HTTP (from BC-JAS-WEB)
On WD Runtime you can switch off displaying the complete stack trace, but one cannot change it, see:
Note: #962319 - Detailed error messages with stack trace in Web Dynpro
Best Regards,
Ervin (SAP)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
Instead of changing the 500 internal error page. you can catch the exception using the try catch block and collect the exception
information (details ) as logs in the server.
and stop the page to be displayed instead just display one error message which will say womething like "please contact administration"
Thanks
Sarbjeet Singh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.