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

Similar Messages

  • 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

  • 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

  • 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.

  • Satellite L50-A-10Q: Win8.1 Pro Wi-Fi status LED is not working

    Hello,
    I have an Toshiba L50-10-A-10Q Notebook running BIOS Version 1.30 and EC Version 1.10.
    I recently updated from Windows 8 to Windows 8.1 Pro.
    I followed the update instructions found on the Driver Download page.
    All function keys and modules (Wifi, Bluetooth, etc.) work fine.
    However, the status LEDs do not work properly.
    The status LED for Wifi is always off, even when Wifi is activated and connected.
    The status LED for the Touch Pad is also always off, even when it is deactivated.
    Power LED and charge indicator work fine.
    All status LED were working properly before the update to WIN 8.1.
    Is there a solution for this problem?
    Kind Regards
    Niko

    Why you dont try to update or reinstall the Intel WLan driver and Toshiba System Driver again?
    Since this procedure helped to solve the touchpad issue and I guess this would solve problem with the WLan indicator too.
    [Intel Wireless Lan Driver 16.0.2.1.0.s64 for Windows 8.1 - 64 Bit|http://www.toshiba.eu/innovation/download_driver_details.jsp?service=EU&selCategory =2&selFamily=2&selSeries=178&selProduct=7948&selSh ortMod=3983&language=13&selOS=46&selType=all&yearu pload=&monthupload=&dayupload=&useDate=null&mode=a llMachines&search=&action=search&macId=&country=al l&selectedLanguage=13&type=all&page=2&ID=88542&OSI D=46&driverLanguage=42]

  • [svn] 4226: Bug: LCDS-517 - Reliable messaging destinations created using runtime configuration (bootstrap service) not working.

    Revision: 4226<br />Author:   [email protected]<br />Date:     2008-12-03 15:25:17 -0800 (Wed, 03 Dec 2008)<br /><br />Log Message:<br />-----------<br />Bug: LCDS-517 - Reliable messaging destinations created using runtime configuration (bootstrap service) not working. <br />QA: Yes<br />Doc: No<br />Checkintests Pass: Yes<br /><br />Details:<br />* Make sure the <reliable/> option is treated as a nested element rather than an attribute of its parent <network> element.<br /><br />Ticket Links:<br />------------<br />    http://bugs.adobe.com/jira/browse/LCDS-517<br /><br />Modified Paths:<br />--------------<br />    blazeds/trunk/modules/core/src/flex/messaging/Destination.java

    Revision: 4226<br />Author:   [email protected]<br />Date:     2008-12-03 15:25:17 -0800 (Wed, 03 Dec 2008)<br /><br />Log Message:<br />-----------<br />Bug: LCDS-517 - Reliable messaging destinations created using runtime configuration (bootstrap service) not working. <br />QA: Yes<br />Doc: No<br />Checkintests Pass: Yes<br /><br />Details:<br />* Make sure the <reliable/> option is treated as a nested element rather than an attribute of its parent <network> element.<br /><br />Ticket Links:<br />------------<br />    http://bugs.adobe.com/jira/browse/LCDS-517<br /><br />Modified Paths:<br />--------------<br />    blazeds/trunk/modules/core/src/flex/messaging/Destination.java

  • [svn] 4195: Bug: LCDS-517 - Reliable messaging destinations created using runtime configuration (bootstrap service) not working.

    Revision: 4195
    Author: [email protected]
    Date: 2008-11-26 13:08:23 -0800 (Wed, 26 Nov 2008)
    Log Message:
    Bug: LCDS-517 - Reliable messaging destinations created using runtime configuration (bootstrap service) not working.
    QA: Yes
    Doc: No
    Checkintests Pass: Yes
    Ticket Links:
    http://bugs.adobe.com/jira/browse/LCDS-517
    Modified Paths:
    flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/config/ServerConfig.as

    Revision: 4195
    Author: [email protected]
    Date: 2008-11-26 13:08:23 -0800 (Wed, 26 Nov 2008)
    Log Message:
    Bug: LCDS-517 - Reliable messaging destinations created using runtime configuration (bootstrap service) not working.
    QA: Yes
    Doc: No
    Checkintests Pass: Yes
    Ticket Links:
    http://bugs.adobe.com/jira/browse/LCDS-517
    Modified Paths:
    flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/config/ServerConfig.as

  • [svn] 4193: Bug: LCDS-517 - Reliable messaging destinations created using runtime configuration (bootstrap service) not working.

    Revision: 4193
    Author: [email protected]
    Date: 2008-11-26 11:40:05 -0800 (Wed, 26 Nov 2008)
    Log Message:
    Bug: LCDS-517 - Reliable messaging destinations created using runtime configuration (bootstrap service) not working.
    QA: Yes
    Doc: No
    Checkintests Pass: Yes
    Details:
    * Foundational update to include destination config in what we collect for runtime config exchange with new clients for destinations with network/reliable=true (LCDS only).
    * Also typo in comment in AbstractConnectionAwareSession fixed.
    Ticket Links:
    http://bugs.adobe.com/jira/browse/LCDS-517
    Modified Paths:
    blazeds/trunk/modules/core/src/flex/messaging/AbstractConnectionAwareSession.java
    blazeds/trunk/modules/core/src/flex/messaging/Destination.java
    blazeds/trunk/modules/core/src/flex/messaging/services/AbstractService.java

    Revision: 4193
    Author: [email protected]
    Date: 2008-11-26 11:40:05 -0800 (Wed, 26 Nov 2008)
    Log Message:
    Bug: LCDS-517 - Reliable messaging destinations created using runtime configuration (bootstrap service) not working.
    QA: Yes
    Doc: No
    Checkintests Pass: Yes
    Details:
    * Foundational update to include destination config in what we collect for runtime config exchange with new clients for destinations with network/reliable=true (LCDS only).
    * Also typo in comment in AbstractConnectionAwareSession fixed.
    Ticket Links:
    http://bugs.adobe.com/jira/browse/LCDS-517
    Modified Paths:
    blazeds/trunk/modules/core/src/flex/messaging/AbstractConnectionAwareSession.java
    blazeds/trunk/modules/core/src/flex/messaging/Destination.java
    blazeds/trunk/modules/core/src/flex/messaging/services/AbstractService.java

  • Mac, have just upgraded to Yosemite and when I shall open Photoshop (CS4), the following message appears: "The licensing of the product does not work" Fault 6 How should I proceed? Have the program installed on only one computer.

    Mac, have just upgraded to Yosemite and when I shall open Photoshop (CS4), the following message appears:
    "The licensing of the product does not work"
    Fault 6
    How should I proceed?
    Have the program installed on only one computer.

    Download the Adobe Licensing Repair Tool.
    Run the License Service Update.
    Mac OS X 10.7 and above:
    a. Double-click the LicenseRecovery111.dmg   It will extract the folder. Open the folder.
    b. Double-click your Hard Drive.
    c. Double-click Applications.
    d. Double-click Utilities.
    e. Double-click Terminal.
    f. Type sudo python
    Note: There is a space following “python”. Do not press Return.
    g. Drag LicenseRecover.py from the LicenseRecovery111 folder onto the Terminal Window and press Return.
    It should look like this:
    h. Enter your administrator user name and password when prompted and click OK.
    (Note: the cursor will not move and you will not see stars or dots, just enter your password anyway.
    i. Let the script run, it will tell you when it is finished. Quit terminal and restart Photoshop
    Gene

  • When trying to buy a song a message tells me the Credit card feature is not working at this time but this has been going on for 4 days now. How can I fix this?

    When trying to buy a song a message tells me the Credit card feature is not working at this time but this has been going on for 4 days now. How can I fix this?

    turn your ipad off by holding the sleep wake button for 5 seconds and slide to turn off then turn it back on and the apps should be finished and if the apps didnt finish just redownload them

  • Dears iTunes gives me the Payment method declined message   and i bought Gift card 25$ and not work because i am in kuwait store and can not change store to USA. i try Master and visa and gift card what i can try else also i can not update free applicati

    Dears
    iTunes gives me the Payment method declined message   and i bought Gift card 25$ and not work because i am in kuwait store and can not change store to USA. i try Master and visa and gift card what i can try else also i can not update free application. my iPhone now useless.
    please help me ASAPi have to buy some application urgently.

    Whether you are trying to use a Credit Card or Redeem a Gift Card... My understanding is that you have to be within the US to use the US Store and have a valid US Billing Address.

  • I used to be able to send text messages to my email.  It's now not working.  It keeps coming in as a text.  Is one of my settings off?

    I used to be able to send text messages to my email.  It's now not working. It keeps coming in as a text.  Is one of my settings off? Please help?

    Verizon is not doing that it is the mail that is doing that.
    Check your device settings for email and read the owners manual as to how to set up mail to download. How you want it, leave on server, etc.
    Good Luck

  • Messages are stuck in "delivering" status

    Hi
    We are doing Async RFC to JDBC Scenario. Messages are successful from R/3 to XI but getting stuck at receiver jdbc adapter . subsequent message are also stuck because of this
    Below is the audit log of the message
    2007-06-29 10:33:08
    Success
    The message status set to DLNG.
    2007-06-29 10:33:08
    Success
    Delivering to channel: CS_CUS_PS_MAINTENANCE
    2007-06-29 10:33:08
    Success
    MP: entering
    2007-06-29 10:33:08
    Success
    MP: processing local module localejbs/CallSapAdapter
    2007-06-29 10:33:08
    Success
    Receiver JDBC adapter: processing started; QoS required: ExactlyOnce
    2007-06-29 10:33:08
    Success
    JDBC adapter receiver channel CS_CUS_PS_MAINTENANCE: processing started; party  , service BUS_MES
    After then it just hangs and it shows "delivering" status only
    There is no error in SXMB_MONI
    Any clues!!!!!!!!!!!!!!
    Regards
    Vijay

    Vijay,
    The queues in adapter are different from the queues in Integration Engine.
    You can restart failed msg in adapter queues also. Stefan Grube has shown this in a weblog. Just do a search, you will get the blog.
    Regards,
    Jai Shankar

  • 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...

  • Runtime error R6025 message after log on to Vista - Flash Card not working

    Hi
    I'm a newbie & would appreciate any advice.
    I am getting a runtime error message R6025 when I log on to Windows Vista.
    When I click out of the box I then get a message saying Toshiba Flash Card not working.
    I cancel that and my laptop is ok except I don't know if the flashcard is working or not because I don't know what it does.
    Sorry if I sound thick
    Thanks
    Neelie

    Hi
    I found this MS knowledge base article:
    +Description of the R6025 run-time error in Visual C++\+
    http://support.microsoft.com/kb/125749
    But I doubt this description would be useful for you or anyone here. It describes this error in Visual C++ and this is programming language.
    However, I think you should simply reinstall the Value Added Package which you could download firstly from the Toshiba European page.
    At first you have to remove the old Value Added Package from the system, then reboot the notebook and follow with new VAP installation.
    Bye

Maybe you are looking for

  • Gostaria de alterar a fonte padrão para tamanho maior.

    Conforme o site, pode ficar difícil a leitura muitas pessoas.

  • Need help on -- Size of object

    how do i get the size of the object ? Thanks in Advance

  • SECess field Greyed out in MIGO

    Dear All, I am processing for first stage delear invoice where I need to give the ED values manully. I have given for BED, AED, ECS. But SECess field is greyed out (non editable mode) so i am unable to give the value. Kindly suggest to make that fiel

  • Lightning-to-30pin adapter compatibility questions

    I'm thinking of upgrading my iPhone 4S to a 5 or 5S.  I own two docks and would like to keep them.  The product description for the adapter states: Supports analogue audio output, USB audio, as well as syncing and charging. One of the docks takes the

  • Mobileme help

    Hello, I acquired in September 2010 a contract MobileMe for an Iphone 3Gs in order to keep all my contacts and notes on MobileMe. If I had any problems with my IPhone, it enables me not to loose any data. On my Iphone, I received an error message whe