SAP Knowledge Base Article - Preview

2197637 - Authentication handler return "path token too long" error


After active the authentication sub handler with parameter icm/HTTP/auth_<XX> the ICM or Web Dispatcher does not start raising the following error in the developer trace (dev_webdisp or dev_icm).

Adding HttpAuthHandler: PREFIX=<prefix>, PERMFILE=<PERMFILE>
*** ERROR => path token too long '<URL PATH>' (max = 127) in '<PERMFILE>' line <LINE>.
*** ERROR => FATAL: HttpAuthHandlerInit: Syntax error in perm file <PERMFILE>. See SAP note 1916794.
*** ERROR => HttpISubHandlerAdd: init_func of HttpAuthHandler failed (701)
*** ERROR => HttpParseAndAddSubHandler: HttpSubHandlerAdd failed for PREFIX=<PREFIX>, PERMFILE=<PERMFILE>(rc=0)
*** ERROR => HttpPlugInInit: initialization of authentication subhandler failed -> cannot continue
*** ERROR => IcmAddServiceInfo: PlugInInit failed (rc=701
*** ERROR => IcmAddService: IcmAddServiceInfo failed (rc=701)



  • Internet Communication Manager (ICM)
  • Web Dispatcher


SAP NetWeaver all versions


AUTHFILE  FILTER PREFIX P D WDP sapwebdisp icman auth , KBA , BC-CST-WDP , Web Dispatcher , BC-CST-IC , Internet Communication Manager , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP ONE Support launchpad (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.