Skip to Content
author's profile photo Former Member
Former Member

Error code 401:"HTTP_RESP_STATUS_CODE_NOT_OK"

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

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

5 Answers

  • Posted on Jan 14, 2009 at 08:11 PM

    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

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jan 14, 2009 at 08:17 PM

    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.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jan 15, 2009 at 03:57 AM
    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 15, 2009 at 04:46 AM

    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

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 15, 2009 at 12:09 PM

    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

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.