Symptom
- Connectivity on a Rest Adapter with Oauth authentication scenario is getting messages stuck in 'Delivering' status
- However the Audit logs shows that Mapping is successful and Authorisation token is retrieving correctly from the Microsoft URL.
- From the thread dumps the following can be observed:
at com.sap.aii.af.sdk.xi.oauth.cache.OAuth20TokenCache.addToken(Ljava.lang.String;Lcom.sap.aii.af.sdk.xi.oauth.cache.OAuth20CacheRecord;)V(OAuth20TokenCache.java:87)
- waiting to lock<0x764330ce8> (a com.sap.aii.af.sdk.xi.oauth.cache.OAuth20TokenCache)
at com.sap.aii.af.sdk.xi.oauth.OAuth20ClientCredentialsProcessor.processFlow(Ljava.util.Map;)Ljava.lang.String;(OAuth20ClientCredentialsProcessor.java:200)
at com.sap.aii.adapter.rest.ejb.channel.HTTPWrapper.getOAuthToken()V(HTTPWrapper.java:939)
at com.sap.aii.adapter.rest.ejb.channel.HTTPWrapper.executeCall()V(HTTPWrapper.java:425)
Read more...
Environment
- SAP NetWeaver
- SAP Process Orchestration
- SAP Process Integration
Product
SAP NetWeaver 7.5
Keywords
Process Integration 7.5, Process Orchestration 7.5, PI 7.5, PO 7.5, Rest adapter, OAuth Authentication, Microsoft, XI_AF_OAUTH_CACHE. , KBA , BC-XI-CON-RST , Rest Adapter , 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.