cancel
Showing results for 
Search instead for 
Did you mean: 

J2EE_ADMIN has no authorization to process messages?

venkatanarayana_vagu
Active Participant
0 Kudos

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.

Accepted Solutions (1)

Accepted Solutions (1)

former_member183906
Active Contributor
0 Kudos

Check the SAP note 936093. This might be of some help.

You will need to make sure that you check the password in both ABAP as well as Java stacks and all the places where this is being referred.

To check j2ee_admin password go the visual administrator,and there while connecting with j2ee_admin initially delete the j2ee_admin user and then create it with new password and then u can login with the new password.

OR

Activating the Emergency user can solve your issue. Check this threads for similar issue:

/thread/92032 [original link is broken]

/thread/79850 [original link is broken]

Former Member
0 Kudos

Hi,

Thanks for the reply,

But the problem is J2EE_ADMIN is not locked. I checked the XI ready ness procedure also it is working fine but don't know what is the root cause.

When I type this at url: http://<server>:8020/sap/xi/engine?type=entry

its giving the error 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>

Any ideas. Even I need to check at VA also? if yes which service I have check?

Former Member
0 Kudos

Hi Venkat or Ram ???

Where/How are you testing your scenario?

Regards,

Carlos

Former Member
0 Kudos

Hi Carlos,

I am doing simple file to file scenario. I am testing the sample scenario after postinstalltion of the PI box.

in the Source side the file is picking with out error and stucking there and not even coming into IS. When I check the message monitoring I got the error as,

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

Even I check the PI readyness check up also every thing is fine.

Afterwards, when I type this url: http:/<myserver>:8020/sap/xi/engine?type=entry

Its giving the error 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>

Former Member
0 Kudos

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

Answers (0)