cancel
Showing results for 
Search instead for 
Did you mean: 

Error code 401:"HTTP_RESP_STATUS_CODE_NOT_OK"

Former Member
0 Kudos

Hi Experts,

Messages are failed in SXMB_MONI with the Error code 401:"HTTP_RESP_STATUS_CODE_NOT_OK"

Text message "Unauthorised".

-->No users was locked & All users are maintaining perfect roles, no password problem.

2.Messages are processing successfully from Adapter Engine to Integration Engine and after executing all the pipeline steps through XI adapter the messages are sending to receiver successfully (File to XI Adapter)

3.But in the case of Integration Engine(After executing all the pipeline steps) to Adapter Engine the messages are failed with the above error code (XI to File Adapter).

and also can any body tell me what is the JRFC Function module which is executing in between these two.

Can any body give me the solution ASAP.

Thanks & Regards

Sankar

Accepted Solutions (0)

Answers (5)

Answers (5)

Former Member
0 Kudos

Hey,

In case if you are using URL address in the XI adpater, istead you can use Http destination and create one in SM59 (h type). Give all the information that you have given in the adapter to the destination.

Advantage of doing this is that you can test your connection from SM59 and check whether the connection is properly established.

regards,

Milan

Former Member
0 Kudos

Hi

for Java Remote Function Call (JRFC)

check the deatils here

http://help.sap.com/saphelp_nw04/helpdata/en/f6/daea401675752ae10000000a155106/frameset.htm

Regards

Abhishek

dharamveer_gaur2
Active Contributor
0 Kudos

Hi

Look these similar thread

sugata_bagchi2
Active Contributor
0 Kudos

Hi Sankar,

have you checked XIAPPLUSER is already assigned to the role SAP_XI_APPL_SERV_USER?

if this is happening in the XI adapter then you have a lok to the port , is it the J2EE port ?

5<System No> like 58200.

check the exchange profile and su01.

You can also try to restart J2EE engine.

Former Member
0 Kudos

Hi,

-->Aroan, I have gone through that OSS note already, we done not have any load on the J2EE engine only 4 interfaces are running.

-->XIAPPLUSER is maintaining the role, it is J2EE port only. where can i check the port is locked or not.

I think if port is locked then there is no messages will be processed for any interfaces.

can any body give me the solution ASAP.

Regards

Sankar

Former Member
0 Kudos

Hi Sankar,

Just check whether you have established a RFC connection with type H, if you have done , check there test connection , i hope you can resolve there it self

AaronLong
Advisor
Advisor
0 Kudos

Hi,

can you check the following:

"Calling the AF may result in HTTP 401 during high load; this is caused by too

few connections to the ABAP user management or a timeout waiting for a

new connection.

The connection pool for the user verification calls to the ABAP side is

controlled with J2EE properties in the J2EE service 'UME Provider':

ume.r3.connection.master.poolmaxsize

ume.r3.connection.master.poolmaxwait

The poolmaxsize property controls the maximum number of connections that

can be used in parallel. If all connections are in use and a new one is

needed, the poolmaxwait property specifies the time to wait for a free

connection (in milliseconds). After this time the attempt is treated as an error.

Default for poolmaxsize: 10

Default for poolmaxwait: empty 􀃆 internal timeout: 30 seconds

Increase parameters until problem disappears: for example, poolmaxsize=50,

poolmaxwait=60000

For more information, see SAP Notes 816022 - FAQ: XI 3.0 J2EE Adapter

Engine / Messaging System and 821026 - AdapterEngine messaging URL

returns HTTP 401 under high load."

If problem persists, can you post the error log in details here?

2. There is no JRFC call here. the communication is through HTTP

Hope this is helpful.

cheers,

Aaron