cancel
Showing results for 
Search instead for 
Did you mean: 

Message Failing in PI due to unauthorixed Error.

lnirmala
Participant
0 Kudos

Dear All,

We have freshly installed PI 7.3 and trying to test a simple file to file scenarion without using ESR.

FIle is getting picked from source directory but its not getting written to target directory.

Message is getting failed in PI with the following error:

<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>

- <!--  Call Adapter

  -->

- <SAP:Error SOAP:mustUnderstand="" xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">

  <SAP:Category>XIServer</SAP:Category>

  <SAP:Code area="INTERNAL">UNAUTHORIZED</SAP:Code>

  <SAP:P1>401</SAP:P1>

  <SAP:P2>Unauthorized</SAP:P2>

  <SAP:P3>(See attachment HTMLError for details)</SAP:P3>

  <SAP:P4 />

  <SAP:AdditionalText />

  <SAP:Stack>Authorization error while sending by HTTP (error code: 401 , error text: Unauthorized)</SAP:Stack>

  <SAP:Retry>M</SAP:Retry>

  </SAP:Error>

Also could see the following error in trace log...

<Trace level="1" type="T">error reading SAP_XIAdapterFramework from SLD</Trace>

  <Trace level="1" type="T">error reading SAP_XIAdapterFramework from SLD</Trace>

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

  <Trace level="1" type="T">URL = http://xxxx:xxxxx/MessagingSystem/receive/AFW/XI</Trace>

  <Trace level="1" type="T">User = PIISUSER</Trace>

  <Trace level="1" type="T">Cached =</Trace>

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

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

  <Trace level="1" type="T">Tuning - AFW_MAXREQUESTCONTENTLENGTH 2000000000</Trace>

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

  <Trace level="1" type="T">Timeout: 0</Trace>

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

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

  <Trace level="1" type="T">HTTP-client: status code = 401</Trace>

  <Trace level="1" type="System_Error">Authorization error while sending by HTTP (error code: 401 , error text: Unauthorized)</Trace>

  </Trace>

  </Trace>

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

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

- <!--  ************************************

  -->

  </SAP:Trace>

When i tried executing the FM SAI_AE_DETAILS_GET it is giving me an error message "

No service user password found for Integration Server" where as password in maintained in exchange profile parameter.

While debugging the above FM could see that the exception is thrown with the message "Exchange Profile PWD encoding is activated" while trying to read the password from the exchenge profile.

Could someone pls let me know whether they have faced any simlar kind of issue in PI.

Thanks & Regards,

Lekshmi.

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member184681
Active Contributor
0 Kudos

Hi,

Did you restart the J2EE Engine after maintaining the Exchange Profile? This might be required for the change to take effect. You can also find a few valuable inputs for your problem in this thread: .

Hope this helps,

Greg

iaki_vila
Active Contributor
0 Kudos

Hi,

Have you checked the roles for PIISUSER?

http://help.sap.com/saphelp_nwpi71/helpdata/EN/9f/d12940cbf2195de10000000a1550b0/content.htm

Have you changed the PIISUSER pasword after the installation?

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

Sorry i haven`t find that information for PI 7.3, i hope that information helps you.

Regards.

Message was edited by: Iñaki Vila