cancel
Showing results for 
Search instead for 
Did you mean: 

PI 7.1 - CPA Cache not updated with directory data.

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

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.

Former Member
0 Kudos

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

Former Member
0 Kudos

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

Former Member
0 Kudos

Hi Tuhin,

Ids are not locked, it has got all 5 components under SLD-> technical system -> Process Ingetration and HMI RFC works fine.

Thanks,

Surendra

Former Member
0 Kudos

HI,

please check sap note 803145

Thanks,

Tuhin

Edited by: Tuhin Kumar Oza on Feb 6, 2009 4:19 PM

Former Member
0 Kudos

Surendra .. I am facing the same issue in PI 7.1. Were you able to resolve your issue? Can you please provide me with the solution? Would greatly appreciate that.

Thanks

Sridhar

Former Member
0 Kudos

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

agasthuri_doss
Active Contributor
0 Kudos

Hi,

Can you please check whether Dispatcher is fine ?

Cheers

Agasthuri

Former Member
0 Kudos

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

Former Member
0 Kudos

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

Former Member
0 Kudos

Hi Surendra,

Is transaction SLDCHECK successfull?

Regards,

Sergio

Former Member
0 Kudos

SLDCHECK is perfectly fine and all other links of RWB is working fine.

I am not sure which user id it is talking about in the error. I tried to do a full cache refresh but still get the same error.

Thanks for your help ..

Thanks,

Surendra

Former Member
0 Kudos

It looks like the SLD cannot be reached, not an user/authorization issue, strange that SLDCHECK was successfull.

What if you run function module LCR_GET_OWN_BUSINESS_SYSTEM setting the flag bypasschache = 'X'?

Regards,

Sergio

Former Member
0 Kudos

Hi Sergio,

Thanks for your reply - I get the following output after executing the function module -

Import parameters Value

BYPASSING_CACHE X

Export parameters Value

BS_KEY_NAME INTEGRATION_SERVER_SXD

BS_CAPTION INTEGRATION_SERVER_SXD

BS_ROLE HUB

Former Member
0 Kudos

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