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

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

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

  • 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 delivering status

    Hi all,
    I have an idoc-xi-ftp scenario with EO quality of service. For the very first tests we set up a file CC using nfs and everything worked fine.
    Today I received the info to connect to the FTP server and introduce it on the file CC. The issue comes because some kind of problem writing on the ftp server leaves the messages in status "delivering" (DLNG).  While FTP guys try to fix the issue (they don't know where he tissue is right now) I have switch again to NFS with the old configuration in order to allow the users to keep testing.
    But the issue comes because now the messages being sent to NFS scenario are marked as to be delivered and they are not processed.
    I'm suspicious about the delivering ones and I'd like to cancel, but the cancel button doesn't allow me to do it so I'm hanged in a circle.
    Any ideas?
    Thanks in advance,
    David R.

    Hi,
    Yes, ABAP +Java implies a complete restart of the PI server, which is not recommended in the production environment.
    Generally, this case is like a deadlock situation. We will not be able to either resend/cancel the messages in delivering.
    So , best option would be to identify which server node these messages are stuck and then restart that server node.
    With the server node restart these messages in Delivering are again reprocessed by the server.
    Regards,
    Younus

  • Messages are stucked in EOIO Backlog, please help me...

    Dear Expert,
    I am facing an issue the messages are stucked in EOIO Backlog, Those stucks are not flowing. why it is stucking in Engine status or backlog monitor.
    and how it will reprocess those messages.
    Regards,
    Kiran Polani

    Dear Friends,
    Actually we developed an Idoc to soap synchronous using BPM in sap pi 7.0. suddenly required changed in field lever at sap r/3 side that's why we stopped communication channel for that interface.
    But when we are stopped that interface it is stuked in EOIO Backlog and it is stayed in Holding state. Daily the message count is increasing. But here from sap they are triggering data for same idoc.
    For that i have discussed with our team and deleted that interface in existing production enviroment.
    now those signals are not stucked in Engine status EOIO Backlog. But my problem is how to delete or cancel existing not flown EOIO messages in Engine status.
    Please find the screen shot for your reference.
    Regards,
    Kiran Polani

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

  • Receiver JDBC channel is stuck in "delivering" status.

    Hi experts,
    I have a IDoc -> JDBC scenario, and when the JDBC channel tries to process a message, it get stuck in "delivering" status. Here's the log of the message process:
    2011-04-25 17:38:10 Success Message successfully received by messaging system. Profile: XI URL: http://xq0ds001:50100/MessagingSystem/receive/AFW/XI Credential (User): PIISUSER
    2011-04-25 17:38:10 Success Using connection JDBC_http://sap.com/xi/XI/System. Trying to put the message into the receive queue.
    2011-04-25 17:38:10 Success Message successfully put into the queue.
    2011-04-25 17:38:10 Success The message was successfully retrieved from the receive queue.
    2011-04-25 17:38:10 Success The message status set to DLNG.
    2011-04-25 17:39:08 Success Delivering to channel: CC_JDBC_NA_Familiares_BUXIS_Receiver
    2011-04-25 17:39:08 Success MP: Entering module processor
    2011-04-25 17:39:08 Success MP: Processing local module localejbs/CallSapAdapter
    2011-04-25 17:39:08 Success Receiver JDBC adapter: processing started; QoS required: ExactlyOnce
    2011-04-25 17:39:09 Success JDBC adapter receiver channel CC_JDBC_NA_Familiares_BUXIS_Receiver: processing started; party  , service BS_NA_BUXIS_QA
    Any ideas of what could be causing this?
    Many thanks!
    Vanesa.-

    Hi Vanesa,
    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 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 JDBC adapter):
    (name=JDBC_http://sap.com/xi/XI/System, Send.maxConsumers=15, Recv.maxConsumers=15, Call.maxConsumers=15, Rqst.maxConsumers=15)
    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

  • Messages are stuck in SMQ2

    Hi,
    Our messages are stuck in SMQ2, and I think this is due to high volume of messages. I have configured the IS to allow the QRF_RESTART_ALLOWED to 1, and scheduled the RSQIWKEX job to run periodically. But, the messages are still stuck in SMQ2.
    Does anyone know what are the next steps we should look into to solve this problem?
    Any help is greatly appreciated.
    Thanks,
    Karma

    Just try - go to SXMB_ADM->Manage Queues and Deregister all the Queues. Then go to SMQ2 and try to activate all the queues by selecting the each lines and with activate button.
    Then re-register the queues in SXMB_ADM and chek it..
    Problem may be because of workprocess related. Also check transaction ST22 for if any dump in XI box.
    btw what is the scenario ? Is it because of huge message processing ?
    Regards,
    Moorthy

  • My text messages are not being delivered

    MY text messages are not being delivered. Keep coming back with the red saying "Not Delivered". Anyone know why this all of a sudden started happening and how to fix it?

    Thank You Meg St._Clair contacted my carrier and fixed the problem on my iPhone 6 but still an issue on my iPad mini  
    Carrier could not fix the problem so said I would have to plug my iPad into my Mac and back it up and then restore factory settings        
    Havent done any of that yet!

  • Pictures sent to my iphone 6 via text messaging are stuck in downloading phase

    Pictures that are being sent to me via text messaging are stuck in "downloading" phase.  I can not receive any pictures on my new iphone6.  Is anyone else experencing this?

    Found a great post that had a bunch of possible solutions (over at https://uk.answers.yahoo.com/question/index?qid=20131217195803AAOe6WV )
    Lucky for me the first one worked--went into settings->messages and turned iMessage off, waited a few seconds, turned it back on.  Images came through just fine after that.  We'll see if it lasts.

  • Proxy messages are stucked in SMQ2 as scheduled status

    Hi,
    I am doing File(FCC) >PI 7.0>ABAP proxy. (ECC) Scenario.
    Once i pick and process the file, the resultant message is updating the table in ECC through ABAP proxy. These messages are getting stucked in queues (SMQ2)  in ECC. My message is not having much data , it is very less in size.
    And there is no messages in Queue.
    I register all queues in SMQR in PI and ECC.
    Does I need to do any activity in ECC or PI? What could be a problem. Please suggest .
    Thanks
    Ayub

    Hi Venkata,
    Thanks for very quick replay.
    Are the messages stuck with any error?--> First I can see the Green Color Flag as scheduled status, I open the message I can see there is no error message.Bt when I have look at end of the message in SXMB_MONI at Q.Status , I can see Message Has error
    In SMQ2 -->
    Cl. Queue Name               Entries    Status   Date 1     Time 1   NxtDate           NxtTim                  Sender ID                        Wait for queue
    200 XBTR0009                         1  SYSFAIL  24.02.2012 10:53:34 24.02.2012 10:53:34      R3DEVQA_RDV_01
    And when I double click the XBTR009 I can see the below message :
    Cl.       User                  Function Module                 Queue Name                Date        Time                       StatusText
    200  ALEREMOTE    SXMS_ASYNC_EXEC                 XBTR0009                  24.02.2012  10:53:34  Screen output without connection to user.
    This are status of the messages. Please help me.
    Regards,
    Ahmed

  • Adapter Engine - Messages in To Be Delivered status

    Hello,
    I am using a SAP XI 3.0.
    Checking the Message Monitoring, I have seen that there are a lot of messages in status To Be Delivered. I think that this status in an initial status because then the message has to be set to Delivering in a next step.
    Specifically, the mentioned status is related to a Communication Channel which is configured as below:
    Adapter Type: XI
    Transport Protocol: HTTP 1.0
    Addresing Type: URL Address
    Target Host: A determined value
    Service Number: A determined value
    Authentication Type: Use Logon Data
    User Name: A determined value
    Password: A determined value
    There is no module added in Module tab.
    I think the problem is that messages are queued requesting any information but I do not know if there is any place to check it (in smq2 transaction, the queues are empty and this kind of channel is not shown in Communication Channel Monitoring).
    Thanks in advance.
    Best regards,
    Gemma
    Edited by: Gemma Boldu Capdevila on Oct 21, 2009 3:08 PM

    Hi,
    You have to clear that particular queue in message monitoring of RWB.
    Check the following links:
    http://help.sap.com/saphelp_nw70/helpdata/en/45/d4b62755002e97e10000000a155369/content.htm
    http://help.sap.com/saphelp_nw70/helpdata/en/49/e3fb40ef74f823e10000000a155106/content.htm
    Your problem should be solved now.
    Regards,
    Supriya.

  • Proxy messages are stucked in SMQ2.Can I pass these msgs in separate queue?

    Hi Guys,
    File >PI>ABAP proxy. (ECC)
    Once i pick and process the file, the resultant message is updating the table in ECC through ABAP proxy. These messages are high priority and they should not stuck in the queues in ECC.
    The problem is some of the messages of this interface are getting stucked in queues (SMQ2) by colliding with other low priority messages which are failed due to some data issues.
    Is there any way I can separate these high priority messages into separate custom queue and process them?
    Do I need to this in ECC or PI?
    Thanks
    Deepthi

    Hi,
         As Debashis has already said, use message prioritization in PI to handle your requirement.
    For SAP NetWeaver PI 7.0, navigate to SAP NetWeaver 7.0  SAP NetWeaver 7.0 Library  SAP NetWeaver Library  SAP NetWeaver by Key Capability  Process Integration by Key Capability  SAP NetWeaver Exchange Infrastructure  Runtime  Integration Engine  Prioritized Message Processing.
    For SAP NetWeaver PI 7.1 (including EHP 1), navigate to SAP NetWeaver  SAP NetWeaver PI/Mobile/IdM 7.1  SAP NetWeaver Process Integration 7.1 Including Enhancement Package 1  SAP NetWeaver Process Integration Library  Function-Oriented View  Process Integration  Integration Engine  Prioritized Message Processing.
    For more details about message prioritization within the Advanced Adapter Engine, please refer to SAP Help Portal http://help.sap.com, and navigate to SAP NetWeaver  SAP NetWeaver PI/Mobile/IdM 7.1  SAP NetWeaver Process Integration 7.1 Including Enhancement Package 1  SAP NetWeaver Process Integration Library  Function-Oriented View  Process Integration  Process Integration Monitoring  Component Monitoring  Prioritizing the Processing of Messages.

Maybe you are looking for

  • XML parser error while testing web service client using jdeveloper 10.1.2.1

    hi I have generated a web service stub/skeleton out of the wsdl file using jdeveloper 10.1.2.1.0. The client will return a complex type result, i.e., it will return an array of elements. When I try to run the client using jdeveloper 10.1.2.10 i am ge

  • Entity used as reference in view - how to get value programatically

    In jdeveloper, when you create a view you can mark your entity usage as "reference only" by checking the "reference" check box on the View Object Editor panel. Can someone tell me how you can access the value of this programatically (from within View

  • External Charger for Muvo S

    Does anyone know of an external charger for the Muvo Slim that can be plugged into the USB port. Alternati'vely, could an adapted 5v power supply be plugged into the usb port, or does it need microprocessor control to prevent overcharging? How else c

  • Running sum current and previous  row

    Hi All, i want the result as showed in Final output column , can we achieve using anylatical function, plz provide me the solution only using SQL_ **Val     YEAR     MONTH     MONTH_NO     Final Out put**_ 22     2001     OCT     10     22 24     200

  • Macbook Pro Seagate Momentus XT won't boot

    Hello! I have a macbook pro the one right before they switched to unibody. A couple of days ago when it tried to come out of sleep there was the little spinning wheel for a long time but nothing was happening. I finally shut it down holding the start