SAP Knowledge Base Article - Preview

2469306 - CPA Directory Cache refresh fails with HTTP 411: Length Required error

Symptom

  • In Process Integration (PI) or Process Orchestration (PO), you would like to execute CPA Directory Cache refresh but it ends up with error.
  • In default trace you can see the error like:
    com.sap.aii.af.service.cpa.impl.exception.CPADirectoryCacheException: Could not open Directory URL (http://<your_host>:<your_port>/dir/hmi_cache_refresh_service/ext?method=CacheRefresh&mode=C&consumer=<af.of_your_system>).
    Reason: com.sap.aii.af.service.cpa.impl.exception.CPADirectoryCacheException: HTTP 411: Length Required  
    at com.sap.aii.af.service.cpa.impl.cache.directory.DirectoryAccess.getDataFromDirectory(DirectoryAccess.java:324)  
    at com.sap.aii.af.service.cpa.impl.cache.directory.DirectoryAccess.getDeltaCacheUpdateXML(DirectoryAccess.java:474)  
    at com.sap.aii.af.service.cpa.impl.cache.CacheManager.performCacheUpdate(CacheManager.java:513)
    at com.sap.aii.af.service.cpa.impl.cache.CacheManager$CacheUpdateRunnable.run(CacheManager.java:313)
    at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:185)
    at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:302)
    Caused by: com.sap.aii.af.service.cpa.impl.exception.CPADirectoryCacheException: HTTP 411: Length Required
    at com.sap.aii.af.service.cpa.impl.cache.directory.DirectoryAccess.getDataFromDirectory(DirectoryAccess.java:315) ... 7 more


Read more...

Environment

  • PI Release Independent
  • SAP NetWeaver
  • SAP Process Integration

Product

SAP NetWeaver 7.3 ; SAP NetWeaver 7.4 ; SAP NetWeaver 7.5 ; SAP enhancement package 1 for SAP NetWeaver 7.3

Keywords

411, HTTP 411, Length Required, proxy, http.noProxyHosts, CPA Cache, Process Integration 7.0, PI 7.0, PI 7.01, PI 7.02, Process Integration 7.10, PI 7.10, Process Integration 7.11, PI 7.11, Process Integration 7.30, PI 7.30, Process Integration 7.31, PI 7.31, Process Orchestration 7.40, PI 7.40, PO 7.40, Process Orchestration 7.50, PI 7.50, PO 7.50, NetWeaver, XI, migration, azure , KBA , BC-XI-CON-AFW-DC , Directory Cache , Problem

About this page

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

Search for additional results

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