Messages are in To be delivered state in the Adapter engine

Hi,
For all the receiver file adapters the messages are successful processed through Integration Engine ,no messages are stuck in SMQ1 & SMQ2 on Inegration engine.
All the messages are stuck in Adapter Engine with the status "To be Delivered ". These are all asynchorus scenarios. The quality of service is also EO.
We restarted the J2EE engine also several times but no luck.
Did anyone had similar issue?
Thanks
Sachin

Hi,
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  and  tcode - SXMB_ADM and "active" the queue then the messages and check it out.
Regards
Agasthuri Doss

Similar Messages

  • Messages are in to be delivered state and slows down the message processing

    Hello,
    Messages are in to be delivered state and slows down the message processing.
    this happenens in case of DB2 on some machine where the issue about high load on DB2  is caused by standard programming in SAP XI that executes a statement, where it uses the condition 'where 1<0' prio to the original  SQL statement configured in the channel configuration,
    Can you please help me out in solving this issue?
    Thanks,
    Soorya

    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
    1. Try logging into Sap GUI with two users: XIAPPLUSER & XIAFUSER
    to see if they are blocked
    2. 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

  • Messages are in "To Be Delivered" state

    Quite many times has happened that several messages have been stucked in XI 7.0 Production system in status "To Be Delivered".
    Resending stucked messages is not possible.
    The solution for issue is to restart Java stack.
    But This is not permanent solution to restart Java stack of production system every time.
    Please guide me to resolve this issue.

    Hi Rohan,
            In the Adapter engine message monitoring please enable the serialization context and check is there any old message is in error or holding or waiting status.
              If there is any please cancel them and resend the TBDL message.
    Thanks and Regards,
    Murugavel S

  • Messages are in to be delivered status

    Many messages are in to be delivered status in the adapter engine message monitoring
    Can any body help regarding this

    Hi Sandeep,
         Would you explain a little bit more your issue?
         i.e:
         This kind of messages are Sync Messages?
         Do you have more than one message in Interfaces Determination object?
         If multiple inbound interfaces are assigned by the interface determination, the messages are forwarded according to the quality of service Exactly Once in Order (EOIO) at runtime. This means that the order in which the inbound interfaces are entered in the interface determination determines the order in which the messages are received.
         You can change this default by deselecting the Maintain Order at Runtime checkbox. In this case, the quality of service Exactly Once (EO) is used to forward the message to the inbound interfaces.
    Regards,
    Luis Diego

  • Messages are in hold in the Adapter Engine

    Hi all,
      I am seeing in my adapter engine that all of the messages are in status hold , it is for  a specific business system and interface.
    2009-02-10 21:41:30 Success Message successfully put into the queue.
    2009-02-10 21:41:31 Success The message was successfully retrieved from the receive queue.
    2009-02-10 21:41:31 Success The message status set to HOLD.
    can anyone please help?
    Thanks in advance
    Sugata B

    Hi
    i ve got the same problem .
    I m using the message monitor in order to find the first message in error in this queue and so to be able to free the queue.
    My problem is how to detect these holding messages.
    As the error is in the Adapter Engine , you cant see it in sxmb_moni transaction
    In the message monitoring, you can check it manually.
    I need to have an automatic report of 'holding messages".
    I try to connect the Adapter engine alert to the ccms. The problem is that autoreaction alert arent possible in this case.
    Any body found the means to check directly in the database with sql-based command the status of message ?
    thanks for your help
    florent

  • Whenever I send a text from my iphone 5 my text messages are appearing on other apple devices in the household.

    Whenever I send a text from my iphone 5 my text messages are appearing on other apple devices in the household. ie Iphone 4 and Ipod.
    How do I stop this occurring.

    You'll have to deselect your phone number on the other devices in Settings/Messages/Receive at/
    Check this post about iMessage:
    iMessage on iPad and iPhone Explained and De-Mystified

  • 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

  • Message Archiving for the Adapter Engine

    Hi,
    we have configured archiving for Integration Engine (SXMB_MONI) messages on the Production XI System. is it necessary to configure Message Archiving for the Adapter Engine also ? in which scenarios archived adapter messages are useful ? are there any other advantages/disadvantages for this(in case of errored messages on the adapter engine) ? Please share any ideas.
    Thanks
    Pavan.

    >>is it necessary to configure Message Archiving for the Adapter Engine also
    Not necessary,but depends upon the scenario,lets say you are posting messages to external partner's FTP and there was some issue in connectivity due to which file was not delivered,in this case you need to send the message again.
    same thing can happen in inbound messages too.
    >>in which scenarios archived adapter messages are useful ?
    i would do this specifically for JDBC sender coz once you pick up the files based upon SQL query,you change the flag so that those values are not picked next time,in this case you can't re-run the old query and get same results.
    this also holds for proxies and file too.
    Thanx
    Aamir

  • 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 remove large message stuck in the adapter engine?

    Hi experts,
    We have a large message abt 100 MB stuck in the adapter engine which is causing the J2EE server to restart continuously.
    I have tried increasing the heap sizes and the number of threads in config tool, but no luck. My question here is how to remove that message? Also I checked smq1 and smq2 both are empty.
    Regards.

    Hi Nagasatya,
    This issue is realted to Large amount of data.You have to write condition in the query.I have face same issue,but resolved it.Please do the following steps.
    Go to Configtool and selct the com.sap.aii.adapter.jdbc.svc and set this jdbc service to start manually instead of auto.
    Then restart server0, this time it should be started successfully. Then go to rwb and try to
    find if any jdbc hanging/failed messages are there, if so, cancel them;also deactivate the problematic jdbc communication channel, otherwise itwill poll the data again. After all above, you can manually try to start this jdbc.svc particually.
    Thanks
    Ravi

  • 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

  • Getting error in the adapter engine when sending a message

    Hi,
    I'm always getting this error in the adapter engine: Message processing failed. Cause: com.sap.aii.messaging.util.URI$MalformedURIException: no scheme
    The comm channel ends up in error because of messages having the above error.
    Could someone please help?
    Thanks.
    Mike

    Mike.
    Please check this links.
    Check your adapter and restarted.
    com.sap.aii.messaging.util.URI$MalformedURIException: invalid port number
    Re: Prerequisites to setup configure mail scenario.
    error in communication channel
    Error :Receiver File Channel not Initialized

  • In which sequence are queries and sub-queries executed by the SQL Engine

    In which sequence are queries and sub-queries executed by the SQL Engine?
    Which is correct ?
    a. primary query -> sub query -> sub sub query and so on
    b. sub sub query -> sub query -> prime query
    c. the whole query is interpreted at one time
    d. there is no fixed sequence of interpretation, the query parser takes a decision on the fly

    In which sequence are queries and sub-queries executed by the SQL Engine?
    Which is correct ?
    a. primary query -> sub query -> sub sub query and so on
    b. sub sub query -> sub query -> prime query
    c. the whole query is interpreted at one time
    d. there is no fixed sequence of interpretation, the query parser takes a decision on the fly
    Hi, below may help you understanding simple subquery & correlated subquery
    refer :
    http://sqlmag.com/t-sql/t-sql-starters-simple-and-correlated-subqueries
    a) if it is correlated subquery
     A correlated subquery is one that depends on a value in the outer query. In programming terms, you pass the subroutine an argument, then the subroutine evaluates the query and returns a result. You move on to the next record and repeat the process. The
    net effect is that the subquery runs once for every row in the main query; this situation is inefficient.
                                  A possible alternative is to rewrite the correlated subquery as a join. However,
    some situations require a subquery. Eg- IN(with outer table refernce)
    so  main query -> subquery
    b) if it is simple subquery
    A subquery is a query that SQL Server must evaluate before it can process the main query, Eg- IN(with out outer table refernce)
    so subquery-> main query
    c) correlated query interpreted row by row with subquery, while subquery is interpreted at one time(outer table and inner table)
    d) in most case it depends on the whether it is correlated subquery or simple subquery
    Thanks
    Saravana Kumar C

  • Cancelling/Deleting messages in the adapter engine

    Hi Everyone:
    How can I cancel or delete a message in status 'system error' in my adapter engine.
    I do not want this message will be resent by mistake when the receiver comm chanel will be active.
    Thanks a lot guys.

    Alvaro,
    If the message is successfully processed then you cannot delete. If your message is in waiting or etc. then go through this weblog for much information:
    /people/sap.user72/blog/2005/11/29/xi-how-to-re-process-failed-xi-messages-automatically
    Hope this helps you...
    ---Satish

  • Messages are not actually being delivered.

    I only have this issue with a single friend. We send messages and they are labeled as delivered but we never receive the message. We get something like 2-3 out of 40-50 texts "sent"

    http://support.apple.com/kb/ts2755

Maybe you are looking for

  • Signature Field disappears??? %#%^#

    I am sure I am missing something simple, I just can't seem to get past it.... I have a form that has a single sub form which works fine, it is visible and invisible when it is supposed to be. The issue however is with the signature field. I can see t

  • Movie trailers on ipod touch

    Hello, new to the forum. I purchased an iPod touch on Sunday and am having a great time with it so far. It was easy enough to figure out how to sync apps, songs and movies. However, one issue I am having is I wanted to sync the movie trailer for Tran

  • Fact table size

    Hi Experts Iam working on implementation project, here already some cube are there is a sales, financials & Material Movements cube. Here Sales and financial cubes are customer define means start with u2018Zu2019. Here my doubt is how to know the fac

  • How to set up a master/detail Spry select

    Hello, I was trying to build a master/detail select using Spry following the example in the samples folder, but I didn't succed. I think I'm pretty close. I'm using two datasets from two diffrent xml files. The problem is that I don't know how to set

  • Test Error 4SNS/1/40000001:VMBS (Corrupt Video)

    While my Mac Pro was in an idle state (no active apps processing except for the screensaver), the video became corrupted. It looks like a patchwork quilt of short, colorful horizontal lines and blocks. On reboot, even the Apple splash screen has shor