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

Similar Messages

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

  • 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

  • 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

  • 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

  • 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

  • No adapter engine when Adapter type as File

    Hi,
    We do not see the adapter engine in the list when we choose adapter type as File. The adapter engine status is green in RWB. We do see the adapter engine when we choose the other adapter types.
    Thanks for your time.
    Steve

    Hi Steve,
    Which SP level of XI are you using?
    -Bhanu

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

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

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

  • Error when reading the access data for the Adapter Engine

    We are getting the following error in XI. It started on Jan 22 and resolved on Jan 23 automatically. Nothing has been changed and we don't able to understand how problem started and how it resolved:
    <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!--  Call Adapter
      -->
    - <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">
      <SAP:Category>XIServer</SAP:Category>
      <SAP:Code area="INTERNAL">AE_DETAILS_GET_ERROR</SAP:Code>
      <SAP:P1>af.xpd.dbcixpd</SAP:P1>
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText>3: Unable to find URL for Adapter Engine af.xpd.dbcixpd</SAP:AdditionalText>
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack>Error when reading the access data (URL, user, password) for the Adapter Engine af.xpd.dbcixpd</SAP:Stack>
      <SAP:Retry>N</SAP:Retry>
      </SAP:Error>
    Pls suggest if anyone has gone thru same problem.
    Regards
    Amar

    I got the same problem while using RFC lookup.
    <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!--  Call Adapter
      -->
    - <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">
      <SAP:Category>XIServer</SAP:Category>
      <SAP:Code area="INTERNAL">AE_DETAILS_GET_ERROR</SAP:Code>
      <SAP:P1>af.tx1.netweaver</SAP:P1>
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText>3: Unable to find URL for Adapter Engine af.tx1.netweaver</SAP:AdditionalText>
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack>Error when reading the access data (URL, user, password) for the Adapter Engine af.tx1.netweaver</SAP:Stack>
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>
    Any idea ,when we get this error usually.

  • 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

  • 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 get Payload of SOAP Message in Advance Adapter Engine

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

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

  • Messages Stuck in adapter engine but passing through Integration engine

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

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

  • Error while reading access data (URL, user, password) for the Adapter Engin

    Hi all,
    I encountered a red flag in sxmb_moni and when I click on the flag, I get the following message:
    Error while reading access data (URL, user, password) for the Adapter Engine
    Is there any way I can resolve this? thanks all
    Regards,
    IX

    Possible reason is Adapter engine is not registered on SLD. Check in SLD.
    You can also try restarting J2EE adapter engine and update SLD entries specific to XI domain.
    Lauch Visual admin go to Server > services > SAP AF CPA Cache
    Enter the appropriate values for:
    SLD.selfregistration.hostname (Use fully qualified hostname)
    SLD.selfregistration.httpPort
    SLD.selfregistration.httpsPort
    Finally, if all the above seem to be correct check the userID / pwd for user ID : PI*.

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

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

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

Maybe you are looking for