Delivering Status in Messaging system

Hi,
I am monitoring messages in messaging system. I can see some message status as "Delivering" from so many days. I am unable to delete those messages. It is not even changing to undelivered status. Please help.
Thanks,
Gunasree

Hi Gunasree,
                       The messages in the DELIVERING status can not be cancelled. The messages might have gone to delivering stage due to many reasons. If some earlier message got failed in the queue or the connection between the Receiver and adapter engine break...or some other reason.
For messages in the delivering status it can be cancelled by stopping the adapter engine only.
Thanks
Ajay

Similar Messages

  • Stuck in To Be Delivered Status in Message Monitoring - Adapter Engine

    Hi,
    I have messages stuck in To Be Delivered status in Messages Monitoring. When i checked the Audito Logs, there are NO LOGS. I resent the message and now the logs indicated in the Audit Logs is:
    2014-03-26 08:39:10
    Information
    The message was successfully received by the messaging system. Protocol: XI URL: http://<host>:<port>/MessagingSystem/receive/AFW/XI Credential (User): PIIXXXX
    2014-03-26 08:39:10
    Information
    Using connection SOAP_http://sap.com/xi/XI/System. Trying to put the message into the receive queue.
    2014-03-26 08:39:10
    Information
    Message successfully put into the queue.
    2014-03-26 08:52:48
    Information
    Admin action: Trying to redeliver message.
    The connection between the receiver is ok, does this have something to do with the Communication Channels?
    Please help.
    thank you.

    Hi Eng Swee,
    there are messages that were cancelled yesterday and the status is 'Terminated With Errors'
    this is what is indicated in the Audit Logs
    2014-03-26 02:38:47
    Information
    Admin action: Trying to fail message.
    2014-03-26 02:38:47
    Error
    The message status was set to FAIL.
    2014-03-26 02:38:47
    Information
    Admin action: The message was successfully set to status failed.
    2014-03-26 02:38:47
    Error
    Asynchronous error detected: com.sap.engine.interfaces.messaging.api.exception.MessagingException: Message failed by admin.. Trying to report it.
    2014-03-26 02:38:47
    Error
    Asynchronous error reported.
    Is this the reason why the messages are stuck?
    thank you!

  • To Be delivered status in Message monitoring

    Hi,
    There are some messages in TO BE DELIVERED status in Message monitoring while selecting integration server. I could neither cancel nor resend.
    any input reg. this will be appreciated.
    I didn't see any messages with TO BE delivered status in adapater engine.
    I could able to clear What ever messages in system error status in adapter engine by filtering based on sequential id.
    I have seen this thread  & link also.
    To Be Delivered
    Re: "To be delivered" status in RWB -- Any solution?
    http://help.sap.com/saphelp_nw04/helpdata/EN/49/e3fb40ef74f823e10000000a155106/content.htm
    I could not see any entry in SMQ1, SMQ2, SM58 also
    Thanks
    Praba
    Edited by: Prabaharan Rangasamy on Dec 8, 2009 1:02 PM
    Edited by: Prabaharan Rangasamy on Dec 8, 2009 1:04 PM

    Hi,
    You cannot resend or cancell the messages which are in status "To Be Delivered". Check Receiver adapter File/Jdbc/ OFTP e.t.c. which is processing these messages.
    Check with your Basis team to remove the lock of adapters if any. Or to process these messages you require soft restart of Java stack.
    I had same kind of issue two days back with OFTP adapter messages and did soft restart of java stack with help of Basis team.
    Hope it will helps you
    Cheers
    Veera

  • To Be Delivered Status for messages

    Hi All,
    I've a File->PI-File scenario. If I check the status of messages under RWB->Message Monitoring->Adapter Engine, I find some mesages with status "Scheduled". The single status of the messages is "To be delivered". Manually I try to send a single message but in the Audit Log I find "Admin action: Trying to redeliver message."
    The Queue "DispatchDisp" is fill with all the messages.
    How can I send these messages?
    Thanks in advance
    2009-02-11 17:11:20 Information Using connection File_http://sap.com/xi/XI/System. Trying to put the message into the receive queue.
    2009-02-11 17:11:20 Information Message successfully put into the queue.
    2009-02-11 21:13:15 Information Admin action: Trying to redeliver message.
    2009-02-11 21:14:29 Information Admin action: Trying to redeliver message.

    Your file is stuck in a queue where failed files are waiting to get resolved. So you need to clear the queues first and then process your file.
    Here is the way to clear the queues for Failed messages with System Errors.
    RWB --> Adapter Engine --> show additional criteria --> Enter the QUEUE NAME in field "Conversation_ID" (for this you have to first know the queue name from details of the messages having ststaus "Holding" or "to be delivered".) --> Expand "Configure table columns" --> choose "Conversation ID" and "Sequential Number" --> display. --> sort the list by ascending order of "sequential number" --> cancel the message whose sequential number is latest and go on canceling in ascending order.
    Hope it helps.
    Br,
    Madan Agrawal

  • BPM wait step : RWB"To Be Delivered status": SXMB_MONI"Message being sent"

    Hi All,
    I have a BPM interface running fine since 1 year.
    In this BPM I have wait step for 5 minutes.
    But yesterday message  is stopped on wait and not proceeding ahead.
    I checked XML is good as per mapping. and in runtime wirk bench message is still in "To Be Delivered status"
    and in SXMB_MONI message column Outbound Status still showing "Message being sent" even after 12 hours.(wait is only 5 minutes). And below is the trace of last message.
    Please guide how to handle or restart this message. in SMQ1 & SMQ2 there are no queues showing:
      <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!--  Inbound Message
      -->
    - <SAP:Trace xmlns:SAP="http://sap.com/xi/XI/Message/30">
      <Trace level="1" type="T">--start determination of sender interface action</Trace>
      <Trace level="1" type="T">select interface Request_SI</Trace>
      <Trace level="1" type="T">select interface namespace https://www.XXXXX.com/YYYY</Trace>
      <Trace level="1" type="T">--start determination of receiver interface action</Trace>
      <Trace level="1" type="T">Loop 0000000001</Trace>
      <Trace level="1" type="T">select interface Request_SI</Trace>
      <Trace level="1" type="T">select interface namespace https://www.XXXXX.com/YYYY</Trace>
      <Trace level="1" type="T">--start determination of sender interface action</Trace>
      <Trace level="1" type="T">Hence set action to DEL</Trace>
      </SAP:Trace>
    Regards

    Solved, few BASIS jobs were inactive in transaction code "SWF_XI_CUSTOMIZING".

  • Notification Status - System Status Object1- Message - 0STATUSNTF1_TEXT

    Hello dear Experts,
    I'm trying to figure out what status texts do the extractors 0STATUSNTF1_TEXT, 0STATUSNTF2_TEXT and 0STATUSNTF3_TEXT (System Status Object1- Message, System Status Object2- Message and System Status Object3- Message) bring to BW. I suppose they are related to the notifications, because these datasources are under QM-IO Quality Management Master Data. When I try to use transaction RSA3 they extract nothing.
    I tried searching the internet, help.sap and SDN with no results. Does anybody know anything of these datasources?
    Thank you very much,
    Isabela.

    Note 300300 - PSBW: Application of the status concept

  • Messages getting stuck in Delivering status in AE

    Hi all,
    Recently we are coming across messages that go into Delivering status. These messages mostly belong to File Sender/Receiver Adapter but not confined to them. Here is the audit log of one such message:
    2011-03-21 10:01:55 Success Write to file "/usr/sap/ZX2/EXT/XI_INTERFACES/SCP2PIF016/NOT_PROCESSED/goodsReceiptPosting_InvalidRecords20110321-100155-650.xml" as binary, size 1949 bytes
    2011-03-21 10:01:55 Success File processing complete
    2011-03-21 10:01:55 Success MP: Leaving module processor
    2011-03-21 10:01:55 Success The message was successfully delivered to the application using connection File_http://sap.com/xi/XI/System.
    2011-03-21 10:01:55 Error Setting the message status to DLNG failed, due to: com.sap.aii.af.ra.ms.api.DeliveryException: Error updating status..
    On searching in SDN I found one work around-- to restart Messaging Service in Visual Admin. This did work as the messages got processed after that. But, the problem seems to be recurring now(once in every two days).
    Can any body shed some light on this to find the permanent fix?
    Thanks a lot,
    Gokul.

    Hi,
    Make sure you have set the MaxThreadCount parameter to 350 or higher depending of the case and of the resources available.
    To increase the parameter, please follow the instructions below:
    1. In the left frame choose Server -> Kernel -> ApplicationThreadManager
    2. In the tab Display Configuration (right frame) choose Switch between view and edit mode to activate the edit mode.
    3. The parameter MaxThreadCount must be set to 350.
    4. You will then need to restart the J2ee
    For reference see note #937159 - XI Adapter Engine is stuck
    For specific setting to an adapter can be done by going to the Visual Administrator -> Services -> SAP XI AF Messaging
    Look at the property 'Messaging connections' here you will see the following queues:
    Send.maxConsumers (asynchronous sending - outbound)
    Recv.maxConsumers (asynchronous receipt - inbound)
    Call.maxConsumers (synchronous sending - outbound)
    Rqst.maxConsumers (synchronous receipt - inbound)
    Depending on where the bottleneck is occurring (i.e. too many entries in the Send.maxConsumers) you can increase these parameters.
    Example of parameter value syntax (sample for FILE adapter):
    (name=FILE_http://sap.com/xi/XI/System, Send.maxConsumers=10, Recv.maxConsumers=10, Call.maxConsumers=10, Rqst.maxConsumers=10)
    For reference see note:
    #791655 - Documentation of the XI Messaging System Service Properties
    And see the link:
    /people/kenny.scott/blog/2007/08/20/messaging-system-queue-properties-after-xi-30-sp19-xi-70sp11
    Regards,
    Caio Cagnani

  • PI RWB-Messages stuck in Delivering Status

    Hi Experts,
    PI 7.1
    Scenario: Proxy to Mail (Outbound)
    QOs: Exactly Once in Order
    We are facing problem while sending messages to receiver.
    Messages are stuck in Delivering status and the messages followed by them are going into holding status.
    Messages in Delivering status has no audit logs.
    Issue has started couple of months back. We took restart initially to rectify the barrier but it is happening again. This is repetitive issue and we are looking for permanent fix. Restart is not preferred resolution as it is a production system.  Please suggest how can we overcome it? It would be a great help.

    Hi Hardik
    I've blogged about this issue recently. Please check out the blog:-
    http://scn.sap.com/community/pi-and-soa-middleware/blog/2014/03/27/handling-and-preventing-messages-stuck-in-to-be-delivered-status
    Rgds
    Eng Swee

  • Messages stuck in TO BE DELIVERED status

    Hi !
    Suddenly, whenever a message has to use the File Adapter, no mather which communication channel is to be used, the message is stuck with the "TO BE DELIVERED" status.
    These messages, all have SUCCESSFUL status in the SXMB_MONI. The problem is in adapter engine. ALL have NO errors in their Audit Log. Because the problem is in adapter engine/framework, obviously queues at SMQR/SMQ1/SMQ2 are emtpy. ALL have QoS = EO (no eoio queue is used, NO predecessor messages are stuck with system error).
    This occurs no mather which adapter is the sender (RFC, File, etc.)
    The audit log is:
    2008-04-10 16:59:34
    Success
    Message successfully received by messaging system. Profile: XI URL: http://xxxxxxx:yyyyy/MessagingSystem/receive/AFW/XI Credential (User): PIISUSER
    2008-04-10 16:59:34
    Success
    Using connection File_http://sap.com/xi/XI/System. Trying to put the message into the receive queue.
    2008-04-10 16:59:34
    Success
    Message successfully put into the queue.
    If we try to resend the message using the "resend" button in RWB, the message keeps in the TBDL state and the only difference is a new "success" entry in the audit log saying that:}
    "Success | Admin action: Trying to redeliver message".
    We already refreshed the cache and restarted the Java stack.
    Any clues?
    Thanks !
    Regards,
    Matias.

    Hi,
    Statuses such as HOLDING or FAILED usually happen only for delivery semantics EOIO (exactly once in order) or BE (best effort means Asynchronous). TO_BE_DELIVERED occurs while the message is put into the Messaging System receive queue. This is done via the Messaging System receive servlet:
    http://<Host>:<PORT>/MessagingSystem/receive/<CONNECTION>/<PROTOCOL>
    The MS returns HTTP 200 to the Integration Server only if this was executed successfully. In this example scenario, status TO_BE_DELIVERED should not appear since we assume that the IS has called the servlet successfully.
    The status is updated from TO_BE_DELIVERED to DELIVERING when the message has popped out of the receive queue and the event handler lookup was successful, so there is a small gap where TO_BE_DELIVERED could remain in the message monitor, although it was delivered from IS successfully.
    Regards,
    Srini

  • Adapter Engine Message in Delivering Status

    Hi All,
    Any idea how to cancel/delete the messages which are in delivering status in Adapter Engine.
    In my case a single EOIO message is stuck in the AE with delivering status. Other messages are flowing successfully using the same cc.
    Earlier during such cases we had to restart j2ee/ stop/start AF Messaging to resolve the problem.
    Just wondering if theres any other solution?
    btw : The message was in delivering status because the password mentioned in the receiver channel was wrong. There were other messages which failed but the status of those messages went into "System Error". Nothing wrong with that, but just wondering why did a single message remain in the "Delivering" status.
    I have already been through this thread Re: How to delete message in "Delivering" status. Only exists in Adapter Engine and didnt find/understand anything which could help me.
    Thanks
    Sumit

    Look at these blogs,
    How to deal with stuck EOIO messages in the XI 3.0 Adapter Framework  :  How to deal with stuck EOIO messages in the XI 3.0 Adapter Framework
    XI :  How to Re-Process failed XI Messages Automatically
    Message stuck in Adapter Engine queue with status "Delivering"
    Hope this helps

  • Urgent - Messages in "To Be delivered" status

    Hi XI ers,
    We have around 150 messages in "To Be delivered" status. Tried resending a couple of them but no sucess.
    When tried to resend a message, it gives message 2 Audit log entries in MDT (Message Display Tool). The first entry is "Try to fail the message" and "Trying to resend the message"
    After that in RWB, message monitoring, the status of the message is "To Be delivered" forever.
    >>there are no queue entries (smq1 and smq2)
    >> tried cancelling the first message in the list of "To Be delivered" status.. and that did not work.
    The error being in Receiver end, there are no error entries in sxmb_moni also.
    Can any help me with what the issue could.
    Any suggestions on directing me are welcome,
    thanks,

    hey
    have a look at the followin
    Status:  TO_BE_DELIVERED
    Which means that the message was successfully delivered from Integration Server point of view and it states that the messages is initially handed over to the Messaging System.
    TO_BE_DELIVERED occurs while the message is put into the Messaging System receive queue.
    Solution:
    This is done via the Messaging System receive servlet:
    http://<Host>:<PORT>/MessagingSystem/receive/<CONNECTION>
    /<PROTOCOL>
    Only if this was executed successfully the Messaging System returns HTTP 200 to the Integration Server and the Status TO_BE_DELIVERED moves to DELIVERING
    Try logging into Sap GUI with two users:  XIAPPLUSER & XIAFUSER
    to see if they are blocked 
    We can check the messages:
    AdapterFramework 
    com.sap.aii.adapterframework.serviceuser.language 
    com.sap.aii.adapterframework.serviceuser.name = XIAFUSER
    com.sap.aii.adapterframework.serviceuser.pwd 
    ApplicationSystem 
    com.sap.aii.applicationsystem.serviceuser.language 
    com.sap.aii.applicationsystem.serviceuser.name = XIAPPLUSER 
    com.sap.aii.applicationsystem.serviceuser.pwd
    in the exchange profile to make sure the right passwords
    thanx
    ahmad

  • EO Messages with Delivering Status in Adapter Engine

    Hi All,
    We have a scenario DB-DB Asy with Java Proxies. Proxies are there to accept the messages from Sender DB and insert in target DB. Get the response from target DB and insert back that to Sender DB.
    Actually the scenario is Syn, but we made it as Asynchronous by implementing Java Proxies.
    Now we are using EO mode in Sender JDBC channel. We have 17 interfaces in the similar pattern. We are using one common XI receiver channel for all these 17 interfaces.
    If one message got struck, then rest other Proxies are not getting triggered and not able to resend the message ( ofcourse I know I cannot resend with Delivering Status). But not sure what causes the messages to failed with Delivering Status mode.
    Any pointers would be highly appreciated.
    Will increase of Parallel Queues really solve my problem? If it fails in Prod, its a big problem for us as we dont want to lose the data. Now everytime we are restarting the Message service server.
    Regards,
    Srinivas

    Normally if there is any problem in target then you will see the adapter engine message as delivering
    after the no of retires set then status will go to system error
    during this entry check  the CC used what is the error causing for that ?
    HTH
    Rajesh

  • Messages in "To be Delivered" status, redelivering is not working

    Hi guys!
    I have a problem with messages in AF. They are in status To Be Delivered. When I check the log from MessagingSystem servlet, it says:
    2008-03-06 09:15:30 Success Message successfully received by messaging system. Profile: XI URL: http://xxx:52000/MessagingSystem/receive/AFW/XI Credential (User): PIISUSER
    2008-03-06 09:15:30 Success Using connection AS2_http://seeburger.com/xi. Trying to put the message into the receive queue.
    2008-03-06 09:15:30 Success Message successfully put into the queue.
    And this is it. No try to send the message by PI, nothing. I tried to redeliver the message, but it does nothing, just adds new record to the log, that I tried to redeliver it.
    All this started a few hours ago, when there was a problem on Partners AS2 system (we received HTTP 503 code - service unavailable.). Then the AS2 adapter tried to send some messages, but was not successful and few minutes after it stopped working at all. So now there is a lot of messages stuck in a queue and nothing is working.
    I tried to reactivate the CC, but it didn't help. Any ideas guys, what to check?
    Thank you,
    Olian

    Hi,
    TO BE Delivered means sent sucessfully from the IS point of view might be got stcuk in the Queue check it using smq1 and smq2.
    check the queues run the CPA cache.
    Go to SXMB_MONI and check if there are any redflags. If yes then select all of those and click on the button to the right of RESTART button which actually 'Cancels Processing of all Messages with Error'. After that refresh sxmb_moni a couple of times and check.
    If you dont have any message in MONI, that are scheduled or Scheduled for outbound processing status, then do these steps in RWB,
    1) select a message in TBD status and Hit "Resend". check if this message makes it thru fine. (If you are worried about the sequence of the message, then resend the last message - in the sense, the message that came in first to the adapter engine)
    2) if first step is success. then select Multiple Selection On, >select All messages>resend
    3) check from the time stamp, if there are any more messages that you wanted to resend, in TBD status
    Check this blog also.
    /people/stefan.grube/blog/2006/04/27/how-to-deal-with-stuck-eoio-messages-in-the-xi-30-adapter-framework
    Hope this will help you.
    Regards
    Aashish Sinha
    PS : reward points if helpful

  • Issue with PI messages in "To be Delivered" Status

    Hello Experts,
    We have a Mail to SOAP scenario on PO 7.4 single stack PI system. Currently we are facing issue with messages where messagess are in status "To be Delivered". Messages dont get processed further.
    Two days back, we had issue with file system table overflow and this cause messages remained in "Delivering" status. I can see Audit log with error emssage for table space full.
    I couldnt cancel/resend those messages.
    I believed these messages are causing rest of the messages to go in "To be Delivered" status. I found few blogs to check resources in Java Engine Additional Data->Queues and its looks good.
    we had system restart and these "Delivering" messages were cancelled but again when we tried a fresh run and first message went into "Delivering" Status with 500 server error message in audit log and subsequent messages started going into "To be Delivered" status. This is happening only for one scenario, rest of the message are working fine.
    I tried wit new BS, Channel, Integrated scenario for same functioanlity but its not working.
    Recent messages with "To be Delivered" can be seen with below audit log
    Information MP: processing local module localejbs/sap.com/com.sap.aii.adapter.mail.app/XIMailAdapterBean
    Information Mail: Calling the module processor for channel CC_Sender_V2
    Information Mail: Message leaving the adapter (call)
    Information Trying to put the message into the send queue
    Information Application attempting to send an XI message asynchronously using connection AFW
    Information Message successfully put into the queue
    Information Trying to put the message into the send queue
    Information Mail: Call completed
    Information Message successfully put into the queue
    Information The application sent the message asynchronously using connection AFW. Returning to application
    Information Mail: Call returned for channel CC_Sender_V2
    we have latest patch(SAP_XIESR Version 1000.1.70) applied 10 days back only
    Kindly suggest.

    Hi All,
    Thanks for your reply and suggestions.
    Now messages are flowing properly. Issue was with data population in the target structure. Receiver side we have Knowledge Management portal website and CreateDocument operation fields were expecting some values to be populated. We tried few combinations and it worked.
    We also tried changing mapping and we could reproduce messages with "To be delivered" status.
    Now we are searching for KM Portal Webservice documentation where information about every field of operation is mentioned. If we straight away pass source mailbody to webservice, its not working. failing at webservice end with error 500 internal server error. It expects data to be in Base64 format and also fields like Length of data to be populated. If we get documentation then things would be more easy. We are also passing attachment but its not getting generated at target end. We are not sure if webservice support that feature.
    Thanks,
    Vinit.

  • Messages are hanged in "Delivering" status

    Hi everyone,
    I have an IDoc -> PI -> File scenario. Everything works fine until the message reaches the file adapter. In the Communication Channel monitoring there is no activity for that message, and the channel is correctly configured and started. However, in the Message Monitoring, when I filter for my receiver interfacce, I see that there are 4 messages that have been in "Delivering" status for 2 days. Then, there are a lot more messages in "To Be Delivered" which I guess are waiting for the first ones to finish.
    I stoped & started the channel, I tried to resend the messages and nothing happened. Any suggestions? Thank you very much!
    Regards,
    Pablo

    Hi Pablo,
    "However, in the Message Monitoring, when I filter for my receiver interfacce, "
    --- First Remove all the filters in the RWB,
    now set the status filter as "System Error" and select the date range for more than six months or 1 yr ...
    now if you see any message then delete them,
    Again set the status to "To Be Delivered" and delete all of them.
    now set the status to "Delvering" and restart them,
    this is what i do when ever i face this problem.
    Regards,
    Karna...

Maybe you are looking for

  • J2esdk installation problem on fedora 2

    Hello All I am tring to install the j2eesdk-1_4_01-linux.bin on my newly intalled redhat fedora system while running on command prompt as $./j2eesdk-1_4_01-linux.bin it gives error message like ./j2eesdk-1_4_01-linux.bin: error while loading shared l

  • Lost contacts, notes and reminders

    HI! Today I lost contacts, notes and reminders on my iPhone. I checked on my iCloud account and everything is there, then I checked iCloud settings on my iPhone and all options are off except for Find My iPhone. I did not turn on everything because I

  • Strange File Size Problem (FLA)

    Hi We just encountered quite a problem here and i wonder how to solve it. Our FLAs are getting so huge that they are mostly "un-workable". Basicly, what we do is create a character animation, let's say a walk cycle. For that part we use stardard anim

  • Sql server Memory usage

    Hi, How to find out the current utilization of Ram in sql server? and how to restrict the ram for sql server  windows 2008r2 with 64bit os?

  • Cisco 5.0 ACS Solution engine

    Hi, Just installed and finished intail setup of ACS version 5.0 Sol. engine. Next i'm not able to acces solution engine over internet explorer. Even not able to telnet port 2002. Do i need to configure anything else for enabling gui in version 5.0? P