Messages stuck at Adapter engine

Hi everyone,
My messages are getting stuck at the Adapter engine level and shows the status as "Holding". But the step at Integration engine seems to work fine.
How could i get rid of these messages, before I run another couple of messages.
Also what could be the reason for the error.
Thanks,
Vinotha M
Edited by: Vinotha M on Feb 23, 2009 5:59 PM

Hi Vinotha,
Apart from the blogs mentioned above dont forget to go through
http://help.sap.com/saphelp_nw04/helpdata/EN/49/e3fb40ef74f823e10000000a155106/content.htm
This would give you a greater insight into your the cause and analysis of your problem.
Apart from the above link to avoid further cropping of the same problem you can " Start Prioritizing the Processing of Messages" http://help.sap.com/saphelp_nwpi71/helpdata/en/46/6ffe8effc20eede10000000a155369/content.htm
Rgds
joel
Edited by: joel trinidade on Feb 24, 2009 9:55 AM

Similar Messages

  • Messages Stuck in adapter engine but passing through Integration engine

    Hi All,
    SOAPFault Error. Error Code/Category: XI Protocol/ Wrong Value...Received HTTP Response Code 500: Error during Parsing of SOAP Header
    Above error as system error appears in adapter engine when messages are coming into SAP PI. At sender, we are having sender mail adapter.
    Adapter Modules are also configured in mail adapter.What could be the possible reason.
    Please suggest
    Regards,
    Kanisha

    Below is the error log. As per scenario, Mail To File.
    Please Suggest
    Regards,
    Kanisha

  • Message stuck in Adapter Engine queue with status "Delivering"

    Hi All,
    I have a File to File EOIO scenario. The messages are sucessfully delivered from IE to AE. All entries have a chequered flag in SXMB_MONI. No messages are stuck in IE queue (SMQ2). But the message is stuck in AE queue with status "Delivering". I can not resend or cancel the message coz the status is "delivering".
    The reason it is in "delivering" status is due to some config error that I made in Communication Channel FTP parameters. Now it is corrected. But how do I deal with this message now?
    Restart of server is not an option here. Is there are place I can delete the message from AE queue?
    Thanks
    Jaishankar

    You can see the queues status (and number of stuck entries etc) through the link:
    http://<host>:<port>/MessagingSystem/monitor/systemStatus.jsp
    There, you can maintain the queues.
    There is also a link for the EOIO Sequence Monitor:
    http://<host>:<port>/MessagingSystem/monitor/sequenceMonitor.jsp
    There you can see the stuck messages and maintain these.
    Make sure to handle the proper message IDs.
    All of these are acessible through the Messaging System main page:
    http://<host>:<port>/MessagingSystem/
    Regards,
    Henrique.

  • Message stuck in adapter engine with status Hold, how to delete those

    Hi,
    In Dev system around 6 lac messages are stuck in ;holding' state. How can I delete them. Is there is any standard proge which can delete all these messages.
    Can I delete messages of IE with status 'recorded'?
    Regards,
    Krishna

    Hi,
    see this wiki
    RSXMB_ARCHIVE_MESSAGES Archive XML Messages
    RSXMB_CANCEL_NOT_REST_MESSAGES Cancel XI Messages With Errors That Cannot Be Restarted
    RSXMB_DELETE_ARCHIVED_MESSAGES Delete Archived XML Messages
    RSXMB_DELETE_MESSAGES Delete XML Messages from the Persistency Layer marked for DEL
    RSXMB_CANCEL_MESSAGES Mass cancellation of error messages - XI
    RSXMB_SHOW_REORG_STATUS & RSXMB_SHOW_STATUS provide an overview for all XML messages in XI persistency layer.
    RSXMB_MESSAGE_STATISTICS2 which provides the processing statistics. This report basically analyzed the history table.
    RXWF_XI_UNSED_MSGS report helps in converting messages states other than 003 to final state i.e. 003.
    SXMS_REFRESH_ADAPTER_STATUS report helps in converting message sates like 001/008 into final state.
    http://wiki.sdn.sap.com/wiki/display/XI/PIArchivingConceptual+Overview

  • Messages got stuck in Adapter engine

    We are doing http to RFC sysnchronous scenario
    Message got stuck in adapter engine.so we are getting 500 HTTP timeout error in Http client.
    Please help us to find why messages got stuck in Adapter engine.
    Below Adapter engine audit log message is pasted for your reference.
    Audit Log message:
    Time Stamp Status Description
    26.09.2008 06:33:54 Success Message successfully received by messaging system. Profile: XI URL: http://devsap01:51000/MessagingSystem/receive/AFW/XI Credential (User): PIISUSER
    26.09.2008 06:33:54 Success Using connection RFC_http://sap.com/xi/XI/System. Trying to put the message into the request queue.
    26.09.2008 06:33:54 Success Message successfully put into the queue.
    26.09.2008 06:33:54 Success The message was successfully retrieved from the request queue.
    26.09.2008 06:33:54 Success The message status set to DLNG.
    26.09.2008 06:33:54 Success Delivering to channel: RFC_out_Test
    26.09.2008 06:33:54 Success MP: entering
    26.09.2008 06:33:54 Success MP: processing local module localejbs/RfcAFBean
    26.09.2008 06:33:54 Success RFC adapter received a synchronous message. Attempting to send sRFC for ZFTestRFC
    26.09.2008 06:33:54 Success RFC adapter received a synchronous message. Attempting to send sRFC for J2EE_GUEST
    ime Stamp Status Description
    26.09.2008 06:56:15 Success MP: leaving
    26.09.2008 06:56:15 Error Delivery of the message to the application using connection RFC_http://sap.com/xi/XI/System failed, due to: com.sap.aii.af.ra.ms.api.MessageExpiredException: Sync application request expired.. Setting message to status failed.
    26.09.2008 06:56:15 Error The message status set to FAIL.
    26.09.2008 06:56:15 Error Returning synchronous error message to calling application: com.sap.aii.af.ra.ms.api.MessageExpiredException: Sync application request expired..
    Kindly advise us on this issue.

    Hi krish,
           when i send a http request it got stuck in adapter engine with status "delivering" for some time....
    We found that RFC got successfully executed in R/3 system but the synchronous message is not delivered to PI.since adapter engine message is having status "delivering"
    after some time we got adapter engine message status as "cancelled with error"
    Error is Message expired exception which you can see audit log message I have pasted in my previous post.
    Meanwhile we also got HTTP timeout error in Http client.
    Could you please tell me why it got stuck in Adapter engine with status "delivering" since RFC is executed successfully.
    Why we are not getting synchronous message reply back to PI?

  • XI message status at Adapter engine level using a table (SAP table)

    Hello Experts,
    XI message status at Adapter engine level using a table (SAP table).
    We want to write a custom report using ABAP so Pls tell why the status u2018Holdingu2019 and u2018To be deliveredu2019 are present in message monitoring of RWB but not in the status (MSGSTATE) field of SXMSPMAST table.
    My need is to write a report to get the messages based on the these status from table level.
    Please let me know the table name and field name for this and the table name for the desciption of the status of XI messages at Adapter level.
    Thanks
    Gopesh

    Hi Gopesh,
    the Adapter Engine Messaging System messages are on the Java schema,
    i.e., see the following -
    [XI/PI tables|https://www.sdn.sap.com/irj/scn/wiki?path=/display/xi/xi+tables]
    Regards
      Kenny

  • XI Adapter ? No messages in the adapter engine in RWB

    Hi Guys,
    I have the scenario SOAP-PROXY. I have configured XI Adapter on the receiver side. I have used xml spy to post the messages directly to the IS. I could not see any messages in the adapter engine in RWB.
    I have seen the messages processed successfully in the integration engine under RWB.
    can anybody explain why i could not see any messages in the adapter engine ? Is It normal with the xi adapter on the receiver side ?
    Thanks,
    Raj
    Message was edited by:
            raj reddy

    Raghu.
    I've done the following:
    1. I've executed SE38 tx code.
    2. I've entered the "RSXMB_DELETE_MESSAGES" report as "Program"
    3. As the "RSXMB_DELETE_MESSAGES" report does not have a selection screen, it must be executed with default parameters. So, I selected "Program -> Execute -> Background".
    4. There are no available variants, so I clicked on the "Execute immed." button.
    5. The job starts. I can monitor it on the SM37 tx code.
    6. It only deleted 20 messages.
    What I get from this, is that the "RSXMB_DELETE_MESSAGES" report cannot delete the big part of the messages since them are marked as "Archivable" and not as "Archived".
    what do you think of it??
    regards
    Carlos.

  • How to get Payload of SOAP Message in Advance Adapter Engine

    HI All,
    I am wondering if anybody can tell me how to view the Payload of SOAP Sender and Receiver Message in Advance Adapter Engine?
    Does Anybody know how to check mapping payload in Advance Adapter Engine because in ABAP you can see the mapping payload under Request Message Mapping but when you use AAE you can't see the Request Message Mapping Payload.
    I have a SOAP to RFC Scenario in which I can't see the SOAP Sender and RFC Receiver Mapping Payload.
    When I am sending incorrect data to an RFC I am getting this error which is very strange and new to me.
    com.sap.engine.interfaces.messaging.api.exception.MessagingException: Unable to split a synchronous message
    Any comments would be much appreciated.
    Thanks,
    Iqbal

    HI All,
    I have managed to find Michal's Blog which is talking about getting the mapping payload but unfortunately I don't know how to create Adapter Module so I am wondering if somebody can please provide me EAR file so that I will request the Basis guys to deploy the code and hopefully this will solve my query.
    Michal's Blog
    As you all probably know while using local Advanced Adapter Engine (AAE) processing in SAP PI 7.1 the message is logged only once (during processing by sender adapter). This is great in terms of performance but what if we need to check the mapping output? Is there a way do do it somehow? It turns out that we don't have such an option in standard yet. Is there any alternative then?
    It turns out there is - a simplest adapter module there is...
    Local AAE works in such a way that from the sender adapter it executes the receiver adapter so in the outbound message to PI processing you can see the adapter info logs of the receiver adapter and this is what we can use. The idea is to add an adapter module to the receiver adapter which will put the content of the message into the audit log of PI message processing. We can do it by writing a few lines of code:
    PI/XI: target message logging with local AAE not possible ? not anymore...
    *Please upload the file in any free site or <REMOVED BY MODERATOR>
    <READ RULES OF ENGAGEMENT>
    Thanks,
    Edited by: Prateek Raj Srivastava on Jan 6, 2012 9:10 PM

  • Message split on adapter engine for the java based IDoc adapter

    Hi Guys,
    Do you know if message split on adapter engine is available for the java based IDoc adapter on the single stack (PI 7.31)?
    I'm getting such exception when I try to post 3 IDocs
    Transmitting the message to endpoint <local> using connection File_http://sap.com/xi/XI/System failed, due to: com.sap.aii.af.idoc.exception.IDOCAdapterException: Error before sending due to idoc parsing error: (7) IDOC_ERROR_PARSE_FAILURE: Invalid XML 1.0 character encountered within IDocXML for type <ns0:Messages>:
    state=EXPECTING_IMMEDIATE_TAG_END, charPosition=68, lineNumber=1, columnNumber=69, invalidChar=U+0078,
    sourceSnippet=...UTF-8" standalone="no"?><ns0:Messages xmlns:ns0="http://sap.com/xi/XI/SplitAndMerge"><ns0:Message1><...
    ^
    Mapping is one to many.
    Each IDoc content has been compared manually against the xsd schema and it was fine.  
    I know that old way of modifying xsd is still possible.
    Best regards,
    Wojciech

    Did you find a solution to this? Having a similar error right now.
    Thanks and kind regards
    Jens

  • Message struck in adapter engine with status Hold

    Hi,
    In intergaration engine all messages are processed, I have checked SMQ1, SMQ2 (no message is struck in queue)
    where as messages struck in adapter engine with status Hold, I have checked this in RWB. How to resolve this?
    Regards,
    Krishna

    Hello,
    Below is some information on how to resolve this type of issue:
    1 - In the RWB, expand the tray for "Configure Table Columns" - by clicking on a square at the right end of this heading.
    2 - Check the checkboxes for "Serialization Context" and "Sequence Number". These should then appear in the table columns as well.
    3 - Add the Serialization Context to the Extended Filter Criteria. Search the messages in status HOLD based on this new additional criteria.
    4 - Sort the messages in ascending order based on the Sequence no.
    5 - Check the predecessor message of the first message in status "HOLD"
    Based on the following status for this predecessor messages, the actions that can be taken for the HOLD messages are:
    a - Predecessor is in Failed State/System Error : Cancel/Resend the
    first message in status HOLD after this. Then the remaining messages
    can be cancelled/resent.
    b - Predecessor is in DLVD state(delivered state) : First Holding
    message can be resent/cancelled followed by the others.
    c - Predecessor is in NDLV(Non-Delivered Status) : Check why the
    predecessor message failed and correct the reason for the failure.
    Then resend the predecessor message and then cancel/resend the
    remaining HOLD messages. Alternatively, you can directly try
    resending this NDLV predecessor message and see if it goes. If it
    goes, then the remaining HOLD messages can be resent/cancelled.
    Another option could be to cancel this NDLV predecessor message so
    that it goes to FAILED state and then cancel/resend remaining HOLD
    messages.
    Regards,
    Sarah

  • How to process stucked holding messages in the Adapter Engine.

    Hi experts,
    This question is may be familier to all...
    There are thousands of messages are in holding status in the Adapter engine in RWB.
    I tried to found system error in these messages. There is no system error from the last in my investigation. I tried to restart of the communication channels of the combination of these messages. But it is also not use to fix this problem.
    Instead of the restart of the Java engine please let me know is there any possibility to fix this issue.
    Regards
    Mahesh

    Hello Mahesh
    You can try restarting some of the XI services (e.g. com.sap.aii.af.svc) but usually a java restart is required to free up these blocked threads/queues.
    Most likely these messages are in Holding status because there is a blockage in one of the Adapter queues. This can be monitored in the RWB
    -> Component Monitoring                                                
    -> Adatper Engine XIP                                                  
    -> Engine Status                                                       
    -> Additional Data   
    Find out what adapter queues are causing the blockage and increase the number of threads/queues available to it. This will help prevent the issue occuring again.
    See note #791655 Documentation of the XI Messaging System Service Properties, for an explaination of the queues.
    See these blogs for more details:
    1) /people/kenny.scott/blog/2007/08/20/messaging-system-queue-properties-after-xi-30-sp19-xi-70sp11
    2) /people/kenny.scott/blog/2008/12/05/xipi-file-and-jdbc-receiver-adapter-performance-and-availability-improvements
    Ensure note #937159 XI Adapter Engine is stuck, has been applied. 
    Regards
    Mark

  • Message Got Stuck in Adapter Engine

    Hi All,
    Currently i am facing one problem with Adapter engine. The issue is we have one FILE to RFC to FILE scenario. Source file got picked at 7:15 AM in the morning. But XI placed the target file at 8:05AM. so XI it took 50 mintues to process the file. But in SXBM_MONI the time difference between request and response messsages in 6 seconds.
    Where as as per the logs in RWB, Adapter engine too 50 minutes to process a single fine.
    Here my question is waht could be the reason for this delay in processing and waht should i do to avoid such delays in real time.
    Please help me out in this. Thanks in adavance.
    Regards,
    Manjula P.

    Hi,
    The link for message diaplay tool
    http://server url:Port/MessagingSystem/monitor/monitor.jsp
    Click on Sent messages=>Synchronous. Give the proper time when error was occured. The second column is audit log and send the details to us thru the same thread.
    and
    Click on recevied messages=>ASynchronous. Give the proper time when error was occured. The second column is audit log and send the details to us thru the same thread.
    Thanks,
    Ramesh

  • How to delete / cancel messages in PI adapter engine

    Hello expert,
    we have a scenario File (EOIO) --> PI --> ABAP. Today the file we received is big (>100mb), apparently PI can't handle it, and we got error
    Transmitting the message to endpoint http://host:port/sap/xi/engine?type=entry using connection File_http://sap.com/xi/XI/System failed, due to: com.sap.engine.interfaces.messaging.api.exception.MessagingException:
    Error transmitting the message over HTTP. Reason: java.io.IOException: Error writing to server.
    seems like PI adapter engine got problem while delivering the huge message to ABAP integration engine. In RWB message monitoring, the message is set to Error. Unfortunately the file has been picked up many times, thus the huge message is stuck in adpater engine. In RWB message monitoring, I can see the message listed many times and status is HOLDING because the previous message can not be delivered to Intergration engine. I want to delete/cancel all the messages, I tried in RWB message monitoring to cancell the messages, however after cancelling one message, it crashed the PI system and cause a reboot.
    My question is; Is there some place in NWA (net weaver admin) to force all the messages to be deleted? (Because deleting/cancel in RWB message monitoring does not work because it causes system crash).
    Thanks
    Jayson

    Hi Team,
    I couldn't able to delete old message's from one of Q system, Persistence layer is 584 % filled, after triggering delete job(RSXMB_DELETE_MESSAGES) and Persistence layer has come to 384% and further I couldn't able to delete old messages.I executed program "
                                                                                                          RSXMB_CHECK_MSG_QUEUE" and manage  to delete few entries.Could you please suggest how to reduce fill level to below 100%
    Switch Procedure (for Persistence Tables) Deactivated
    Number of Table Entries                                                           
    3.185.992
    Maximum Number of Table Entries                                                   
    830.000
    Current Fill Level in %                                                           
    384
    Threshold value for fill level for executing a switch run in %                    
    60
    Number of Logically Deleted Table Entries                                         
    0
    Decline of Fill Level in % Following Deletion                                     
    384
    Delete or archive processed XML messages
    Job log overview for job:    SAP_BC_XMB_DELETE_001 / 06302000
    Date       Time     Message text                                                                               Message class Message no. Message
    13.03.2013 06:39:55 Job started                                                                                     00           516          S
    13.03.2013 06:39:55 Step 001 started (program RSXMB_DELETE_MESSAGES, variant &0000000000034, user ID SAPBATCH)      00           550          S
    13.03.2013 06:39:55 Value for parameters DELETION-RELATED_OBJECTS-ASYNC: 1                                        XMS_ADM        375          S
    13.03.2013 06:39:55 Value for parameters DELETION-RELATED_OBJECTS-ROWS: 100                                       XMS_ADM        375          S
    13.03.2013 06:39:55 Value for parameters DELETION-RELATED_OBJECTS-IDX5_DELAYED: 0                                 XMS_ADM        375          S
    13.03.2013 06:39:55 Value for parameters DELETION-ROWS_PER_LOOP-DELETE: 100                                       XMS_ADM        375          S
    13.03.2013 06:39:55 Value for parameters DELETION-PERSIST_DURATION-ASYNC: 007                                     XMS_ADM        375          S
    13.03.2013 06:39:55 Value for parameters DELETION-PERSIST_DURATION-SYNC: 007                                      XMS_ADM        375          S
    13.03.2013 06:39:55 Value for parameters DELETION-PERSIST_DURATION_ERROR-SYNC: 007                                XMS_ADM        375          S
    13.03.2013 06:39:55 Value for parameters DELETION-PERSIST_DURATION-IDX5: 007                                      XMS_ADM        375          S
    13.03.2013 06:39:55 Value for parameters DELETION-PERSIST_DURATION_UNIT-ASYNC: D                                  XMS_ADM        375          S
    13.03.2013 06:39:55 Value for parameters DELETION-PERSIST_DURATION_UNIT-SYNC: D                                   XMS_ADM        375          S
    13.03.2013 06:39:55 Value for parameters DELETION-PERSIST_DURATION_ERROR_UNIT-SYNC: D                             XMS_ADM        375          S
    13.03.2013 06:39:55 Value for parameters DELETION-PERSIST_DURATION_UNIT-IDX5: D                                   XMS_ADM        375          S
    13.03.2013 07:27:58 0 XML messages deleted                                                                        XMS_ADM        351          I
    13.03.2013 07:27:59 Step 002 started (program RSXMB_TABLE_SWITCH, variant &0000000000034, user ID SAPBATCH)         00           550          S
    13.03.2013 07:28:00 Job finished                                                                                    00           517          S

  • PI 7.0: Message prioritisation in adapter engine for SOAP adapter.

    Hi All,
    We have both high and low priority synchronous messages using the SOAP sender Channel of the Central AE.
    How can we make sure that High Prio messages ALWAYS get a thread right away when entering the AE? Installing a separate AE is not an option.
    When I look in RWB->Component Monitoring->Adapter Engine->Engine Status in the Queues tab, I see this:
    SOAP_http://sap.com/xi/XI/SystemCall Yes 5(5) 5
    SOAP_http://sap.com/xi/XI/SystemRqst Yes 5(5) 5
    When a new High Prio message enters, it can take more than one hour before it gets processed, because there are 1000 Low Prio messages also using the same 5 available Threads...
    This delay is of course unacceptable for High Prio messages.
    I checked in many other threads in SDN, looks like we cannot priortise for particular messages in PI 7.0, as we can do only at adapter level, not at interface level.
    I was thinking of going to the approach which was suggested by "Gr, Wout" in the below thread. 
    xi prioritization in adapter engine (ae, af, adapter framework, java, jca)
    Creating own adapter "MYSOAP" by copying the metadata of SOAP adapter. By that we can use our own adapter "MYSOAP" for high priority interfaces.
    what you think guys about this approach?
    Is there any thing I need to take care going through this approach apart from copying SOAP metadata into my own adapter.?
    Thanks
    Deepthi

    increased thread count for soap adapter

  • Delay of Message in the Adapter Engine when put into queue

    Hi XI/PI Experts,
    We are having problems in the Adapter Engine wherein messages are staying longer in the AE queue as usual.  Sometimes, it stays longer in Delivering status also.  Is there any way we can monitor and try to push the message out of AE to avoid delays?  I know we can do this in the ABAP side (Integration Engine)...but how can we do this in the Adapter Engine?
    See below sample logs in AE RWB:
    2008-07-17 13:28:13 Success Using connection SOAP*****. Trying to put the message into the receive queue.
    2008-07-17 13:28:13 Success Message successfully put into the queue.
    2008-07-17 13:34:12 Success The message was successfully retrieved from the receive queue.
    2008-07-17 13:34:12 Success The message status set to DLNG.
    As you can see there is a gap of 4 minutes.
    Hope you can help me.  Thank you so much in advance.
    Grace

    Hi.
    Thanks for your answers but the messages are not set into EOIO but just EO.  So the messages are not ending up in Holding Status. 
    I also believe that issue is not occurring because of too many messages in error in AE nor because of the receiving system is down.  Issue is happening when message is about to be sent to the SOAP communication channel in AE.  As you can see in the sample log I provided above, in RWB AE, after the message was put into queue, it took several minutes to be delivered to corresponding comm channel.  My questions are:
    1.  Is there a way we can monitor the queue in AE like the way we monitor the queue in IE? (e.g. smq1 and smq2 transactions) .
    2.  If there is a way, how are we going to intervene manually on the queues in AE?  (we can intervene with smq1 and smq2 in IE)
    3.  For messages with Delivering Status in AE, sometimes it is taking hours to move to "Successful/Delivered" Status.  Is there a way we can intervene with that?  I believe we can resend messages with "System Error" Status and Staus "To be Delivered" but for status "Delivering"...it is not possible (from what I know -- I hope there is a way).
    I look forward to hearing from you guys/gals.
    Grace

Maybe you are looking for

  • Items on my calendar keep dissappearing

    I am finding that items in my calendar are disappearing and not always syncing with my iPhone. This is causing a problem as I use the calendar as my appointment book.  I'm talking present and future dates not past. 

  • Why did Oracle get rid of iSQLPlus?

    This is a question for Oracle. Why did you get rid of iSQLPlus without replacing its capbilities? Both SQL Developer and APEX are for developers, but the end user no longer has a web-based method for running SQL queries. What are they to use if they

  • Problem with Invoking BPEL with a Java Client

    I am trying to invoke a BPEl process from a standalone Java Application. However, it end up FileNotFoundException at Locator locator = new Locator("default", "bpel"); It seems looking for some config files. I am not sure how should I set up the envir

  • I cannot tap and drag to select text in Word

    All of sudden, I cannot tap and drag to select text I want to move or edit in Word. Not sure what I did to make it stop working. Please advise....

  • Lightroom photo / images backup

    How to backup in a CD the photos / images with all the corrections that I made (I don't want to backup the image / photo corrected, but the image / photo with the alterations). Thank you.