0% found this document useful (0 votes)
197 views11 pages

CPA CACHE Problem - SAP Community

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
197 views11 pages

CPA CACHE Problem - SAP Community

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 11

10/8/24, 5:33 PM CPA CACHE Problem - SAP Community

m
m
Products and Technology Groups Partners Topics Events What's New Get Star
u
ni
t
y
SAP Community  Products and Technology  Technology  Technology Q&A  CPA CACHE Problem

Q&A  What are you looking for today?

Options

CPA CACHE Problem

former_member187339
Active Contributor

on ‎2005 May 09

 0 Kudos  870

SAP Managed Tags: SAP Process Integration

Hi

I am facing a problem with the J2ee Cache of our server(XI 3.0, SP10).

Whenever I am activating any changes in Directory, the cache notification is all "GREEN"
(successful) for ABAP Cache but Central Adapter Engine Cache is "RED"(not started).

When i checked the CPA Cache history, i got the following error:

com.sap.aii.af.service.cpa.impl.exception.CPADirectoryCacheException: Couldn't open


Directory URL (http://cgnsap12:50000/dir/hmi_cache_refresh_service/ext?
method=CacheRefresh&mode=C&consumer=af.zxi.cgnsap12), due to: <b>HTTP 503:
Service Unavailable</b>

The hostname is cgnsap12 and the SAP SID is ZXI

https://community.sap.com/t5/technology-q-a/cpa-cache-problem/qaq-p/870141 1/11
10/8/24, 5:33 PM CPA CACHE Problem - SAP Community

What could be the problem??? Has anyone faced this problem???

Any ideas as to how to solve this.

Regards

Suraj

 Replies (0)

 You must be a registered user to add a comment. If you've already


registered, sign in. Otherwise, register and sign in.

Comment

Answer

Accepted Solutions (0)

 Answers (3)

MichalKrawczyk
Active Contributor

‎2005 May 10

 0 Kudos

Hi,

a good way is to check all three connections:

- Directory - http://cgnsap12:50000/dir/hmidiag/ext?method=info

- Repository: http://cgnsap12:50000/rep/hmidiag/ext?method=info

https://community.sap.com/t5/technology-q-a/cpa-cache-problem/qaq-p/870141 2/11
10/8/24, 5:33 PM CPA CACHE Problem - SAP Community

- Mapping Runtime - http://cgnsap12:50000/run/hmidiag/ext?method=info

each time you should see a page with HMI server information if not then as
<i>Somckit</i> said it might be a problem with the java stack

Regards,

michal

 Replies (0)

 You must be a registered user to add a comment. If you've already


registered, sign in. Otherwise, register and sign in.

Comment

Former Member


‎2005 May 10

 0 Kudos

This may be a shot in the dark, but the error msg:

(http://cgnsap12:50000/dir/hmi_cache_refresh_service/ext?
method=CacheRefresh&mode=C&consumer=af.zxi.cgnsap12), due to: HTTP 503:
Service Unavailable

Indicates that the dispatcher or server process on the Java stack is not running.

What does a connection to http://cgnsap12:50000 return?

 Replies (0)
https://community.sap.com/t5/technology-q-a/cpa-cache-problem/qaq-p/870141 3/11
10/8/24, 5:33 PM CPA CACHE Problem - SAP Community

 You must be a registered user to add a comment. If you've already


registered, sign in. Otherwise, register and sign in.

Comment

Former Member


‎2005 May 09

 0 Kudos

In transaction SM59, check the HTTP destination "INTEGRATION_DIRECTORY_HMI", the


path prefix should be "/dir/CacheRefresh". When you test the connection, it should return
something like "HTTP/1.1 500 Internal Server Error".

Your problem looks like you have a wrong path prefix in this destination.

Hope this helps.

Hart

 Replies (4)

 You must be a registered user to add a comment. If you've already


registered, sign in. Otherwise, register and sign in.

Comment

former_member187339
Active Contributor

‎2005 May 10

https://community.sap.com/t5/technology-q-a/cpa-cache-problem/qaq-p/870141 4/11
10/8/24, 5:33 PM CPA CACHE Problem - SAP Community

 0 Kudos

Hi Hart,

Thanks for the reply. But I checked HTTP destination


"INTEGRATION_DIRECTORY_HMI", the path prefix is
"/dir/hmi_cache_refresh_service/ext". When I test the connection it returns me
"HTTP/1.1 200 OK"

Is this path prefix wrong??? I have done this as per the post installation activities in
the installation Guide.

Any other suggestions????? The problem is still persisting.

Regards

Suraj

former_member187339
Active Contributor

‎2005 May 11

 0 Kudos

Hi Hart,

I changed the prefix path of "INTEGRATION_DIRECTORY_HMI" and restarted the


server. Now the server is taking a long time to start and still the cache update
problem persists.

When i checked SXI_CACHE it doesn't show me a green signal but says "<i>Unable
to refresh cache contents</i>" and "<i>Error during last attempt to refresh cache</i>".
The error id is UPDATE.

https://community.sap.com/t5/technology-q-a/cpa-cache-problem/qaq-p/870141 5/11
10/8/24, 5:33 PM CPA CACHE Problem - SAP Community

<b>HTTP status code 503 service unavailable</b>.

Any ideas??????

Regards

Suraj

Former Member


‎2005 May 11

 0 Kudos

Hi Suray,

it seems the integration server tries to sent to a wrong url of the central adapter
framework.

Please check the correct url:

1. The url can be seen in transaction SXI_CACHE -> Go to -> AE Cache.

The url can be deleted in transaction SXI_CACHE -> Go to -> AE Cache. Use the
button for the recycle bin.

Note: This might be especially helpfull in cases where you manually correct ports or
host names in the SLD for that adapter engine or if the adapter engine registers again
at the SLD with new information.

2. CPA-Cache Refresh from Adapter Engine.

To trigger a cache refresh from the individual adapter framework open a browser
window and type the following URL:

https://community.sap.com/t5/technology-q-a/cpa-cache-problem/qaq-p/870141 6/11
10/8/24, 5:33 PM CPA CACHE Problem - SAP Community

http://<host>:<port>/CPACache/refresh?mode=full

You can also view the content of the related CPA-Cache and the history of cache
refreshes within a browser window (but in your case that will be empty!):

http://<host>:<port>/CPACache

=> Choose “Display CPA Cache Content” or “View Cache Update History”.

Note: For further details and specially used permissions on the SAP J2EE Adapter
Engine please check the “How To…Monitor and analyze errors within the SAP J2EE
Adapter Engine” or the Webinar "Troubleshooting the J2EE Adapter Engine".

Good luck,

Holger

Former Member


‎2005 May 11

 0 Kudos

Hi Suraj,

You should use the short path for this http destination even though you get 500 error
when you test it. This is specified in the note 750511.

You need to do a full CPA Cache refresh using URL


http://host:port/CPACache/refresh?mode=full and view its status and history via
http://host:port/CPACache (as another friend posted here). Or you can go to XI home
page, and go to "Administration" (top left), and then on the left choose "Cache
Overview", and do a full refresh there.

https://community.sap.com/t5/technology-q-a/cpa-cache-problem/qaq-p/870141 7/11
10/8/24, 5:33 PM CPA CACHE Problem - SAP Community

After you have successfully refreshed the CPA cache, you should be able to see
green light in SXI_CACHE.

Regards,

Hart

Ask A Question

Type your question here...

Continue

Recommendations
 CPA Cache ERROR 
 ‎2008 Jul 01

 SAP PI 7.11 - CPA cache problems 


 ‎2014 Jul 03

 CPA cache consistency 


 ‎2012 Apr 04

 RFC Lookup Failed - Channel not available in CPA C... 


 ‎2011 Nov 05

Cache OAuth token using Cache policies in SAP APIM 


 ‎2024 May 06

https://community.sap.com/t5/technology-q-a/cpa-cache-problem/qaq-p/870141 8/11
10/8/24, 5:33 PM CPA CACHE Problem - SAP Community

Related Content
Sub-processes Linking in solution processes 
in Technology Q&A an hour ago

Deep Insight of Your Master Data with MDG Data Quality Analytics 2.0 
in Technology Blogs by SAP 3 hours ago

Unlocking the True Potential of Data in Files with SAP HANA Database SQL on Files
in SAP HANA Cloud 
in Technology Blogs by SAP 5 hours ago

SAP CAL Appliance Activation for Business One 10 on GCP GCP-SAP B1 CAL
Appliance Activation issue 
in Technology Q&A yesterday

SAP Business One Sales Blanket Agreement 


in Technology Q&A yesterday

Top Q&A Solution Author

SAPSupport  75

Sankara1  10

bill_froelich  10

junwu  10

gregorw  10

William_Yu  9

https://community.sap.com/t5/technology-q-a/cpa-cache-problem/qaq-p/870141 9/11
10/8/24, 5:33 PM CPA CACHE Problem - SAP Community

Vera_Jiang  8

Savio_Dmello  7

raymond_giuseppi  5

MioYasutake  5

View all

Latest Posts
Outbound connection to SAP S/4 system from BTP

Re: SAP CPI unable to transfer data using message ...


Re: SAP CPI unable to transfer data using message ... 

Re: SAPUI5 uploadSet: Items not getting refreshed ...



Ho to create a Testuser for RAP App in BTP?

View all

Follow

https://community.sap.com/t5/technology-q-a/cpa-cache-problem/qaq-p/870141 10/11
10/8/24, 5:33 PM CPA CACHE Problem - SAP Community

Privacy Terms of Use

Copyright Legal Disclosure

Trademark Support

Cookie Preferences

https://community.sap.com/t5/technology-q-a/cpa-cache-problem/qaq-p/870141 11/11

You might also like