cancel
Showing results for 
Search instead for 
Did you mean: 

PI Change name of service user

former_member301120
Active Participant
0 Kudos

Hello to all,

I changed the name of the service users.

For example


XIRWDUSER => PIRWB<SID>

I did this on our test system an everything worked fine.

On our productive system I have a problem with renaming XIISUSER to PIIS<SID>.

I copied XIISUSER to PIIS<SID> and changed the username in the exchange profile at com.sap.aii.integrationserver.serviceuser.name and in SM59 Destination INTERGRATION_DIRECTORY_HMI.

After restarting the J2EE engine I get the following error:


<SAP:Error SOAP:mustUnderstand="1" xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
  <SAP:Category>XIAdapterFramework</SAP:Category> 
  <SAP:Code area="MESSAGE">GENERAL</SAP:Code> 
  <SAP:P1 /> 
  <SAP:P2 /> 
  <SAP:P3 /> 
  <SAP:P4 /> 
  <SAP:AdditionalText>com.sap.engine.interfaces.messaging.api.exception.ConfigException: Unauthorized: J2EE AE rejected user. Reason: Principal propagation is not active and technical IS service user (PIISXIP) was not used, but user (XIISUSER).</SAP:AdditionalText> 
  <SAP:Stack /> 
  <SAP:Retry>M</SAP:Retry> 
  </SAP:Error>

I do not user principal propagation and so it is not active.

I also tried to call URL http://<HOST>:<PORT>/MessagingSystem/receive/AFW/XI with user PIISXIP with following response:


<StatusInfo>
	<StatusMessage>MessagingServlet is active.</StatusMessage>
	<Version>Messaging System 7.1</Version>
	<Usage>http://[host]:[port]/MessagingSystem/receive/[connection]/[protocol]</Usage>
	<RequestURL>http://<HOST>:<PORT>/MessagingSystem/receive/AFW/XI</RequestURL>
	<Connection>
		<Name>AFW</Name>
		<Status>started</Status>
		<Listener>registered</Listener>
	</Connection>
	<Protocol>
		<Name>XI</Name>
		<Status>EventHandler registered</Status>
	</Protocol>
</StatusInfo>

Regards Christian

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

There seems to be a known bug. See SAP note 1562641 for the patch.

Possible workaround in earlier releases:

Integration Server user in the Exchange profile should be written in upper case.

How to do this:

1) Open exchangeProfile with the following link:

2) _http://<host>:<port>/exchangeProfile/start.html

3) Expand Node: Integration Engine

4) Select property: com.sap.aii.integrationserver.serviceuser.name

5) Fill integration server user name in upper-case

6) Restart the server nodes of your Adapter Engine after changing the parameter in the Exchange Profile

former_member301120
Active Participant
0 Kudos

Hello,

I tried it this way, but without success.

Additionally I opened an oss ticket.

Regards

former_member301120
Active Participant
0 Kudos

Hello,

the problem is solved.

I had to delete the adapter cache in transaction sxi_cache.

Regards Christian