IB and cache refresh
If you lose a connedtion between the adapter engine and IB how do you refresh the cache?
Hi,
There is an excellent "How-To" guide on the whole XI caching ( with all possible issues and solutions ) ...
You can find it on sap net ...
Regards,
Steven
Similar Messages
-
Error in INTEGRATION_DIRECTORY_HMI and CACHE REFRESH
Hi guys, well after checking the forum and several blogs i can't get rid of my problem!
I have a problem concerning INTEGRATION_DIRECTORY_HMI and CACHE REFRESH.
i wanted to get a file from a FTP-Server via CC and i got error:
<SAP:AdditionalText>Error when reading HTTP destination: INTEGRATION_DIRECTORY_HMI.</SAP:AdditionalText>
<SAP:ApplicationFaultMessage namespace="" />
<SAP:Stack>Error while refreshing the XI runtime cache</SAP:Stack>
<SAP:Retry>M</SAP:Retry>
Because of this i tried to update my cache (SXI_CACHE). When i do a Delta Cache Refresh i get:
Prefix Number: entry missing for system SSID client 100.
When i do a complete Cache Refresh nothing happens at all. I also checked the cache notification in IB - Integration Directory where i fin dout that only the Integration Server (ABAP Cache) won't refresh. Well status is started but nothing else is happening.
Then i checked the RFC INTEGRATION_DIRECTORY_HMI, did a connection test where i get an Internal Server error.
Let me tell u that the systems runs very well in the last days but now i have no clue what might be wrong.
Can somebody please advice me? I already read all blogs concerning this and also did a complete system-restart....
br Jenswhen you check INTEGRATION_DIRECTORY_HMI with SM59 it is normal to get
HTTP Response 500 - Internal Server Error. In this case it meens everything OK
see the rediness check, that is attached to SAP note 817920
when you start the complete cache refresh, you can see
the function module SAI_CACHE3_REFRESH_BACKGROUND in SM58. As long as you can see this entry, the cache
refresh is ongoing. If the refresh takes too long and runs on an error, try to specify another timeout in INTEGRATION_DIRECTORY_HMI or in the ICM
Best Regards
Alexander
Message was edited by:
Alexander Wrobel
Message was edited by:
Alexander Wrobel
Message was edited by:
Alexander Wrobel -
Problems in SLD and Cache refresh (SXI_CACHE).
Dear Experts,
I am facing SLD and Cache refresh problems in PI 7.0 on HP-UX.
1) SXI_CACHE : Last Error During Cache refresh is showing LCR_GET_OWN_BUSINESS_SYSTEM - NO_BUSINESS_SYSTEM error. And also Start Delta Cache Refresh / Start Complete Cache refresh are in deactive mode (Frozen).
2) SLDCHECK : Log says No Business System for ABC Client 100 ".
where ABC=SID. Business System INTEGRATION_SERVER_ABC is declared in SLD and client 100 is assigned.
My question is : Is this a BASIS or DEVELOPER issue? Also please let me know if you have any solutions for the above mentioned issue. Thanks in Advance.
SLDCHECK Log Snippet:
SLD server access settings:
host name: ABCXIDEV
port number: 50000
user : PIAPPLUSER
Use transaction SLDAPICUST if you wish to maintain the SLD server access data
Launching the SLD GUI in a separate browser window...
=> Verify in the browser GUI that the SLD is in a healthy running state!
Calling function LCR_LIST_BUSINESS_SYSTEMS
Retrieving data from the SLD server...
Function call terminated sucessfully
List of business systems maintained in the SLD:
INTEGRATION_SERVER_ABC
ERP_DEV_100
Calling function LCR_GET_OWN_BUSINESS_SYSTEM
Retrieving data from the SLD server...
No corresponding business system found for system ABC client 100
=> Check and maintain the SLD content for the current clientHello,
Since this is an PI system, your XI consultant must have created/will need to create business systems in SLD for the scenario to work properly. This error is because it cannot find the business system.
You cannot point out the fingers on Basis or XI and say that it is THEIR issue. Please consult with the consultant who is doing the XI interface and check if the business systems he require are properly created in SLD. If not, create them or ask them to create it (if they are allowed to..).
From the error, what i can see is that you have defined an integration server INTEGRATION_SERVER_ABC in SLD . the XI interface is checking the required business system in the integration server INTEGRATION_SERVER_ABC in SLD but cannot find it over there. Please check the integration server INTEGRATION_SERVER_ABC in SLD and talk to the XI consultant and you will be able to fix this with their help.
Hope this helps you..
Regards,
Jazz -
Dear Experts,,
We have MDM and PI in our landscape. We are using MDM Adapter for the integration between the two.
When we try to run the T Code SXMB_IFR, we are getting HTTP request failed error. i.e., “Error Code: 503 -- Service Unavailable”. And also the RWB communication channel is not working because of this error and we are unable to refresh the cache too because of this error.
We have checked from MDM side, and messages are flowing from ready folder but not coming into PI. We had monitored the messages using
SXMB_MONI.
We have restarted the Java Server but it’s taking too much time to restart around 12 to 15 hours & we checked after that but still facing the same issue.
Could you please help me to figure out this issue.
Thank you for your support in advance.
Thanks and Regards,
Priti.Hi Priti,
You can check the suggestion of Jyothi Anagani
Because of J2EE application com.sap.aii.af.ms.app not active
The problem is that not all J2EE services can be started by the J2EE. i.e Start the Visual Administrator and select Server->Services->Deploy in the tree on the left. On the right-hand side, choose the Runtime tab page. You see a tree in the right window with all applications if you select the APPLICATION radio button. Check if they are running, otherwise choose Start. Usually the J2EE engine starts all services automatically.
Runtime Workbench "503 Service Unavailable" Error After JSPM SP Update
Regards,
Nabendu. -
Needed clarification on RWRKBENCH and CACHE
Hi,
I'm new to SAP-XI, Ihave some doubts regarding runtime work bench and cache refreshing
1.what is difference between complete cache refresh and delta cache refresh in SXI_CACHE transaction.If delta cache refresh is choosen then which components cache will be refreshed?
2.In which case we have to go for complete cache or delta cache refresh ?
3.what is difference between monitoring on RUNTIME WORK BENCH & SXMB_MONI?
Plz if any body knows anwers to this questions kindly provide explanations.
Good answers will be rewarded.
Regards,
Monica.Hi Monica,
<b>1.what is difference between complete cache refresh and delta cache refresh in SXI_CACHE transaction.If delta cache refresh is choosen then which components cache will be refreshed?</b>
1.Delta Cache Refresh: Any new objects that have been created/modified during the design/configuration activities are inserted into the temporary database tables when we use delta cache refresh option.
2.Full Cache Refresh: All entries in temporary cache tables are deleted and a background program for inserting the complete information about all the design/configuration objects.
<b>2.In which case we have to go for complete cache or delta cache refresh ?</b>
check this
/people/sravya.talanki2/blog/2005/12/02/sxicache--ripped-off
How to handle cache
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/1a69ea11-0d01-0010-fa80-b47a79301290
SXI_CACHE
/people/sravya.talanki2/blog/2005/12/02/sxicache--ripped-off%3Fpage%3Dlast
<b>3.what is difference between monitoring on RUNTIME WORK BENCH & SXMB_MONI?</b>
In RWB we monitor messages whic goes via Adapter Engine.. i.e we monitor messages which r in JAVA stack
In SXMB_MONI we monitor messages of Integartion Engine i.e messages of ABAP stack!!
Hope u r now clear!!!
regards
biplab
Use a Good Subject Line, One Question Per Posting - Award Points
Message was edited by:
biplab das -
What is Cache refreshing in XI ? Why and when we will do that ?
Hi Experts
What is Cache refreshing in XI ? Why we need to do this ? when and all we
need to do that ?
T.Code: sxi_cache when we will use this ?
I have no idea on this and any one give more details on this pl....
Adv..thanx and points to all
Kiran LVSHi ,
There are 2 types of caches.....
CPA cache - is your Collaboration profile agreement cache, ie to mean it will contains the cache copy of all objects created during configuration time (ID).CPA (Collaboration profile agreement )Cache-mainly for J2EE engine/Adapter engine.
About Cache Monitoring-
http://help.sap.com/saphelp_nw2004s/helpdata/en/92/2fd93f130f9115e10000000a155106/content.htm
Runtime cache - it will contain cache copies of all the objects in XI (IR/ID)
and active version of all your objects during runtime.
Check this.......
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/1a69ea11-0d01-0010-fa80-b47a79301290
Sekhar -
Hi,
How we can keep cache clear all time. I am doing cache clearance manually.
Is there any program which do cache clear.
Thanks,
VishalHi Vishal,
Cache refresh is done automatically by jobs running in background: LSAI_CACHE3U03 (FM: SAI_CACHE3_REFRESH_BACKGROUND), you can also schedule this. Cache is also refreshred based on events (activation etc).
When it comes to FM SAI_CACHE3_REFRESH_HTTP, we are talking about sxi_cache and not the CPACache.
To trigger a cache refresh from the individual Adapter Framework, open a browser window and enter the following URL: http://<host>:<port>/CPACache/refresh?mode=delta|full.
Regds,
Pinangshuk. -
Cache purge and report refresh.
Hi
I have a question when i am trying to do the below.
I am purging the cache and at same time doing the report refresh. Will my report query hit the database or Cache.
Please suggest.
Thanks.Hi Veer,
My requirment is not to get the query hit the database.
I am doing cache purge and report refresh from DAC.
Cache purge is purging all the queries of yesterdays. And going for report refresh to see todays fresh data after ETL load.
Since these two tasks(purge,refresh) happen in parallel in DAC. I want to confirm whether fresh data is getting into reports are stale data is populating again.
So i asked when purge and refresh happen parellely query is hitting cache or database?
--Thanks. -
Cache Refresh Error and Adaptors Missing in RWB Monitoring
Hi,
We are in NW04s (SP13) of PI.
3 problems:
1. SXI_CACHE
Partial Cache Refresh gives OK (Green)
Full Cache Refresh gives error:
"Error During last attempt to refresh cache"
Double click on the red message indicates:
Error Id: UPDATE
HTTP status code401 Unauthorized
2. In Runtime Workbench : Adaptor Monitoring:
Only JPR shows with red.
All other adapters are missing.
3. <host>:<port>/CPACache/refresh?mode=full
Gives error:
Global Error
Couldn't parse Configuration Data cache update XML string from Directory
Help is urgently needed.
Thank you,
AmithHi,
This problems are resolved now.
1. Adapter Monitoring not showing other types:
Reset the user/password: PIRWBUSER
In R/3:
User type: service
Bring the password to Exchange Profile:
com.sap.aii.rwb.serviceuser.name: PIRWBUSER
com.sap.aii.rwb.serviceuser.pwd
Do a cache refresh:
<host>:<port>/CPACache/refresh?mode=full
2. Check <host>:<port>/CPACache/history.jsp
Status should be green on the latest Status.
(No Error: " Global Error Couldn't parse Configuration Data cache update XML string from Directory" )
Thank you, all.
The checklists you have posted were helpful to verify the configurations.
Also useful: <host>:<port>/nwa
and check "Trace and Log " to find exact cause where it fails. -
Delta refresh and complete cache refresh
Hi,
iam doing the complete cache refresh and delta cache refresh in my scenario. after doing that the data's are reflecting very slowly in the RWB valuemapping cache.
sometimes it is not reflecting in the RWB valuemapping cache.
i refreshed the CPI cache and SLD cache, still it is not reflecting in the RWB.
could anyone tell me the solution for this to reflect in the RWB valuemapping cache????
Regards
sasiHi,
In the component monitoring check the RWB component and check the performance monitoring, may be some times performance monitoring is low because of the payload or some other conditions.
Delta Cache Refresh: Any new objects that have been created/modified during the design/configuration
activities are inserted into the temporary database tables when we use delta
cache refresh option.(Partial process refresh)
Complete Cache Refresh: All entries in temporary cache tables are deleted and a background program
for inserting the complete information about all the design/configuration
objects.(whole process refresh) -
Delta and complete cache refresh.
HI,
Difference between Delta and complete cache refresh.
thanks
sunilHi,
There are several variants of the cache refresh mechanism depending on the scope of the cache refresh (delta only or entire cache refresh) and on the triggering component (tool or messaging component).
Delta Cache Refresh
Delta Cache Refresh involves the missing activated change lists to be included in the directory cache.
Complete Cache Refresh
To restructure the cache completely, in the menu bar choose XI Runtime Cache à Start Complete Cache Refresh.
Cache refreshing means getting the newly created component in the cache. Usually cache get refreshed automatically by SAP system and user do no thave to refresh it but in some cases the newly created component does not get dispalyed in cache. In that case this cache should be refreshed and it will pull out the new component in it.
Thanks
Swarup -
"Delta Cache Refresh" option not working in SAP XI 3.0
Hello All,
We are using an SAP XI 3.0 system with SP9 installed on the same. The system is pretty much stable with all the components including SLD running fine. But!, when I run the Transaction "SXI_CACHE", the "Start Delta Cache Refresh" Button appears as Nullified and hinders the option for refreshing the cache. Could anyone guide me through this and make it work as we need to essentially do this step for the scenario we 're working on.
Thanks & Regards,
Venkat.Venkat,
Could you please check the status of you last cache refresh. There should be a traffic light displaying on the right part of the screen. If the last update was unsuccesful. Delta refresh isn't possible.
Best regards,
Alwin -
Cache refresh error, while activating changelists
Hi all,
I got a problem, concerning XI Runtime Cache on XI 3.0, SP15 -> when I try to activate changelists from Integration Directory, (SOMETIMES!)XI_CACHE shows status: Error, while refreshing cache
with Errortype: Communication,
"if_http_client receive http_communication_failure"
When I then do a delta or full cache refresh from transaction SXI_CACHE it allways works, even after an error occured before. Some ideas, what I could check?
Thank you in advance..
DanielHi,
Just check with Tcode SICF and check for all the services are working fine.
Go thru following links
http://service.sap.com/NW04 ->How-to Guides-> Exchange Infrastructure->How To handle Caches in SAP XI 3.0
Also go thru following thread.
problem with xi cache
Hope this helps.
Regards,
Moorthy
Regards
Suraj
Regards,
Moorthy -
Cache Refresh for Adapter Engine is not working
Hi,
our adaper engine is not working. At RTW no there are no channels visible and the button "Test Cache Connectivity" leads to a yellow icon for the adapter engine with the error text: "Attempt to fetch cache data from Integration Directory not yet started or still in process".
The error reason is at <i>http://<j2ee host>:<port>/CPACache/history.jsp</i> available: <i>com.sap.aii.af.service.cpa.impl.exception.CPADirectoryCacheException: Couldn't open Directory URL (http://pixd1.digoff.no:55200/dir/hmi_cache_refresh_service/ext?method=CacheRefresh&mode=C&consumer=af.xd1.dat-dof-xi), due to: HTTP 403: Forbidden</i>
<b>The cache refreh request from adapter engine to directory gets an 403 error.</b> What is strange: No problem, to execute that request in a browser, i get the right message, no fault.
I searched for notes or other threads, i could find only <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes/sdn_oss_bc_xi/~form/handler%7b5f4150503d3030323030363832353030303030303031393732265f4556454e543d444953504c4159265f4e4e554d3d373531383536%7d">SAP note 751856</a> , but it is valid for XI 3.0; we are on PI 7.0.
I checked out:
- no user blocked
- all system users have standard authorisations
- reimport of SAP BASIS SWC
- SICF services for XI active
- destination INTEGRATION_DIRECTORY_HMI working
Any idea, how i can get the adapter engine working?
Regards,
UdoHi,
There are two ways to display the content of the CPA cache refresh.
1. The Cache-Update Content-XML
Document can be stored in the Adapter Framework database (J2EE schema) for further analysis. Here you have to set the property in the J2EE Visual Administrator tool.
To do so, proceed as follows:
=>J2EE-service SAP XI AF CPA Cache
=> set property trackCacheUpdateXML= true
=> You can now display the cache update XML with the alias CPACache
=> View Cache Update History
=> View Cache Update XML
2. The content of the cache refresh from the Integration Directory intothe CPA cache can be written to an XML file: Here you have to set the property inthe J2EE Visual Administrator tool:
=>J2EE-service SAP XI AF CPA Cache
=> set property J2EE service SAP XI AF CPA Cache cacheUpdateDebugFile = true
=> the CPA cache refresh XML file will be in the server(0) directory search for the following file names:
=> value of the property cacheUpdateDebugFile.deltaif you intend to see the delta refresh accordingly and the value of the property cacheUpdateDebugFile.full if
you intend to see the full cache refresh content
Note: After your analysis, do not forget to reset the properties value to false.
You can delete the XML cache-
refresh table: alias CPACache
=> View Cache Update History
=> Delete History
Also check out the user and its permission.
regards
Aashish Sinha
PS : Reward points if Helpful -
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 PMHi 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
Maybe you are looking for
-
Sync my iphone and ipad 1 to keep game scores
how do i sync my iphone and ipad 1 to keep game scores
-
Need experience on FORM Template for custom system development
Hi, I need to use FORM BUILDER+Application Server to do development for a custom system(No relation to EBS). There are many screens need to development, and I want to make these screen look like in the same style, I need to a TMPLATE.fmb to guide dev
-
Just updated to KDE 4.6.3 today, soon thereafter I went to southparkstudios.com using firefox 4.0.1 to watch an episode. The flash video played fine but when I go to leave the video's full screen mode it crashes X and drops me at the kdm screen. I tr
-
Strange behavior of stop control with events
I have found some strange behavior while using stop controls. I have a main vi which has two while loops. One of them is used to continuosly acquire the images. The other while loop has event structure that has several booleans which trigger differen
-
0x00007001 error during capture
Not really a question, just a note for any others looking for an answer. While waiting for my build and capture task sequence to finish I thought I would do a bit of maintenance. Some of which (adding a network driver) required an update of the boot