cancel
Showing results for 
Search instead for 
Did you mean: 

Display Customer error page using webdispatcher when portal is down

Former Member
0 Kudos
465

I want to to show customer error page using webdispatcher when portal is down. Portal and web dispatcher are installed on separate server. Sap web dispatcher is of version 7.

I have followed the SDN forum and created HTML file and placed in the directory

C:\usr\sap\SID\W20\data\icmerror . There are these HTML file placed "ICMERR-EMAINTENANCE.html" and "ICMERR-EDEFAULT" .

Then updated my profile file with this entry

icm/HTTP/error_templ_path = c:\usr\sap\SID\W20\data\icmerror

So even after doing that i am not getting the custom error page . I disconnect my portal from dispatcher but still get that page not display error message.

Followed couple of blogs but i could not see anything thing else which is needed to make this work. Please provide some direction if any member has accomplished this in their environment.

Thanks

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

I had similar issues. In my case it was simply due to the webdispatcher not being restarted after i had created the pages in the error directory (i had previously set the error page location and restarted the webdispatcher)

I have 2 files - ICMERR-EDEFAULT.html and ICMERR-EMAINTENANCE.html

Both work as expected.

Cheers

Phil

Former Member
0 Kudos

Your procedure looks spot on.

- Did you set the Web Dispatcher in the "Maintenance Mode" ?

- c:\usr\sap\SID\W20\data\icmerror -> Minor try (hopefully your initial specification is the correct way) - The path appears with forward slash in SAP documentation eg : icm/HTTP/error_templ_path = /usr/sap/B6M/D13/data/icmerror

- If you use the Internet Explorer Web browser, the option Show friendly HTTP messages must be deactivated. You can set this from the menu: Tools - Internet Options - Advanced under Browsing

- Other than ICMERR-EMAINTENANCE; can you also try with error code - ENOTAVAIL,EDISPATCHERR.

Best ~ Dhanz

Former Member
0 Kudos

YEs i tried with web disp in Main. Mode also but not luck.

My path is "c:\usr\sap\SID\W20\data\icmerror" because i am on windows enviornment so i don't see an issue with that. The path showing in documentation "/usr/sap/...." is for unix enviornment.

I am not sure why it not working .looking quite straightforward.

Any other suggestion

Former Member
0 Kudos

Hi Thanks Dhanz

I am able to set the custom default error page. But now i see the situation where every time there is any issue the default error page is shown . I made the default error page for Sys. Maintenance mode only

1. So in the scenario where the connection between the portal and the backend is timing out how do i show other error page instead of the default error page.

Im my directory i have put these different page "ICMERR-ETIMEOUT" ,"ICMERR-EMAINTENANCE" .ICMERR-EDEFAULT"

My question how is dispatcher is determining when to show default error and when to show time out page. At present for any error dispatcher is throwing default error page.

Is there any configuration which i need . Right now in config file i have only this set

icm/HTTP/error_templ_path=c:\usr\sap\XSID\W20\data\icmerror

thanks

former_member182598
Active Contributor
0 Kudos

Hi Andy,

You might want to refer SAP Note 795699.

Thanks

Prashant