Skip to Content
author's profile photo Former Member
Former Member

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

Add a comment
10|10000 characters needed characters exceeded

Related questions

4 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Feb 05, 2009 at 08:38 PM

    Thanks Sreenivas,

    That didn't help, let me tell you the exact issue -

    I am getting following error when I go to - RWB -> Cache monitoring -> Show cache status table -

    Connection to system RUNTIME using application RUNTIME lost. Detailed information: Error accessing "http://mchir134:50000/run/value_mapping_cache/int?method=InvalidateCache" with user "null". Response code is 401, response message is "Unauthorized"

    I think this will explain more about the issue.

    Thanks for your help ..

    Thanks,

    Surendra

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi Surendra

      Seems there is a problem with the RWB component of PI, check if all components of PI are running fine and

      Adapter engine is getting registered properly.If the system is new , please check the required post installation steps

      report the issue to your basis team.

      If you are in PI 7.1 SP08 then you can run a component test for PI

      http:<server>:<port>/nwa

      Configuration Management- Scenarios- Configuration Wizard

      please refer the blog /people/michal.krawczyk2/blog/2010/03/23/pixi-pi-self-test-for-netweaver--please-use-it

      Regards,

      Srinivas

  • author's profile photo Former Member
    Former Member
    Posted on Feb 06, 2009 at 10:14 AM

    Hi Surendra,

    Can you check your service users PIRWBUSER,PIDIRUSER is not locked?

    Can you see all your xi componets(6 comp) in SLD technical system-> process integration.

    Is INTEGRATION_DIRECTORY_HMI in sm59 working fine?

    Thanks,

    Tuhin

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Agasthuri Doss

      Can you please advice, how to check this. Also till now, I have done the following.

      (1) Check all PI* user and other users as per SAP OSS note 999962

      (2) Check the Exchange profile users

      (3) Check SM59 connection for all as per OSS note 999962

      All looks good. Still whenever, i change any channel i don't see that changes of channel reflected in RWB channel monitoring

      Also when i look for look at communication channel -> Cache monitoring, i see the status not green.When i do the cache test from RWB, i see the failure as following

      Any other help on this is appreciated.

      Regards

      Cache_Overview.jpeg (185.5 kB)
  • author's profile photo Former Member
    Former Member
    Posted on Aug 20, 2014 at 08:29 PM

    What was final solution? Its happening to us now after a cache refresh. Messages in Adapter Engine cannot be restarted :-(

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Aug 18, 2016 at 07:30 AM

    Hi Experts,

    I received the satme error as above then I performed cache conncectivity test (RWB>>Componet Monitoring>> Cache Connectivity Test>>Start Test).

    Then I refreshed cache monitoring in Show Cache Status Table (RWB>>>Cache Monitoring)

    This resolved the issue and status changed from red to green.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.