cancel
Showing results for 
Search instead for 
Did you mean: 

UAR and Role usage synchronzation job

0 Kudos

Hi,

we would like to implement UAR. Executing the Role usage synchronzation-job we get the information that the job is completed. But when we go in job history we get the following error message:

Error in backend system/Web service; Exception from the service : Service call exception; nested exception is: com.sap.engine.services.webservices.jaxrpc.exceptions.InvalidResponseCodeException: Invalid Response Code: (401) Unauthorized. The requested URL was:&quot;http://<server>:<port>/VirsaCCActionUsageService/Config1?wsdl&amp;style=document&quot;

The system log says:

[com.virsa.service.backgroundjobs.dto.BackgroundJobHistoryDTO@3b834464[jobId=24,lastModifiedDate=Tue Aug 03 08:30:13 CEST 2010,statusId=0,statusDesc=Ready,message=0301], com.virsa.service.backgroundjobs.dto.BackgroundJobHistoryDTO@26ff1fc2[jobId=24,lastModifiedDate=Tue Aug 03 08:30:54 CEST 2010,statusId=1,statusDesc=Running,message=0302], com.virsa.service.backgroundjobs.dto.BackgroundJobHistoryDTO@377e0d8e[jobId=24,lastModifiedDate=Tue Aug 03 08:30:55 CEST 2010,statusId=1,statusDesc=Running,message=23106#_!CONNECTOR#_!LS_DI6_300], com.virsa.service.backgroundjobs.dto.BackgroundJobHistoryDTO@34ac0218[jobId=24,lastModifiedDate=Tue Aug 03 08:30:55 CEST 2010,statusId=1,statusDesc=Running,message=4771#_!UAR#_!A,L], com.virsa.service.backgroundjobs.dto.BackgroundJobHistoryDTO@8bd90ac[jobId=24,lastModifiedDate=Tue Aug 03 08:30:55 CEST 2010,statusId=1,statusDesc=Running,message=4772#_!Locked#_!32,64], com.virsa.service.backgroundjobs.dto.BackgroundJobHistoryDTO@556510af[jobId=24,lastModifiedDate=Tue Aug 03 08:30:55 CEST 2010,statusId=1,statusDesc=Running,message=4773#_!Expired#_!Yes], com.virsa.service.backgroundjobs.dto.BackgroundJobHistoryDTO@5e2a7cf5[jobId=24,lastModifiedDate=Tue Aug 03 08:30:59 CEST 2010,statusId=1,statusDesc=Running,message=23112#_!CONNECTOR#_!LS_DI6_300#_!NOS#_!32], com.virsa.service.backgroundjobs.dto.BackgroundJobHistoryDTO@3771e91f[jobId=24,lastModifiedDate=Tue Aug 03 08:31:01 CEST 2010,statusId=1,statusDesc=Running,message=4774#_!CONNECTOR#_!LS_DI6_300#_!NOS#_!32#_!NOSOFROLES#_!40], com.virsa.service.backgroundjobs.dto.BackgroundJobHistoryDTO@17800ea9[jobId=24,lastModifiedDate=Tue Aug 03 08:31:01 CEST 2010,statusId=1,statusDesc=Running,message=4780#_!CONNECTOR#_!LS_DI6_300#_!NOS#_!13], com.virsa.service.backgroundjobs.dto.BackgroundJobHistoryDTO@5842854c[jobId=24,lastModifiedDate=Tue Aug 03 08:31:01 CEST 2010,statusId=1,statusDesc=Running,message=23114#_!ERRMSG#_!Exception from the service : Service call exception; nested exception is:

com.sap.engine.services.webservices.jaxrpc.exceptions.InvalidResponseCodeException: Invalid Response Code: (401) Unauthorized. The requested URL was:"http://<server>:<port>/VirsaCCActionUsageService/Config1?wsdl&style=document"], com.virsa.service.backgroundjobs.dto.BackgroundJobHistoryDTO@773d6dd8[jobId=24,lastModifiedDate=Tue Aug 03 08:31:02 CEST 2010,statusId=3,statusDesc=Completed,message=0304]]

Any ideas?

Regards,

Bjoern

Accepted Solutions (1)

Accepted Solutions (1)

luis_bustamante
Active Participant
0 Kudos

You might want to double check your user credentials by opening this URL in the browser: http://<host>:<port>/VirsaCCActionUsageService/Config1?style=document

Other than that I don't have more ideas, sorry.

0 Kudos

We checked if the portaluser is locked and it was. The jo completes without an error now.

Thank you and regards.

Bjoern

Answers (1)

Answers (1)

luis_bustamante
Active Participant
0 Kudos

Usage information is fetched by RAR via ERM. Unauthorized response code 401 error is related to invalid credentials or not having enough authorization to run the respective web service. Please make sure the user name and password provided for transaction usage web service are correct. You will find it in ERM under Configuration -> Miscellaneous.

Regards,

Luis

0 Kudos

Hi,

username and password should be correct. The user has profile sap_all.

The webservice URL is: http://<server>:<port>/VirsaCCActionUsageService/Config1?wsdl&style=document

Regards,

Bjoern

luis_bustamante
Active Participant
0 Kudos

This is an UME user, please try assigning the AE and CC admin roles and test again. Make sure also the URL is pointing to the correct hostname and port.

0 Kudos

The user has the following roles:

AEADMIN

READMIN

VIRSA_CC_ADMINISTRATOR

Administrator

Server and port are correct but the error still exists.

Regards

Bjoern