cancel
Showing results for 
Search instead for 
Did you mean: 

CACHE refresh -->runtime Error

Former Member
0 Kudos

Hi

When I am going to refresh cache using T code - SXI_CACHE status of runtime it gives an error.

Unable to refresh cache contents

Error during last attempt to refresh cache

INTERNAL ERROR --> HTTP response does not contain a valid XML log.

how to resolve the problem...

regards

Chandana

Edited by: wijetunga on Mar 8, 2012 7:08 AM

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

Can you please check the RFC destination INTEGRATION_DIRECTORY_HMI and let me know the result.

Please provide me the HTTP response code.

Regards,

Venkata S Pagolu

Former Member
0 Kudos

Dear Pogul

in RFC Destination

in technical setting

Target Host: erppi1

Path Prefix :/dir/start/index.jsp

response header:-

~response_line HTTP/1.1 200 OK

~server_protocol HTTP/1.1

~status_code 200

~status_reason OK

connection close

server SAP NetWeaver Application Server 7.10 / AS Java 7.10

content-type text/html;charset=ISO-8859-1

content-encoding gzip

date Thu, 08 Mar 2012 07:11:40 GMT

~remote_addr

~uri_scheme_expanded NONE

Test-result:-

Status HTTP Response 200

Status Text OK

Duration Test Call 8 ms

Response text:

HTTP/1.1 200 OK

Content-Type: text/html;charset=ISO-8859-1

Content-Length: 10584

connection: close

server: SAP NetWeaver Application Server 7.10 / AS Java 7.10

content-encoding: gzip

date: Thu, 08 Mar 2012 07:11:40 GMT

regards

chandana

Edited by: wijetunga on Mar 8, 2012 8:07 AM

Edited by: wijetunga on Mar 8, 2012 8:16 AM

Former Member
0 Kudos

Hi,

Path prefix should be "/dir/CacheRefresh". please modify the entry with this and test the connection.

Regards,

Venkata S Pagolu

Former Member
0 Kudos

HI

It is changed ,but problem not solved,

~response_line HTTP/1.1 500 Internal Server Error

~server_protocol HTTP/1.1

~status_code 500

~status_reason Internal Server Error

connection close

server SAP NetWeaver Application Server 7.10 / AS Java 7.10

pragma no-cache

content-type text/html;charset=ISO-8859-1

date Thu, 08 Mar 2012 08:04:48 GMT

~remote_addr

~uri_scheme_expanded NONE

Status HTTP Response 500

Status Text Internal Server Error

Duration Test Call 10757 ms

regards

chandana

Former Member
0 Kudos

Hi,

An HTTP return code 500 (Internal Server Error) indicates that everything is okay. It is not an error.

You now go and refresh the cache. also get the error details of the cache refresh.

Check transaction SXI_CACHE --> XI Runtime cache --> Display refresh error for errors

Check dev_icm trace for HTTP communication (SAP Note 634006 - ICM messages explanatory note)

Regards,

Venkata S Pagolu

Former Member
0 Kudos

Hi

Thanks a lot ,

when enter SXI_CACHE

Error 'HTTP status code 401

Unauthorized' while executing HTTP request (calling method 'get_status')

is there any additional roles for the user....

~response_line HTTP/1.1 401 Unauthorized

~server_protocol HTTP/1.1

~status_code 401

~status_reason Unauthorized

connection close

server SAP NetWeaver Application Server 7.10 / AS Java 7.10

date Thu, 08 Mar 2012 09:15:53 GMT

www-authenticate Basic realm="Upload Protected Area"

pragma no-cache

content-type text/html;charset=ISO-8859-1

set-cookie saplb_*=(erppi1_PI1_00)7639150; Version=1; Path=/

set-cookie JSESSIONID=pyYAetz5TzIz7HfqNdfaPVm93xRW0pfxNQFukHQA_SAP; Version=1; Path=/

~remote_addr

~uri_scheme_expanded NONE

regards;

chandana

Edited by: wijetunga on Mar 8, 2012 10:13 AM

Edited by: wijetunga on Mar 8, 2012 10:16 AM

Former Member
0 Kudos

Hi,

ensure to provide below roles for the user.

SAP_SLD_CONFIGURATOR

SAP_XI_IS_SERV_USER

SAP_XI_IS_SERV_USER_MAIN

Regards,

Venkata S Pagolu

Former Member
0 Kudos

hi ..

Roles are avalable

but still same

~response_line HTTP/1.1 500 Internal Server Error

~server_protocol HTTP/1.1

~status_code 500

~status_reason Internal Server Error

connection close

server SAP NetWeaver Application Server 7.10 / AS Java 7.10

pragma no-cache

content-type text/html;charset=ISO-8859-1

date Thu, 08 Mar 2012 09:39:29 GMT

~remote_addr

~uri_scheme_expanded NONE

regards

chandana

Former Member
0 Kudos

Hi,

Please check the below configuration and sap note 999962

NWA-Configuration management-Infrastructure-java system properties:

choose XPI service:CPA Cache there we can see the following property SLD access =False.

Set it to True and restart the CPA Cache.

Regards,

Venkata S Pagolu

Former Member
0 Kudos

hi....

property SLD access =False.

it is true ..

but when i tried piisuser,pisuper,sap*

http://10.10.14.220:50000/CPACache/refresh?mode=delta

You are not authorized to view the requested resource.

cant connect ...what's the reasion....

regards;

chandana

Former Member
0 Kudos

Hi,

Use PIDIRUSER for CPACache delta/full refresh.

Also go through this link regarding PI service users and roles [http://help.sap.com/saphelp_nwpi711/helpdata/en/9f/d12940cbf2195de10000000a1550b0/content.htm]

Regards,

Venkata S Pagolu

Former Member
0 Kudos

Hi Pagolu

Thanks

problem solved ;

Regards

chandana

Former Member
0 Kudos

Hello Chandana,

I am getting same error message.

I have done the settings as per your conversation.

PI service:CPA Cache there we can see the following property SLD access = Ture.

But no luck.

Could please tell me how did you solve this issue.

Thanks in advance.

Regards,

Lavanya.

Answers (0)