401 Authorization Issue with Web Dispatcher Monitor
[authorization] [authorization code] [dispatcher] [struts2 dispatcher] [Web]
Related:
- SAP Web Dispatcher 7.00: Importing patchesSymptom You want to import the current SAP Web Dispatcher...
- Composite SAP Note: SAP Web DispatcherSymptom This note provides information regarding uncertainties when you use...
- Authorization errors in Java components after upgradeSymptom After the upgrade of your system, you get an...
- Authorization group will work as customizing objectSymptom Authorization group is created in workbench request. Other terms...
- Authorization objects are listed in SU24 – no proposalSymptom In the transaction su22 ‘Maintain the Assignment of Authorization...
- Authorization objects are listed in SU24 – no proposalSymptom In the transaction su22 ‘Maintain the Assignment of Authorization...
- DB2-z/OS: Essential authorization for problem analyzisSymptom A problem on component BC-DB-DB2 was reported. Which authorizations...
- General procedure for S_TCODE authorization default valuesSymptom Within the authorization administration using the Profile Generator, the...
Symptom
You received “401 Authorization required” when trying to logon to Web Dispatcher Administration
Other terms
Web Dispatcher, Authorization
Reason and Prerequisites
Typically it is due to configuration problem with the wrong setup of web dispatcher monitoring interface.
Another possible reason could be that the icmauth.txt file is not specified or at wrong location.
Solution
1. Firstly, it is recommended to use the latest webdisp available in Service Marketplace in the format of “sapwebdisp_
wdispadmin.SAR should be extracted to sapwebdisp directory (i.e /usr/sap/
and SAP Web Dispatcher. The README file in wdispadmin.SAR that contains information on how to set up the Web Administration Interface.
2. Please always check the communication with the HTTP port of the message server:
sapwebdisp pf=
Typical Web Dispatcher Administration page is at URL below, depending on your current administration URL Prefix, i.e /sap/admin , /sap/wdisp/admin:
http://
Please review Online Documentation:
http://help.sap.com/saphelp_nw04/helpdata/en/5c/b711385ef74d2aada9a7bf12eacd0c/frameset.htm
3. The default location of “icmauth.txt” is “$(DIR_GLOBAL)/security/data”
Please check on definition of the parameter icm/HTTP/admin_
i.e icm/HTTP/admin_0 = PREFIX=/sap/admin,DOCROOT=./admin,AUTHFILE=icmauth.txt
If possible, please specify the full path to the icmauth.txt, as well as Admin PORT and Admin HOST
i.e icm/HTTP/admin_0 = PREFIX=/sap/admin,DOCROOT=./admin,AUTHFILE=/myfullpath/icmauth.txt
Please review Online documentation:
http://help.sap.com/saphelp_nw04/helpdata/en/1d/9e0f1737354064b174ac2a39fb7d46/content.htm
If you need to recreate icmauth.txt, you can have webdisp profile to be recreated by running the sapwebdisp command with the bootstrap option, as it will also create user for web administration.
You can use the password that generated by the bootstrap to open the web admin page.
If issue continues, please clarify all the points, as per note 634262. Then provide all the relevant profiles, complete level 3 trace for Webdisp as well as backend ICM trace, together with DIA Workprocess at trace level 2 with activation of component Taskhandler, ICF, IPC, WebGui (see Note 84850), then send to SAP Support for further analysis.
Please always refer the patch history in following notes.
908160 SAP Web Dispatcher 6.40: Patch history
974284 SAP Web Dispatcher 7.00: Patch history
1093023 SAP Web Dispatcher 7.10: Patch history
1336825 SAP Web Dispatcher 7.11: Patch history