cancel
Showing results for 
Search instead for 
Did you mean: 

Cache Update on Central Adapter Engine running for 5 days !!!

Former Member
0 Kudos

Hi,

I have a problem with my cache refresh.

In the cache status overview on the integraton builder i see one line for Cache Instance = Central Adapter Engine

It says "complete cache refresh for the cache instance is in process" but the date is 5 days ago.

Before this all Cache updates on CAE are finished succesfull. After this date there are some lines saying Cache refresh not started.

What can be the reason that the cache refresh is running for 5 days?

What can i do to solve this issue?

thx

Robert

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

Took a long time but i finally got one hint when checking RWB >> SLD Registration.

I saw Adapter Engine status red and the following detail:

CPA cache update URL: URL currently used by Adapter Engine and URL stored in SLD are NOT the same.

How this happened i do not know, but getting them aligned was the solution.

Thx anyway for thinking with me on this issue.

Robert

Former Member
0 Kudos

Hi Robert,

Try repeating the cache update for the instance.

Also check the links mentitioned below to get an understanding on Cache

/people/sravya.talanki2/blog/2005/12/02/sxicache--ripped-off

http://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/1a69ea11-0d01-0010-fa80-b47a79301...

Hope this helps.

Regards,

Jimmy

Edited by: Jimmy John on Dec 6, 2010 7:59 PM

Former Member
0 Kudos

Hi,

I already tried to do the refresh, but every refresh is not started because there is already an update in progress.

Thx for the links. I've seen most already, but will see if there is new material for me.

kr

Robert

Former Member
0 Kudos

Cache refresh must be done using PIDIRUSER or a user with similar authorization.(ref SAP Note 764176).

Check if your related user is locked or not.

What is version of PI are you using ? How are you performing the Cache update (SXI_CACHE or through RWB)?

http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/c0332b2a-eb97-2910-b6ba-dbe52a01b...

Edited by: Jimmy John on Dec 6, 2010 8:48 PM

Former Member
0 Kudos

Hi,

PI version is 7.11

I've tried a full CPACache refresh a couple of times already with http://host:port/CPACache/refresh?mode=full but i get following error: "CPA Cache not updated with directory data"

and it also says:

"Could not open Directory URL (http://localhost:50000/dir/hmi_cache_refresh_service/ext?method=CacheRefresh&mode=F&consumer=DefaultConsumer). Reason: com.sap.aii.af.service.cpa.impl.exception.CPADirectoryCacheException: HTTP 401: Unauthorized at com.sap.aii.af.service.cpa.impl.cache.directory.DirectoryAccess.getDataFromDirectory(DirectoryAccess.java:304)

etc etc etc.

The PIDIRUSER is not blocked, the INTEGRATION_DIRECTORY_HMI gives the 500 response which everyone says is OK.

What else can be wrong?

thx

Robert

Former Member
0 Kudos

Hi Robert,

It seems that there is a user authentication problem from the error log u posted

"CPADirectoryCacheException: HTTP 401: Unauthorized"

Please also do check the PIAFUSER if it is locked or not. Also check for other PI service users.

For ref. SAP Note 741214 - Troublesh. during cache update of the J2EE CPACache service

Regards,

Jimmy

Former Member
0 Kudos

Hi Jimmy,

Thx for valuable input so far.

Unfortunately all suggestions so far havent solved the issue. Users ar not locked (no service-user, PIIS, PIDIR, PIAF, or other is locked)

So we're still searching.

Already put in an 'product error' with SAP.

Also one basis guy looking into it.

KR

Robert