CPA Cache Probelm PI 7.1

Hi Experts,
Im facing a strange issue which I am totally not able to understand. As the problem is occuring in both systems simulatneously kindly request you to help this out. We are on PI 7.1
In the RWB Im getting this error in CPA cahe monitoring.
1. Central Adapter Engine
Connection to system AF using application Central Adapter Engine lost. Detailed information: Error accessing "http://host:port/AdapterFramework/rwbAdapterAccess/int?method=select" with user "null". Response code is 401, response message is "Unauthorized"
2. Mapping Runtime Cache (Central Adapter Engine)
Connection to system RUNTIME using application RUNTIME lost. Detailed information: Error accessing "http:///host:port/run/value_mapping_cache/int?method=InvalidateCache" with user "null". Response code is 401, response message is "Unauthorized"
We are having a common SLD and the SLD is in PI dev.
Everytime this error happens, the communication channels stops picking up files and throws "not able to access the file".
If I restart the gava engine the  the "Central Adapter Engine" throws a error in RWB--> Cache monitoring  as "CPA Cache not updated with directory". So following this If I do a cpa cache refresh I get the " Connection to system RUNTIME" error (mentioned in point 2 above) , where the Central Adapter Engine will be in GREEN status for sometime and after that goes back to the error status mentioned in the point "1" above.
This issue is driving me crazy as I am not able to understand the system behaviour.
Have carried out SLD self registration, deleted the AE cache in SXI_CACHE, cleared the SLD cache but nothing is helps, restarted the java engine couple of times, stoped and started the
Kindly advice.
Thanks
Prasanna

Hi Prasanna,
Please make sure that all the service/system users are not locked also check if there were any recent changes in pwd.
Please try troubleshooting RWB using the sap note 768456,if it helps.
Are you using value mapping ? please see if the value mapping is active in SXI_CACHE.Try removing
V.mapping for time being and test ,to know if that is cause any issue..just a try.
DO the SLD check and see if the required RFC connection are working fine and also check the user assigned /verify the password used.
Check with your basis if the parameters in exchange profile are maintained properly and cross verify it with any configuration guide.
Regards,
Srinivas

Similar Messages

  • Is CPA Cache refresh linked with  ftp or file pooling process in XI?

    Hi,
    I have a file to file scenario using Transport protocol as FTP in XI 3.0 SP 15.
    When we try to sends some file using ftp protocol where we are using
    FTP  connection parameters
    Server                          = <CORRECT IP>,
    Port                               =  21 ,
    User name                <CORRECT NAME>,
    Password                  <PASSWORD> ,
    Data Connection           = Active
    Connection Seq          = None
    Connection Mode          = Permanently
    Transfer Mode            =   Text
    Processing Parameters
    Quality of Service    = Exactly Once
    Pooling Interval        = 1 sec
    Processing Mode    = delete
    File Type                   = Text
    File encoding           = utf-8                 
    The problem we are facing like some time the ftp is not working even the file is present in the location for pick up. If few files are stacked up to be collected then when we are using CPA Cache refresh in Full mode manually then it fetches all the files from the location but the problem is that ,we have a time constraint for this process to be completed in just 60 seconds if we are not able to pick up a  file in 60 Secs then the file will be treated as invalid.
    So I just want to know how Manual CPA CACHE refresh in full mode generally solve the problem.
    Next if more files will be stacked up then cache refresh also failed to solve the problem and more cache refresh result in NOT pooling any other files in XI including the above discussed flow.
    So,in anyway Cache refresh linked with ftp or file pooling process in XI?
    Please assist me in correctly understating the whole problem and what solution could be put to solve this.
    Thanks,
    Satya
    Edited by: Satya Jethy on Mar 14, 2008 12:28 PM

    Hi Suraj,
      If you see my query i have mentioned that the pooling interval is 1 Second.
    If we are not able to pick the file with in 60 Secs as this is a  real time scenario so the file will be treated as a invalid file.
    Moreover this problem is happening some time.
    I have also checked the component monitoring it is saying everything is ok as because we are receiving the file with out any error and the file transfer is also success.The only problem is that it is not collecting the files from the given location.
    Hope i make you understnad the problem .If not please revert back i will try to explain once again.
    Thanks,
    Satya

  • PI 7.1 - CPA Cache not updated with directory data.

    Hi Gurus,
    I have installed PI 7.1 and recently I refreshed my cache in partial and full mode. when I go to RWB->Cache monitoring -> Show Cache Status Table, I see following error for Central Adaptor engine.
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <ConfirmationXML>
       <CacheRefreshError>
          <EngineType>
          AE
          </EngineType>
          <EngineName>
          af.sxd.mchir134
          </EngineName>
          <RefreshMode>
          C
          </RefreshMode>
          <GlobalError>
             <Message>
             CPA Cache not updated with directory data.
             </Message>
             <Trace>
             com.sap.aii.af.service.cpa.impl.exception.CPADirectoryCacheException: Failed to check secure connection configuration. Reason: com.sap.aii.af.lib.sld.SLDException: Failed to read SLD instance name. Reason: HTTP response code: 503 (Service Unavailable)
         at com.sap.aii.af.service.cpa.impl.cache.directory.DirectoryAccess.getDirectoryURL(DirectoryAccess.java:134)
         at com.sap.aii.af.service.cpa.impl.cache.directory.DirectoryAccess.getDeltaRefreshURL(DirectoryAccess.java:191)
         at com.sap.aii.af.service.cpa.impl.cache.directory.DirectoryAccess.getDeltaCacheUpdateXML(DirectoryAccess.java:440)
         at com.sap.aii.af.service.cpa.impl.cache.CacheManager.performCacheUpdate(CacheManager.java:491)
         at com.sap.aii.af.service.cpa.impl.cache.CacheManager$CacheUpdateRunnable.run(CacheManager.java:322)
         at com.sap.engine.frame.core.thread.Task.run(Task.java:73)
         at com.sap.engine.core.thread.impl5.SingleThread.execute(SingleThread.java:144)
         at com.sap.engine.core.thread.impl5.SingleThread.run(SingleThread.java:242)
    Caused by: com.sap.aii.af.lib.sld.SLDException: Failed to read SLD instance name. Reason: HTTP response code: 503 (Service Unavailable)
         at com.sap.aii.af.lib.sld.impl.SLDAccessor.getSLDInstanceName(SLDAccessor.java:471)
         at com.sap.aii.af.lib.sld.impl.SLDAccessImpl.getSLDInstanceName(SLDAccessImpl.java:96)
         at com.sap.aii.af.service.cpa.impl.cache.directory.DirectoryAccess.getDirectoryURL(DirectoryAccess.java:119)
         ... 7 more
    Caused by: com.sap.aii.utilxi.sld.SldReadFailedException: HTTP response code: 503 (Service Unavailable)
         at com.sap.aii.utilxi.sld.XIEntityInSld.syncFromSld(XIEntityInSld.java:126)
         at com.sap.aii.utilxi.sld.XIEntityInSld.syncFromSld(XIEntityInSld.java:142)
         at com.sap.aii.af.lib.sld.impl.SLDAccessor.getSLDInstanceName(SLDAccessor.java:458)
         ... 9 more
    Caused by: com.sap.lcr.api.cimclient.LcrException: com.sap.lcr.api.cimclient.CIMClientException: HTTP response code: 503 (Service Unavailable)
         at com.sap.aii.utilxi.sld.SldProxy.getXISubSystem(SldProxy.java:526)
         at com.sap.aii.utilxi.sld.XIEntityInSld.getInstFromSld(XIEntityInSld.java:494)
         at com.sap.aii.utilxi.sld.XIEntityInSld.readFromSld(XIEntityInSld.java:156)
         at com.sap.aii.utilxi.sld.XIEntityInSld.syncFromSld(XIEntityInSld.java:120)
         ... 11 more
             </Trace>
          </GlobalError>
          <GlobalError>
             <Message>
             Confirmation handling failed.
             </Message>
             <Trace>
             com.sap.aii.af.service.cpa.impl.exception.CPADirectoryCacheException: Failed to check secure connection configuration. Reason: com.sap.aii.af.lib.sld.SLDException: Failed to read SLD instance name. Reason: HTTP response code: 503 (Service Unavailable)
         at com.sap.aii.af.service.cpa.impl.cache.directory.DirectoryAccess.getDirectoryURL(DirectoryAccess.java:134)
         at com.sap.aii.af.service.cpa.impl.cache.directory.DirectoryAccess.getConfirmationURL(DirectoryAccess.java:162)
         at com.sap.aii.af.service.cpa.impl.cache.directory.DirectoryAccess.invokeConfirmationURL(DirectoryAccess.java:462)
         at com.sap.aii.af.service.cpa.impl.cache.CacheManager.performCacheUpdate(CacheManager.java:603)
         at com.sap.aii.af.service.cpa.impl.cache.CacheManager$CacheUpdateRunnable.run(CacheManager.java:322)
         at com.sap.engine.frame.core.thread.Task.run(Task.java:73)
         at com.sap.engine.core.thread.impl5.SingleThread.execute(SingleThread.java:144)
         at com.sap.engine.core.thread.impl5.SingleThread.run(SingleThread.java:242)
    Caused by: com.sap.aii.af.lib.sld.SLDException: Failed to read SLD instance name. Reason: HTTP response code: 503 (Service Unavailable)
         at com.sap.aii.af.lib.sld.impl.SLDAccessor.getSLDInstanceName(SLDAccessor.java:471)
         at com.sap.aii.af.lib.sld.impl.SLDAccessImpl.getSLDInstanceName(SLDAccessImpl.java:96)
         at com.sap.aii.af.service.cpa.impl.cache.directory.DirectoryAccess.getDirectoryURL(DirectoryAccess.java:119)
         ... 7 more
    Caused by: com.sap.aii.utilxi.sld.SldReadFailedException: HTTP response code: 503 (Service Unavailable)
         at com.sap.aii.utilxi.sld.XIEntityInSld.syncFromSld(XIEntityInSld.java:126)
         at com.sap.aii.utilxi.sld.XIEntityInSld.syncFromSld(XIEntityInSld.java:142)
         at com.sap.aii.af.lib.sld.impl.SLDAccessor.getSLDInstanceName(SLDAccessor.java:458)
         ... 9 more
    Caused by: com.sap.lcr.api.cimclient.LcrException: com.sap.lcr.api.cimclient.CIMClientException: HTTP response code: 503 (Service Unavailable)
         at com.sap.aii.utilxi.sld.SldProxy.getXISubSystem(SldProxy.java:526)
         at com.sap.aii.utilxi.sld.XIEntityInSld.getInstFromSld(XIEntityInSld.java:494)
         at com.sap.aii.utilxi.sld.XIEntityInSld.readFromSld(XIEntityInSld.java:156)
         at com.sap.aii.utilxi.sld.XIEntityInSld.syncFromSld(XIEntityInSld.java:120)
         ... 11 more
             </Trace>
          </GlobalError>
       </CacheRefreshError>
    </ConfirmationXML>
    Please suggest the solution.
    Thanks,
    Surendra

    Guys,
    I have the same issue. Any help on this is appreciated!
    Issue log from CPA cache refresh
    <?xml version="1.0" encoding="UTF-8" ?>
    - <CacheRefreshError> 
    <EngineType>AE</EngineType>  
    <EngineName>af.sxd.pl1vw158</EngineName>  
    <RefreshMode>C</RefreshMode>  
    - <GlobalError> 
    <Message>CPA Cache not updated with directory data.</Message>  
    <Trace>com.sap.aii.af.service.cpa.impl.exception.CPADirectoryCacheException: Failed to check secure connection configuration. Reason: com.sap.aii.af.lib.sld.SLDException: Failed to read SLD instance name. Reason: HTTP response code: 503 (Service Unavailable) at com.sap.aii.af.service.cpa.impl.cache.directory.DirectoryAccess.getDirectoryURL(DirectoryAccess.java:134) at com.sap.aii.af.service.cpa.impl.cache.directory.DirectoryAccess.getDeltaRefreshURL(DirectoryAccess.java:195) at com.sap.aii.af.service.cpa.impl.cache.directory.DirectoryAccess.getDeltaCacheUpdateXML(DirectoryAccess.java:448) at com.sap.aii.af.service.cpa.impl.cache.CacheManager.performCacheUpdate(CacheManager.java:457) at com.sap.aii.af.service.cpa.impl.cache.CacheManager$CacheUpdateRunnable.run(CacheManager.java:291) at com.sap.engine.frame.core.thread.Task.run(Task.java:73) at com.sap.engine.core.thread.impl5.SingleThread.execute(SingleThread.java:162) at com.sap.engine.core.thread.impl5.SingleThread.run(SingleThread.java:260) Caused by: com.sap.aii.af.lib.sld.SLDException: Failed to read SLD instance name. Reason: HTTP response code: 503 (Service Unavailable) at com.sap.aii.af.lib.sld.impl.SLDAccessor.getSLDInstanceName(SLDAccessor.java:505) at com.sap.aii.af.lib.sld.impl.SLDAccessImpl.getSLDInstanceName(SLDAccessImpl.java:96) at com.sap.aii.af.service.cpa.impl.cache.directory.DirectoryAccess.getDirectoryURL(DirectoryAccess.java:119) ... 7 more Caused by: com.sap.aii.utilxi.sld.SldReadFailedException: HTTP response code: 503 (Service Unavailable) at com.sap.aii.utilxi.sld.XIEntityInSld.syncFromSld(XIEntityInSld.java:133) at com.sap.aii.utilxi.sld.XIEntityInSld.syncFromSld(XIEntityInSld.java:150) at com.sap.aii.af.lib.sld.impl.SLDAccessor.getSLDInstanceName(SLDAccessor.java:492) ... 9 more Caused by: com.sap.lcr.api.cimclient.LcrException: com.sap.lcr.api.cimclient.CIMClientException: HTTP response code: 503 (Service Unavailable) at com.sap.aii.utilxi.sld.SldProxy.getXISubSystem(SldProxy.java:527) at com.sap.aii.utilxi.sld.XIEntityInSld.getInstFromSld(XIEntityInSld.java:553) at com.sap.aii.utilxi.sld.XIEntityInSld.readFromSld(XIEntityInSld.java:165) at com.sap.aii.utilxi.sld.XIEntityInSld.syncFromSld(XIEntityInSld.java:127) ... 11 more</Trace>  
    </GlobalError>
    - <GlobalError> 
    <Message>Confirmation handling failed.</Message>  
    <Trace>com.sap.aii.af.service.cpa.impl.exception.CPADirectoryCacheException: Failed to check secure connection configuration. Reason: com.sap.aii.af.lib.sld.SLDException: Failed to read SLD instance name. Reason: HTTP response code: 503 (Service Unavailable) at com.sap.aii.af.service.cpa.impl.cache.directory.DirectoryAccess.getDirectoryURL(DirectoryAccess.java:134) at com.sap.aii.af.service.cpa.impl.cache.directory.DirectoryAccess.getConfirmationURL(DirectoryAccess.java:166) at com.sap.aii.af.service.cpa.impl.cache.directory.DirectoryAccess.invokeConfirmationURL(DirectoryAccess.java:470) at com.sap.aii.af.service.cpa.impl.cache.CacheManager.performCacheUpdate(CacheManager.java:576) at com.sap.aii.af.service.cpa.impl.cache.CacheManager$CacheUpdateRunnable.run(CacheManager.java:291) at com.sap.engine.frame.core.thread.Task.run(Task.java:73) at com.sap.engine.core.thread.impl5.SingleThread.execute(SingleThread.java:162) at com.sap.engine.core.thread.impl5.SingleThread.run(SingleThread.java:260) Caused by: com.sap.aii.af.lib.sld.SLDException: Failed to read SLD instance name. Reason: HTTP response code: 503 (Service Unavailable) at com.sap.aii.af.lib.sld.impl.SLDAccessor.getSLDInstanceName(SLDAccessor.java:505) at com.sap.aii.af.lib.sld.impl.SLDAccessImpl.getSLDInstanceName(SLDAccessImpl.java:96) at com.sap.aii.af.service.cpa.impl.cache.directory.DirectoryAccess.getDirectoryURL(DirectoryAccess.java:119) ... 7 more Caused by: com.sap.aii.utilxi.sld.SldReadFailedException: HTTP response code: 503 (Service Unavailable) at com.sap.aii.utilxi.sld.XIEntityInSld.syncFromSld(XIEntityInSld.java:133) at com.sap.aii.utilxi.sld.XIEntityInSld.syncFromSld(XIEntityInSld.java:150) at com.sap.aii.af.lib.sld.impl.SLDAccessor.getSLDInstanceName(SLDAccessor.java:492) ... 9 more Caused by: com.sap.lcr.api.cimclient.LcrException: com.sap.lcr.api.cimclient.CIMClientException: HTTP response code: 503 (Service Unavailable) at com.sap.aii.utilxi.sld.SldProxy.getXISubSystem(SldProxy.java:527) at com.sap.aii.utilxi.sld.XIEntityInSld.getInstFromSld(XIEntityInSld.java:553) at com.sap.aii.utilxi.sld.XIEntityInSld.readFromSld(XIEntityInSld.java:165) at com.sap.aii.utilxi.sld.XIEntityInSld.syncFromSld(XIEntityInSld.java:127) ... 11 more</Trace>  
    </GlobalError>
    </CacheRefreshError>
    Regards

  • CPALookupException: Could not find channel in CPA Cache in PI 7.3

    Hi,
    I am getting below error in PI 7.3 when  trying to send data from SOAP sender Adapter.
    com.sap.engine.interfaces.messaging.api.exception.MessagingException: com.sap.aii.af.service.cpa.impl.exception.CPALookupException: Could not find channel in CPA Cache. Object ID: f3898d7d5ca3380a8aca739cc21b0cac. Cause: com.sap.aii.af.service.administration.api.monitoring.ChannelUnknownException: Channel was not found in CPA Cache: f3898d7d5ca3380a8aca739cc21b0cac due to: Got &lt;null> from CPA-cache.
    Steps
    1.) deleted Old communication channel and ICO and activated
    2.) Done full CPA Cache refresh
    3.)   Created communication Channel and ICO
    4.) Activated
    But when i checekd in communication channel i found above error.
    Regards,
    Anurag

    Hi all,
    has anybody found a good solution for this problem?
    We face the same problem over here, working with SOAP Sender Adapter (XI 3.0 Protocol) & Integrated Configuration on PI 7.3. The only thing that seems to help is to restart the Adapter Framework but that´s not an option on the production system.
    Best regards,
    Matthias

  • Lookup of alternativeServiceIdentifier via CPA-cache failed for channel

    Hi,
    In RFC(ECC) to File(PI) scenaio  i am facing the following error in sender CC:
    Error in processing caused by: com.sap.aii.adapter.rfc.afcommunication.RfcAFWException: lookup of alternativeServiceIdentifier via CPA-cache failed for channel SND_RFC
    -CC' (f455868123qq3bba4c3dc3dbf93ed1b, party '', schema 'TechnicalSystem', identifier 'ECC#110')
    I have done the following for RFC to File scenario:
    ECC side:
    1. Created a RFC and tagged it to BAPI
    2. In the ABAP program, i am calling the RFC like below:
    CALL FUNCTION 'Z_HR_OUTBOUND_DATA2'
    IN BACKGROUND TASK DESTINATION 'Z_HR_OUTBOUND_DATA2'
    EXPORTING
    INTERFACE =
    IMPORTING
    FILENAME = FILENAME
    RETURN = RETURN
    TABLES
    ITAB10 = ITAB10
    P_STATUS = P_STATUS
    COMMIT WORK.
    3. Created a RFC destination using SM59
    RFC detination : Z_HR_OUTBOUND_DATA2
    Connection type : TCP/IP
    Enabled Registered Server Program
    Program ID : ECCTOPI_OUTBOUND
    Gateway host : ECC's host number
    Gateway service : ECC's service number.
    In PI side:
    I have created :
    1 DT for File Rcvr
    1 MT for File Rcvr
    1 SI for File Rcvr (async)
    1 MM (sender RFC and receiver File)
    1 OM
    1 CC with RFc as sender with the following parameters:
    Communication component : ECC's component
    application server (gateway) : ecc's gateway
    application server service(Gateway) : ecc's service number
    Program id : ECCTOPI_OUTBOUND
    inital connections 1
    max. connections 1
    And also gave ecc's details in application server , s/y number, auth. mode, logon user ,
    pwd, ecc's client number
    1 CC with File adapter and file content conversion
    1 receiver determination
    1 interface determination
    1 sender agreement
    1 receiver agreement
    When i am executing the ABAP program in R/3 I am getting the following error:
    Error in processing caused by: com.sap.aii.adapter.rfc.afcommunication.RfcAFWException: lookup of alternativeServiceIdentifier via CPA-cache failed for channel SND_RFC
    -CC' (f455868123qq3bba4c3dc3dbf93ed1b, party '', schema 'TechnicalSystem', identifier 'ECC#110')
    Please let me know if any of my steps are wrong and how to rectify this error and make
    the scenario working.
    Thanks for your help.

    I have mentioned the Adapter specific parameters properly.
    It contains :
    For ECC s/y(i.e for RFC)
       Logical system :  DECCLNT120
       R/3 system ID : DEC
       Client 120
    For PI (i.e for File)
       Logical system :  DPICLNT100
       R/3 system ID : DPI
       Client 100
    Since i am sending the Response of the RFc to the file, i have used a Service interface where i am passing the RFC.Response as Request.
    if i am passing the RFC directly as i/p in Source operation of Operation mapping then it doesn't pick up the response in the souce message of the mapping program present in Operation mapping.
    So i am passing the same SI_Sender_RFC in the Sender Agreement and  it gives the error:
    Error in processing caused by: com.sap.aii.adapter.rfc.afcommunication.RfcAFWException: senderAgreement not found: lookup of binding via CPA-cache failed for AdapterType RFC, AdapterNS http://sap.com/xi/XI/System, direction INBOUND, fromParty '', fromService 'DEC_RFC', toParty '', toService '', interface 'Z_HR_OUTBOUND_DATA2', NS 'urn:sap-com:document:sap:rfc:functions' for channel 'CC_LOTUSNOTES_OUTBOUND_SND_RFC' (channelId c78f5a88787131a09384c07c2db0e93b)
    why is it so?

  • Error: Sender agreement not found, lookup of binding via CPA-CACHE failed.

    Hi,
    I am doing an RFC to File Scenario in which RFC has to be triggered from CRM system. The TCP/IP connection and communication Channel are working fine. But when i trigger my RFC using the RFC destination following errors occur:
    1. The SYSTEM_FALIURE exception comes on CRM side.
    2. In adapter monitoring the following error comes on XI side:
           Error: Sender agreement not found, lookup of binding via CPA-CACHE failed for Adapter type RFC.
    I have also tried the scenario with RFC request as source message and also after J2EE cache refresh but the problem still persists. And one more thing my file adapter (In receiver communication channel) is not working means it is not started. And no message is coming in SXMB_MONI.
    Could anyone please help me to resolve this issue.
    Regards,
    Vinay Yadav

    Hi Aaron,
    I had the same error and your feedback solved my problem!
    Thank you sooo much!!!!
    Luciana

  • "senderAgreement not found: lookup of binding via CPA-cache failed for..."

    Hi,
         I have configured asynchronous sender RFC to JDBC scenario and when I execute RFC I get short dump "senderAgreement not found: lookup of binding via CPA-cache failed for..."
         My scenario configurations, RFC destination, are all okey..
    A Hint:
         Our XI Server is "LARA"
         Our R/3 4.6C Server is "ZULIA"
    This are the RFC Sender Communication Channel on LARA:
         RFC Server Parameter
         Application Server (Gateway):           ZULIA
         Application Server Service (Gateway):      sapgw00
         Program ID:                     DEV210
         SNC:                          NOT CHECKED
         UNICODE:                     NOT CHECKED
         Inital Connections:               10
         Maximum Connections:               10
         Advanced Mode:                    NOT CHECKED
         RFC Metada Repository Parameter
         Load Balancing:                NOT CHECKED
         Application Server:               ZULIA
         System Number:                    00
         Authentication Mode:               Use Logon Data for SAP System
         Logon User:                    ldiego
         Logon Password:                    **********
         Logon Language:                    ES
         Logon Client:                    210
         Adapter-Specific Message Attributes
         Set Adapter-Specific Message Attributes: NOT CHECKED
    This are the configuration of RFC Destination on ZULIA:
         RFC Destination Name:                XI_RFC
         Connection Type:               T
         ID Program:                    DEV210
         Host Gateway:                    ZULIA
         TCP Service                    sapgw00
    Must I create the RFC Destination on the JCo RFC Provider in Visual Administrator?

    <i>Is the RFC destination created in the R/3 is pointing correctly to the XI system and vice -versa. Test the connection.</i>
    I tested my RFC Destination from R/3 system and the response was successful. What do you mean about vice-versa? How do I test it in the other way?.
    I recreate my Sender Agreement. And my Business System is correct.
    This are the parameters of my Sender Agreement:
    Service:     DES210_DEV
    Interface:     Z_DATOS_SAP
    Namespace:     urn:sap-com:document:sap:rfc:functions
    Sender Communnication Channel: cc_s_rfc_dataCom
    When I execute the FM in R/3 the dump now is:
    Wrong Sender Agreement:The Sender agreement does not have channel

  • Not able to do CPA cache refresh

    Hi,
    I am trying to do the CPA cache refresh through the URL: http://<hostname>:<port>/CPACache/refresh?mode=full. But I am not able to do it due to authorization problems. I tried with different users like: PIAPPLUSER, PIAFUSER, J2EE_ADMIN etc. I am getting an error saying: " You are not authorized to view the requested resource." Can anybody tell me what is the problem here?
    Thanks and Regards,
    Divija.

    Use PIDIRUSER
    Regards,
    Prateek

  • CPA cache refresh error

    Hi All,
    While doing CPA cache refresh by
    http://<host>:<port>/CPACache/refresh?mode=full
    the following message is dislayed
    403 Forbidden SAP J2EE Engine/7.00
    You are not authorized to view the requested resource.
    What is the authorization needed for doing CPA cache refresh..?
    If i tried with Admin user also, same error message is coming.
    Suggest some solution in detail.
    Regards
    JSAP

    Hi! JSAP JSAP,
    Even I faced this problem recently that uanbelt o login into CPA Cache refresh URL and getting access forbidden.
    First check whether respective roles are assigned or not.
    CPA Cache Referesh Link:  http://HOST:PORT/CPACache/refresh?mode=full
    J2ee                           ABAP
    xi_af_cpa_monitor = SAP_XI_MONITOR_J2EE, SAP_XI_ADMINISTRATOR_J2EE, SAP_XI_CONFIGURATOR_J2EE, SAP_XI_DISPLAY_USER_J2EE
    xi_af_cpa_invalidate = SAP_XI_ID_SERV_USER
    Then try doing cache refresh
    According to my inf another thing this CPA cache refresh is using in Old Service packs but for recent SP20and SP22 you can do whether from Integration Builder page --> ADmnistration tab then do CPA Cache refresh and also do go to SXI_CAche in SAP logon pad and do Adapter cache refresh okay
    I hope this inf is useful to you
    Reward Points if useful
    Thanks
    Amar Srinivas ELi

  • CPA Cache Monitoring is not working in PCK

    Hi all,
    i had done a scenario Mail to File in PCK .When i checked the flow of messages in Message Monitoring . Receiver Party and Receiver Services are missing.
    When i try to refresh CPA cache using URL:
    http://<host>:<port>/CPACache/refresh?mode=delta|full
    it shows error "Application error occurred during the request procession."
    Details: "The WebApplicationException log ID is [
    Exception id: [0015C5EA13A9004B000000CE00001414624DFAC1FCC4D9C3]]."
    anyone have a idea to resolve this issue?
    Thanks

    Hi Aswin
    Check SAP note :741214
    for problem regarding PCK
    Regards
    krishna

  • RFC Sender - lookup of alternativeServiceIdentifier via CPA-cache failed

    Hello,
    I am using RFC Sender for a scenario and while sending message I got following error. I found this error while monitoring communication channel. I looked at several posting on this issue and tried with both checking  and not checking check box of advanced mode (RFC sender communication channel configuration). I am getting the same "lookup of alternativeServiceIdentifier via CPA-cache failed" error. How did you resolved?, please let meknow.
    Did any one come across error
    Server 0 0_50478 Sender channel 'CC_GET_CUSTOMER_RFC_SENDER' for party '', service 'SAP_DFR' (internal name 'RfcServer[CC_GET_CUSTOMER_RFC_SENDER]')
    Server data: {jco.server.gwhost=XXXXXXXXXX, jco.server.progid=DFX_XI_00, jco.server.gwserv=sapgw00, XI_RFC_USER=*****, jco.server.unicode=0}
    Repository data: {jco.client.lang=EN, jco.client.snc_mode=0, jco.client.client=120, jco.client.passwd=******, jco.webas.ignore_jdsr_error=1, jco.client.user=XI_RFC_USER, jco.client.sysnr=00, jco.client.ashost=XXXXXXXXXX}
    Current pool size: 1, maximum pool size : 1
    Channel History
    - Error: 2007-09-20 10:32:14 CDT: com.sap.aii.af.rfc.afcommunication.RfcAFWException: lookup of alternativeServiceIdentifier via CPA-cache failed for channel 'CC_GET_CUSTOMER_RFC_SENDER' (bee9e190f51f3687b1072bf3f5446a70, party '', schema 'TechnicalSystem', identifier 'DFR#120')
    Thank you,
    Balaji

    run tc SXI_cache on the XI
    on that screen press Shift+f6, it will start the refresh....and also do the CPAcahe manually trough the link
    http://itmisapxi:50000/CPACache/refresh?mode=full
    with PIRDIRUSER and then check the interfce....

  • CPA Cache

    Hello @ all,
    I wanted to refresh the CPA CACHE with the PIDIRUSER but i had this Message Error:
    Couldn't parse Configuration Data cache update XML string from Directory
    So i have seen also in Forum. i have also registred manuelly  all the PI component in SLD and i have maintain the INTEGRATION_DIRECTORY_HMI RFC . All this Component are correct.
    i did also the instructions of notes 1334053 and 1117249.
    In the Integration Directory while doing the CACHE i bcome also AF.<SID>.<HOST> error, that the integration Engine  not registret in SLD.
    I can see  the ERROR of the Adapter Engine only in RWB. Can you please help me.
    Thank you very much.

    Hi Labrache,
    Can you please see this blog:
    /people/sravya.talanki2/blog/2006/12/19/unable-to-read-integrationdirectoryhmiundocumented-bug-sxicache
    Try to add the authorization S_RFC_ADM for the user as mentioned in this blog.
    Regards,
    ---Satish

  • CPA Cache and J2EE server issues

    Hi Experts,
    I am having a File to File scenario where the sender channel picks up  csv files ( around 3MB each). Once I finished the configuration of the scenario, the J2EE server started to restart continuously five times and stops with a out of memory error.
    After going through the defaultTrace.trc file in logviewer, this is the first error that I could see after starting the J2EE server.
    CPA Cache not updated with directory data, due to: Couldn't open Directory URL (http://pi-dev:50000/dir/hmi_cache_refresh_service/ext?method=CacheRefresh&mode=C&consumer=af.pid.pi-dev), due to: HTTP 503: Not Ready
    Source Name: com.sap.aii.service.cpa.impl.cache.CacheManager.I checked the RFC destination of INTEGRATION_DIRECTORY_HMI and also checked if PIDIRUSER and PIAFUSER are locked or not. But they are not locked.
    After the above error, the errors just build up probably because of the adapter framework not firing up. One of the error is:
    Failed to lookup object from JNDI for name localejbs/AFWListener within app level thread. Reason: com.sap.engine.services.jndi.persistent.exceptions.NameNotFoundException: Path to object does not exist at localejbs, the whole lookup name is localejbs/AFWListener.
    Source: com.sap.aii.af.ra.ms.runtime.Resources
    I also increased the max thread count in the Application Thread Manager to 250 in the Config tool. I kept the heap sizes as posted above.
    Any help will be greatly appreciated.
    Regards

    Hey,
    >the J2EE server started to restart continuously five times and stops with a out of memory error.
    Strange,  Can you test with  less than 1 MB  file  and let us know the status, Is  SAP PI  & ECC  are installed in the same Server.
    Cheers
    Agasthuri

  • SXI_Cache  and CPA Cache..

    Hi All,
    J2EE engine components : SLD, IR, ID, RWB, AE,Adapters(except IDOC and HTTP sender), Mapping Runtime.
    ABAP engine components : BPE, IE.
    Now pls tell me the where does SXI_Cache reside and its purpose in simple defination.
    Where does CPA Cache reside and its purpose?
    Regards

    Hi,
    the below blog will explain your doubts
    SXI_CACHE - Ripped Off
    SXI_CACHE - Ripped Off
    This transaction is useful for troubleshooting and support within SAP Exchange Infrastructure. You can call to analyze the cache
    http://help.sap.com/saphelp_nw04/helpdata/en/0d/28e1c20a9d374cbb71875c5f89093b/frameset.htm
    CPA Cache
    Cache monitoring monitors cache objects. Selection criteria are available for each cache object; you can use these selection criteria to search for current objects in the runtime cache
    CPA cache means it will contains the cache copy of all objects created during configuration time (ID)
    To monitor the CPA cache
    Display:
    http://server:port/CPACache/monitor.jsp
    History:
    http://server:port/CPACache/history.jsp
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/1a69ea11-0d01-0010-fa80-b47a79301290
    How to handle XPI caches in 2004s
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/c0332b2a-eb97-2910-b6ba-dbe52a01be34
    Thanks
    Swarup

  • Authorizations for CPA Cache

    Hello Experts,
    I am not able to do full CPA Cache and Partial Cache Refresh.
    What are the authorization needed  for it...it is giving authorization not there
    Thanks,
    Vishal

    Hi,
    If someone has the same problem and come to this topic, the necessary role  to execute a CPACache Full Refresh and to avoid the error: "403   Forbidden: You are not authorized to view the requested resource" is: SAP_XI_ID_SERV_USER.
    Regards.
    Rodrigo.

Maybe you are looking for

  • Idoc stuck in Sm58 Commit fault: ASJ.ejb.005043 (Failed in component:

    Hi All, We have an IDoc to File scenario and IDoc is stuck in tRFC with the error :Commit fault: ASJ.ejb.005043 (Failed in component:sap.com/com.sap.aii.ad This is the new PI box and IDoc is triggered for the first time. RFC destination is created fo

  • Running linux applications in Java

    I'm doing a project for an application to do wireless mapping, using existing open-source programs (like Kismet and TCPdump). My problem is that I need to launch linux applications in super user mode from my java program, but I don't know how! I was

  • Adding maps to existing contacts

    Hi can only see a way to add maps to new contacts.  What about existing ones? 

  • Handling multiple calendar sources

    How do I manage multiple calendars on the iPhone? I have an exchange server, caldav server, and the local calendar items. On my iPad there is a calendars button and I can tick on and off specific calendars and see their sources, just like iCal on the

  • MS Word documents in forms/oracle database

    How does one store a word document in the database. Should be able to store the binary file and be able to retrieve it by launching MS word. Can we use BLOB. If so how to store a file into a BLOB column and how to retrieve that when required in forms