cancel
Showing results for 
Search instead for 
Did you mean: 

"Cache problem in ID"

Former Member
0 Kudos

Hi Guys,

We have modified/created anything in IR, but it will not updated in cache refresh. While checking the cache notification in ID, it showing ABAP cache notofication error for last one week. bold"Unable to notify integration runtime (ABAP) of data changes

http connection to "http://hostname:8000/sap/xi/cache?sap-client=100" returns the status code "401" in response"bold

1) We will do with full cache refresh and restart the system. But still the problem will occur the same.

2) In IR cache notofication is showing success. But only ID cache notofication is showing the above error.

3) In SXI_CACHE also showing success with up to date.

4) Transaction SLDCHECK it showing the error for "Connection to SLD does not work" while retrieving the data from the SLD server using function LCR_LIST_BUSINESS_SYSTEMS.

So, kindly let me know, where is the problem?

Thanks & Regards

Vijayakumar

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

401 error means the user with which you are performing cache refresh is unauthorsied. For cache refresh, the user that needs to be used is PIDIRUSER. The link for complete cache refresh is

http://<host>:5<sys#>00/CPACache/refresh?mode=full

if Tcode SLDCHECK is showing error then ensure the following is working:

1. Tcode RZ70, the correct host and the gateway instance of the SLD shud be maintained. When you trigger a data collection, the result shud have no errors.

2. Tcode SLDAPICUST shud hv valid SLD host details, a valid PI UN and Pwd. When you do a test connection here, it shud parse through fine.

3. The RFCs LCRSAPRFC and SAPSLDAPI should work perfectly fine in sm59 Tcode.

4. Make sure in JCO RFC Provider of Visual admin, the SLD details are mantained correctly. A "Trigger data transfer" shud give succusful results.

If the above are maintained fine, you will not run into this issue.

Rgds,

Soujanya

Former Member
0 Kudos

Hi Soujanya,

I was checked with PIDIRUSER. It's password is correct and not locked. And also checked which you mentioned below everything is working fine. Please let me know any reason.

Regards

Vijaykumar

Answers (6)

Answers (6)

Former Member
0 Kudos

Hi Guys,

Thanks for your effort and reply the messages. Actually problem is for internal configuration. There system will using two different clients for 001 and 100. But ABAP stack will using dependent users for client. Java stact will using 001 client users for both clients. That is the problem and found the solution to rectifying the issue.

Thanks & Regards

Vijayakumar S

Former Member
0 Kudos

>

> Hi Guys,

>

> We have modified/created anything in IR, but it will not updated in cache refresh. While checking the cache notification in ID, it showing ABAP cache notofication error for last one week. bold"Unable to notify integration runtime (ABAP) of data changes

> http connection to "http://hostname:8000/sap/xi/cache?sap-client=100" returns the status code "401" in response"bold

>

> 1) We will do with full cache refresh and restart the system. But still the problem will occur the same.

> 2) In IR cache notofication is showing success. But only ID cache notofication is showing the above error.

> 3) In SXI_CACHE also showing success with up to date.

> 4) Transaction SLDCHECK it showing the error for "Connection to SLD does not work" while retrieving the data from the SLD server using function LCR_LIST_BUSINESS_SYSTEMS.

>

> So, kindly let me know, where is the problem?

>

> Thanks & Regards

> Vijayakumar

Hi vijaya,

Go to RWB, component monitoring--> Cache connectivity test and then find the status of the ID cache, retest the connectivity and then you can find the detailed error.

Provide that detailed error for further help.

Regards,

Rahul Grover

Former Member
0 Kudos

Hi Rahul,

During cache connectivity test, it showing error in "Integration server - ABAP" for Attempt to fetch cache data from Integration Directory not yet started or still in process.

Actually in Integration Directory page we check with Environment --> Cache Notofications. It showing all in error for ABAP cache. It saying *Unable to notify integration runtime (ABAP) of data changes

http connection to "http://itretscbxisrv:8000/sap/xi/cache?sap-client=100" returns the status code "401" in response*

Regards

Vijaykumar

Former Member
0 Kudos

OK, did you try out this on;

In SLD can you check is there any duplicate entries for your XI domain name in "Integration server"

the path to find out is

SLD> Admin> content Management--> Integration server (Instances) you should not have duplicate entries here.

If you find one , before you remove, create a OSS message to find the root cause and act as per SAP guidance.

Former Member
0 Kudos

Hi,

Check Mark Smyths response in the following thread:

[;

Also the below might be helpful:

[;

Regards,

Rahul Grover

former_member183908
Active Contributor
0 Kudos

Hi Vijay Kumar,

-->First of all check the RFC destination of type H, INTEGRATION_DIRECTORY_HMI is working or not?

--> Refer the below links

http://help.sap.com/saphelp_nwpi71/helpdata/en/8f/770f41218ff023e10000000a155106/content.htm

--> Dont worry about the status code as 500 if it is 500 then it is fine.

Thanks

Former Member
0 Kudos

Hi,

For SLD failure, are the RFCs in Tcode sm59 working fine. The TCP/IP RFCs "LCRSAPRFC" and "SAPSLDAPI" should work fine when a test connection is done. Are you sure these are workng?

Did you try a "test connection" in Tcode SLDAPICUST. Ensure the UN and Pwd you specify in the login details in this Tcode work fine.

Former Member
0 Kudos

Hi,

I checked the SM59 connections like LCRSAPRFC, SAPSLDAPI, and also test the SLDAPICUST transaction. All of it's working fine.

Regards

Vijayakumar

RKothari
Contributor
0 Kudos

Hello,

Also check the below mentioned details:

In T-code SXI_CACHE> GoTO> Adapter Engine Cache

Check if the URL mentioned is correct and also the user provided is not locked.

Please let us know on which PI version you are working?

-Rahul

former_member189420
Active Participant
0 Kudos

Hello,

Recently I also encountered the same error. I had to reset the password for PIDIRUSER user in Exchange Profile and also in ABAP Stack and it worked fine for me.

If it is possibel check it by resetting the password. Are you getting error as Unauthorized?

Best regards,

Anand Patil

Former Member
0 Kudos

Hi Anand,

After resetting the password for PIDIRUSER, where i need to change in Exchange Profile and ABAP Stack. Please let me know.

Thanks & Regards

Vijayakumar S

Former Member
0 Kudos

Hi Rahul,

I checked the Adapter Engine Cache using SXI_CACHE> GoTO> Adapter Engine Cache. No URL it showing there. How to Add that URL. In our PI system is 7.0.

Regards

Vijaykumar S

former_member189420
Active Participant
0 Kudos

Hello,

Follow below steps:

1. Go to Administration from the PI homepage.

2. Prompts for user id and password - Enter the Id for which you the authorization is provided

3. Left side of the page you will find Exchange Profile, click on it

4. Search for the parameter "com.sap.aii.directory.serviceuser.name", without quotes ofcourse

5. Confirm the User used is PIDIRUSER

6. Search the parameter "com.sap.aii.directory.serviceuser.pwd", which is just below the previously mentioned parameter

7. Change the password here as you have maintained in ABAP stack.

Hope this solves your problem.

Regards,

Anand Patil

RKothari
Contributor
0 Kudos

Hi,

You can add the URL by executing transaction SE37 and test the function module SAI_AE_DETAILS_GET.

Enter your AE_NAME af.<sysid>.<hostname> and execute.

I guess after this changes you might need to re-start your PI system.

-Rahul

Former Member
0 Kudos

Hi Vijaya Kumar,

Ref regarding HTTP * errors: /people/krishna.moorthyp/blog/2006/07/23/http-errors-in-xi

Thanks,

RKothari
Contributor
0 Kudos

Hi,

Please check the service users PIRWBUSER,PIDIRUSER are not locked and have proper authorization?

Also check the below SAP Notes:

Note: 999962 - PI 7.10: Change passwords of PI service users

768452 - Troubleshooting SLDCHECK.

-Rahul

Former Member
0 Kudos

Hi Rahul,

Please let me know, what are the roles is required for those users.

Regards

Vijaykumar

RKothari
Contributor
0 Kudos

Hi,

Roles for PIDIRUSER :

- SAP_SLD_CONFIGURATOR

-SAP_XI_APPL_SERV_USER

-SAP_BC_WEBSERVICE_PI_CFG_SRV

Roles for PIRWBUSER user

-SAP_XI_RWB_SERV_USER

-SAP_XI_RWB_SERV_USER_MAIN

-Rahul