Symptom
- An attempt to do a Delta cache refresh in a Process Orchestration system fails with some of the errors below visible in different locations in the system
The error is: org.xml.sax.SAXException: JavaErrors Tag found in cache update XML.
at com.sap.aii.af.service.cpa.impl.cache.directory.DirectoryDataSAXHandler.startElement - You may also find an error in the Cache Connectivity Test similar to:
com.sap.aii.af.service.cpa.impl.cache.directory.helper.DirectoryHttpClient.setupAndSend(DirectoryHttpClient.java:86)
at com.sap.aii.af.service.cpa.impl.cache.directory.helper.DirectoryHttpClient.send(DirectoryHttpClient.java:21)
at com.sap.aii.af.service.cpa.impl.cache.directory.DirectoryAccess.getDataFromDirectory(DirectoryAccess.java:302) ... 7 more
[Fetch Local]: Thrown: com.sap.aii.ib.core.abapcache.CacheRefreshException: [133]: transaction rolled back by detected deadlock: TrexUpdate failed on table '<DB Schema>:XI_DIRCACHEEVENT' with error: transaction rolled back by detected deadlock: Deadlock detected: owner tid cycle=[(victim) 9068569723, 9061587963], rc=4616 OpenSQLExceptionCategories: [TRANSIENT, TRANSACTION_ROLLBACK]
at com.sap.aii.ib.server.abapcache.sql.SQLHandler.cast_ResourceException(SQLHandler.java:716
at com.sap.aii.ibdir.server.abapcache.sql.CacheEventSQL.update_Refresh_Work(CacheEventSQL.java:598)
at com.sap.aii.ibdir.server.abapcache.CacheRefreshRequest.processHTTPRequest(CacheRefreshRequest.java:282)
at com.sap.aii.ibdir.server.abapcache.CacheRefreshRequest.handleHTTPRequest(CacheRefreshRequest.java:137)
at com.sap.aii.ibdir.server.abapcache.HmiMethod_CacheRefresh.process(HmiMethod_CacheRefresh.java:42)... - The update appears to timeout well before the various timeout parameters which would impact the cache update e.g. PROCTIMEOUT, directoryConnectionReadTimeout, acquireLockTimeout etc
- A Web Dispatcher or Load Balancer tool is configured in the system and the cache update is going via this (if you bypass the Web Dispatcher the update is successful)
Read more...
Environment
- SAP NetWeaver 7.5
- SAP Web Dispatcher
Product
SAP NetWeaver 7.5
Keywords
Process Integration, Process Orchestration 7.4, PI 7.4, PO 7.4, Process Orchestration 7.5, PI 7.5, PO 7.5, XI, AEX, CPA cache , KBA , BC-XI-CON-AFW-DC , Directory Cache , BC-CST-WDP , Web Dispatcher , 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.