cancel
Showing results for 
Search instead for 
Did you mean: 

clientaccesspolicy.xml, error 404 Resource not found

former_member208255
Participant
0 Kudos

Hi Experts,

We have successfully completed the SAP personas add-on and support pack also.

But we are unable to launch the client access policy.xml file, getting error 404 resource not found.

For that we implemented the notes 1885506 and 1913055 also, but no luck.

Can anybody please help me out from this issue.

Thanks in advance,

Bhaskar N

Accepted Solutions (1)

Accepted Solutions (1)

patelyogesh
Active Contributor
0 Kudos

Hello,

Please follow document below to solve issue : Step Number 6

http://scn.sap.com/community/gui/blog/2014/07/07/screen-personas-20-support-pack-02-installation-and...

Regards

Yogesh

former_member208255
Participant
0 Kudos

Hi Yogesh,

Thank for the response, we have followed as per your link. But unable to open the persos/main app in our browser.

getting like below error.

Please let me know if any suggestions, to close the issue.

Thanks in advance,

Bhaskar

patelyogesh
Active Contributor
0 Kudos

Hello Bhaskar,

This is Security issue and you need to configure target system security in your Main system including RFC destination user authorizations.

Security can be maintain in main and target system going in to /persos/admin_ui transaction code.

Please close this discussion since your main issue is resolved

Regards,

Yogesh


PS:

link changed which I previously provide...

http://scn.sap.com/docs/DOC-56486

former_member208255
Participant
0 Kudos

Hi Yogesh,

Thanks for the suggestion, I will open another discussion for the issue.

Bhaskar

patelyogesh
Active Contributor
0 Kudos

Can you please mark this question as answered if your main issue is resolved?

Regards,

Yogesh

former_member208255
Participant
0 Kudos

Hi Yogesh,

I have faced the same issue, can you please share the link which you have sent to resolve the issue, because  the item does not exist. It may have been deleted.

Url is this: http://scn.sap.com/community/gui/blog/2014/07/07/screen-personas-20-support-pack-02-installation-and...

Thanks in advance,

Bhaskar N

patelyogesh
Active Contributor
0 Kudos

SAP removed document. Steps as below

----------------------------------

  • Create “clientaccesspolicy.xml”

         File at location : \usr\sap\<SID>\DVEBMGS<XX>\data\icmandir

File content is as below for “clientaccesspolicy.xml”

<access-policy><cross-domain-access><policy><allow-from http-methods="*" http-request-headers="*"><domain uri="http://*"/><domain uri="https://*"/></allow-from><!--<allow-from http-methods="*"><domain uri="http://*"/><domain uri="https://*"/></allow-from>--><grant-to><resource path="/" include-subpaths="true"/> <!-- test --></grant-to></policy></cross-domain-access>             </access-policy>               

Validation of file setup                  

http://SAPhostname:port/clientaccesspolicy.xml             

Note: Use HTTPS for secure connections     

  • Create “crossdomain.xml”

        File at location : \usr\sap\<SID>\DVEBMGS<XX>\data\icmandir          

File content is as below for “crossdomain.xml”

<?xml version="1.0"?><!DOCTYPE cross-domain-policy SYSTEM "http://www.adobe.com/xml/dtds/cross-domain-policy.dtd"><cross-domain-policy><site-control permitted-cross-domain-policies="all"/><allow-access-from domain="*" secure="false"/><allow-http-request-headers-from domain="*" headers="*"secure="false"/></cross-domain-policy>           

Validation of file setup                   

http://SAPhostname:port/crossdomain.xml             

Note: Use HTTPS for secure connections    

  • Create instance profile parameters for SAP system as below

icm/HTTP/file_access_2 = PREFIX=/crossdomain.xml,DOCROOT=$(DIR_ICMAN_ROOT)\crossdomain.xml,CACHECTRL=0

icm/HTTP/file_access_1 = PREFIX=/clientaccesspolicy.xml,DOCROOT=$(DIR_ICMAN_ROOT)\clientaccesspolicy.xml,CACHECTRL=0

icm/HTTP/file_access_0 = PREFIX=/sap/public/icmandir/,DOCROOT=$(DIR_ICMAN_ROOT),ARCHIVE=$(DIR_EXECUTABLE)/ITS.SAR,CACHECTRL=+28800

    

Validation of file setup     

     If you are using http protocol to access Personas:
     http://SAPhostname:port/clientaccesspolicy.xml

     http://SAPhostname:port/crossdomain.xml

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi there,

I've noticed in the documentation it specifically refers to ICMANROOT, but in some of my newer systems, those files need to go to ICMANDIR (which acts as root). 

If you do that then you can use the following in your instance profile (note no system specific paths):

-icm/HTTP/file_access_0 = PREFIX=/sap/public/icmandir/,DOCROOT=$(DIR_ICMAN_ROOT),ARCHIVE=$(DIR_EXECUTABLE)/ITS.SAR,CACHECTRL=+28800

-icm/HTTP/file_access_1 = PREFIX=/clientaccesspolicy.xml,DOCROOT=$(DIR_ICMAN_ROOT)\clientaccesspolicy.xml,CACHECTRL=0

-icm/HTTP/file_access_2 = PREFIX=/crossdomain.xml, DOCROOT=$(DIR_ICMAN_ROOT)\crossdomain.xml,CACHECTRL=0

Hope this helps!

MM

0 Kudos

hi bhaskar,

Also, make sure you restart your server instance.

sushant

former_member194736
Participant
0 Kudos

Can you please confirm that the path for both the files is properly configured in the system parameters. Please check the values in RZ10.

Also refer to the following post which walks through common configuration issues and how to troubleshoot them.

Thanks

Vandana