cancel
Showing results for 
Search instead for 
Did you mean: 

Avoid the error: com.sap.aii.af.ra.ms.api.ConfigException:

Former Member
0 Kudos

Hi!

I still facing with the authorization error in the message (section: call of adapter).

The error is:

<Trace level="3" type="System_Error">Error exception return from pipeline processing!</Trace>

<Trace level="1" type="B" name="CL_XMS_MAIN-WRITE_MESSAGE_TO_PERSIST" />

<SAP:AdditionalText>com.sap.aii.af.ra.ms.api.ConfigException: Unauthorized: J2EE AE rejected user. Reason: Principal propagation is not active, but technical IS service user was not used (J2EE_ADMIN).</SAP:AdditionalText>

When I looked into configuration I found that the j2ee_admin user will be used here (see. bellow).

<Trace level="3" type="T">Channel for adapter engine: File</Trace>

<Trace level="1" type="B" name="CL_XMS_PLSRV_CALL_XMB-CALL_XMS_HTTP">

<Trace level="2" type="T">return fresh values from cache</Trace>

<Trace level="2" type="T">Get logon data for adapter engine (SAI_AE_DETAILS_GET):</Trace>

<Trace level="3" type="T">URL = http://bera9010:50400/MessagingSystem/receive/AFW/XI</Trace>;

<Trace level="3" type="T">User = j2ee_admin</Trace>

<Trace level="3" type="T">Cached = X</Trace>

<Trace level="3" type="T">Creating HTTP-client</Trace>

<Trace level="3" type="T">HTTP-client: creation finished</Trace>

<Trace level="3" type="T">Security: Basic authentication</Trace>

<Trace level="3" type="T">Serializing message object...</Trace>

<Trace level="1" type="T">HTTP Multipart document length: 3705</Trace>

<Trace level="3" type="T">HTTP-client: sending http-request...</Trace>

<Trace level="3" type="T">HTTP-client: request sent</Trace>

<Trace level="3" type="T">HTTP-client: Receiving http-response...</Trace>

<Trace level="3" type="T">HTTP-client: response received</Trace>

<Trace level="3" type="T">HTTP-client: checking status code...</Trace>

<Trace level="3" type="T">HTTP-client: status code = 200</Trace>

<Trace level="3" type="T">Deserializing message object...</Trace>

<Trace level="3" type="T">HTTP-client: closing...</Trace>

</Trace>

</Trace>

Questions:

What is the name of technical IS service user searching here? (PIISUSER)?

How can I change this settings?

Any helpful information will be very appreciated!

regards

Holger

Accepted Solutions (0)

Answers (1)

Answers (1)

prateek
Active Contributor
0 Kudos

What is the name of technical IS service user searching here? (PIISUSER)?

Yes

Check the configuration guide with SAP note 974873 to find if any setting is missing.

Regards,

Prateek