Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

J2EE_ADMIN has no authorization to process messages?

Hi all,

Surprizingly we get an error in message monitoring the message was successfully coming to adapterframe work and during the message monitoring at adapter framework, we got the error like:

Transmitting the message to endpoint http:/mcityserv5:8020/sap/xi/engine?type=entry using connection AFW failed, due to: com.sap.aii.af.ra.ms.api.RecoverableException: com.sap.aii.af.ra.ms.api.MessagingException: Could not parse XMBMessage due to null

Then we check the adapter connection with J2EE_ADMIN user we got the message like:

- <SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">

<SOAP:Header />

- <SOAP:Body>

- <SOAP:Fault xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">

<faultcode>SOAP:Client</faultcode>

<faultstring>User not authorized for message processing</faultstring>

<faultactor>http://sap.com/xi/XI/Message/30</faultactor>

- <detail>

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

<SAP:Category>XIProtocol</SAP:Category>

<SAP:Code area="MESSAGE">NOT_AUTHORIZED_FOR_PROC</SAP:Code>

<SAP:P1>J2EE_ADMIN</SAP:P1>

<SAP:P2 />

<SAP:P3 />

<SAP:P4 />

<SAP:AdditionalText />

<SAP:ApplicationFaultMessage namespace="" />

<SAP:Stack>User J2EE_ADMIN has no authorization to process messages</SAP:Stack>

</SAP:Error>

</detail>

</SOAP:Fault>

</SOAP:Body>

</SOAP:Envelope>

Its giving like j2ee_admin having lo authorization to process the message can any body tell what the problem?

Even we checked the SU01the same role we assigned to the user.

replied

Hi Ram,

Thanks for explaining your scenario.

Well, I think your error is very easy to solve.

Your URL is wrong. Be Carefull with the second Back Slash.

Wrong: http:/mcityserv5:8020/sap/xi/engine?type=entry

Right: http://mcityserv5:8020/sap/xi/engine?type=entry

Where do you should change it?

Go to SLD --> Business System --> Select your PI --> Integration Configuration --> change the URL.

Save your configuration.

Regards,

Carlos

0 View this answer in context

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question