Hold messages in Adapter

Hi,
Can anyone suggest what to do with hold messages. My messages are not processing because of this.
I am using SOAP reciever adapter for Asynchrnous scenario with message split. When i look at the messages in adapter engine, It is whoing the same message id, And I could not able to delete them or cancel them.
I am using PI 7.0 SP 13. I have come across a note that problem with SP13 of XI 3.0, but not for PI 7.0.
Appreciate your suggestions.
Thanks,
Srinivas

Hi Srinivasa,
When is Status equal to HOLDING is when The state of an EOIO message that cannot be delivered until its predecessors have been delivered.
There is also a problem with SP level.
Check note 811864, maybe it might help you.
note 813993 indicates this is a bug fixed in SP11
note 816022 you find some trouble shooting for AE, maybe there is something in, that is interesting for you?
The link helps explain the problem http://help.sap.com/saphelp_nw04/helpdata/en/49/e3fb40ef74f823e10000000a155106/frameset.htm
Regenerated queues in SXMB_ADMIN should resolve the problem.
Regards
joel
Edited by: joel trinidade on Mar 19, 2009 10:11 AM

Similar Messages

  • Message status "Holding" - Message monitoring adapter framework

    Hello,
    We have some messages with the status "Holding" in a queue in the message monitoring in the adapter framework.
    Normally you have to restart the first message of that queue. The message with the status "system error". Unfortunately this message is not available anymore because it is older than 30 days and the retetion period is 30 days.
    I already read the blog about "[How to deal with stuck EOIO messages in the XI 3.0 Adapter Framework|http://www.sdn.sap.com/irj/scn/weblogs;jsessionid=(J2EE3417100)ID1887311350DB01819286872323159351End?blog=/pub/wlg/3566]"
    The blog does not mention what to do when the first message (sequential number) is not available anymore.
    Is it possible to restart the messages in the queue in that case?
    Thanks
    Kind regards
    Frank

    Unfortunately this message is not available anymore because it is older than 30 days and the retetion period is 30 days.
    I assume that the message was deleted.....in this case the next message in the queue will be blocking the queue....so try resending this message....even the blog mentions that you either solve the error or cancel the message....so now start from the second message....if possible solve the error for this message....if not possible to resolve then cancel it so that rest of the queue gets processed
    From the blog:
    Now the erroneous message is the first message in the display. You can look at the error reason, try to fix the problem and
    resend or cancel the message to release the queue.
    Regards,
    Abhishek.

  • 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

  • ** File to Mail through BPM - Holding Messages

    Hi Friends,
    We are running File to Mail scenario in our PRD server. We use BPM design to collect messages and grouping it send to mail id with XL attachments.
    Some of the messages are in Holding state i.e from the BPM to Mail adapter.  I have compared the successful messages payload similar to the holding messages payload. There is no difference. Both payload are correct.
    When I resend the holding message, it tries to resend and again going into holding state. I am not able to trace out the reason. Because, the 'To' address is same, body of the content is same (except value).
    Do I need to check anything in BPM side ?
    Can you help me to identify this problem.
    Kind regards,
    Jegathees P.

    Hi,
    Does the messages are gng to hold state in the Mail Adapter Receiver??
    If so nthng needs to be done in BPM..
    But instead u need to check the Mail adapter Receiver.....
    In message monitoring fr this interface and namespace please check if any previos messages are struk in queue..
    Check by changing the dates of previos also and delete them....
    Once u delete all the messages previos error status... now run end to end.. u will get all the mails...
    If still any prblm.. do post
    If any question you are closing, please do also post the resolution you found..... So that others can benifit from that
    and we can avoid repeated question
    Babu
    Edited by: hlbabu123 on Sep 28, 2010 4:54 PM
    Edited by: hlbabu123 on Sep 28, 2010 4:57 PM

  • Cannot resend messages in adapter engine

    Hi all,
    I encountered thousand messages in adapter engine yesterday with error category: XI_J2EE_ADAPTER_ENGINE, error code: JMS_TRANSMISSION_ERROR.
    First I checked the affected communication channel, and there was an error in MQ side. Also, our database crashed. But these issues were resolved already. Then I tried to resend the messages, but still it ended up in system error. As I looked in the log,
    MP: Exception caught with cause com.sap.aii.af.ra.ms.api.RecoverableException: Connector for ConnectionProfile of channel: JMS_--_Receiveron node: -having object id: - encountered error: MQJMS2007: failed to send message to MQ queue in sending to destination queue:///?targetClient=1, the message message: JMS Message class: jms_text  JMSType:         null  JMSDeliveryMode: 2  JMSExpiration:   0  JMSPriority:     4  JMSMessageID:    null  JMSTimestamp:    1193614619284  JMSCorrelationID:--
    Exception caught by adapter framework: Connector for ConnectionProfile of channel: JMS_----
    MP: Exception caught with cause com.sap.aii.af.ra.ms.api.RecoverableException: Pending message discovered: -
    .The channel is configured throw an recoverable, temporary error for this warning (default). Decide whether you want to bypass this message. If so, set the Pending Handling  channel parameter to 'Bypass' and restart the message afterwards.
    Exception caught by adapter framework: Pending message discovered: -
    .The channel is configured throw an recoverable, temporary error for this warning (default). Decide whether you want to bypass this message. If so, set the Pending Handling  channel parameter to 'Bypass' and restart the message afterwards.
    Every time I tried to resend the message, it ended up in error stated above. But there are successful messages today which means that the communication channel is working fine.
    How can I resend the messages stucked in the adapter engine? Hope someone can help me.
    Thanks a lot in advance.

    May be when u tried to send the message some of the message got stuck in AE due to some Error.
    As I no the message can stuck in AE when....Target Systems is down, Test data is not valid for receiver..then few of the messages goes in System Error and later message come in waiting/Holding/To be Delieverd state...
    Check all the messages that has in System Error status...
    Thanks
    Farooq.

  • How to see old successfully delivered messages in Adapter Engine

    We are unable to see the messages that were successfully delivered  by Adapter Engine more than a day.Ho do we see old successfully delivered messages by Adapter Engine.We are only able to see the messages that were 1 day old.We are using PI 7.1.
    We are able to see the older messages in Integration Engine as per the config  in sxmb_adm.
    Any Help greatly appreciated.
    Thanks,
    Aravind

    Only message that contain error,holding,not delivered are getting persisted not the sucessfully delivered ones.
    Is there any Archiving scheduled for your Adapter Engine?
    I want to see the old messages that were delivered sucessfully
    In Message Monitoring Itself select Archive (instaed of Database) and make a search.....if archiving is scheduled then you should be able to see the messages by this option.
    Regards,
    Abhishek.

  • CPALookupException while sending a Test message to Adapter engine

    Hello Experts,
    I am getting following exception while sending a test message to Adapter engine through Runtime Workbench.
    Error while sending message: com.sap.engine.interfaces.messaging.api.exception.ConfigException: ConfigException in XI protocol handler. Failed to determine a receiver agreement for the given message. Root cause: com.sap.aii.af.service.cpa.impl.exception.CPALookupException: Couldn't retrieve outbound binding for the given P/S/A values: FP=<Configured Party>;TP=;FS=<Configured Communication component>;TS=;AN=<Configured Outbound Interface>;ANS=<Configured Namespace>
    This scenario works fine when I submits the message through Integration engine. So ID configuration is perfect. Also cache contents are upto date.
    Thanks in advance.
    Regards
    Rajeev

    Error is clearly saying that it is unable to find receiver agreement for that particular interface.
    Please check your receiver agreement for the interface.
    If your receiver agreement is fine then do CPA cache refresh using following URL:-
    http://<host>:<port>/CPACache/refresh?mode=full

  • Automatic restart of Error-Message in Adapter-Engine (Job?)

    Hi,
    we are working on PI 7.11 and facing following problem:
    Often in message-monitoring error-messages are forgotten because of wrong date-selections by the monitorer (not enough days back). It would be very nice, if there is a function witch is repeating error-messages in adapter-engine automaticly and witch can be scheduled.
    Does anybody know something about an excisting program / function on PI?
    Regards
    Jürg

    Hi,
         By default if any failure occurs in adapter engine (in case of receiver,during delivery to target system)
    it will retry 3 times after a period interval of 5 minutes..this is by default even this can be change if needed with the help of the proeprties at NWA/VA...
    but in case of failures at IE level (mappings,...) then you need to schedule the report RSXMB_RESTART_MESSAGES....
    search SDN if like to know more about the reports...
    HTH
    Rajesh

  • Archiving message in Adapter Engine in XI 3.0

    Dear all,
    Could you please explain the procedure of Archiving Messages in Adapter Engine in XI 3.0.
    I have read many blogs regarding deleting messages in Adapter Engine, but nowhere i can see about Archiving.
    I have been told that activating and scheduling "Default Version Archive Job" in RWB->Components->Adapter Engine->Background Processing would solve the purpose.
    But while activating, i am unale to set rules, as it gives error " Rules are not allowed for jobs with set 'archive edited messages only' flag."
    Thanks and regards

    Hi,
    Please check the [link|http://www.****************/Tutorials/XI/Archiving/Index.htm]
    Also check this
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/402fae48-0601-0010-3088-85c46a236f50?quicklink=index&overridelayout=true
    http://wiki.sdn.sap.com/wiki/pages/viewpage.action?pageId=147266890
    Regards,
    Naveen.

  • PI 7.1 - Message Monitoring - Adapter Engine (Database Overview)

    Hi Friends,
    In Message Monitoring --> Adapter Engine --> Database (Overview) is not working. It throws the following error message.
    no_connection Exception Message: RemoteException in Method: CentralViewManager: getIProfiles( IApplication, boolean ). Communication-related failure. Message: java.rmi.RemoteException: Service call exception; nested exception is: com.sap.engine.services.webservices.jaxrpc.wsdl2java.ClientProtocolException: An error occured while reading data from the destination sap.com/com.sap.aii.af.service.profile.proxy/com.sap.aii.af.service.statistic.proxy.ProfileProcessor/basicPort_Document. The error was: com.sap.security.core.server.destinations.api.DestinationException An error occurred while reading the destination sap.com/com.sap.aii.af.service.profile.proxy/com.sap.aii.af.service.statistic.proxy.ProfileProcessor/basicPort_Document, type WebService. The error was Internal error during the decryption process...
    But, Adapter Engine --> Database option is working. What could be the problem ?
    Kindly clarify, friends.
    Kind regards,
    Jegathees P.

    Hello friend,
    May be it is related with connection problem check with your basis people .
    Regards,
    Ravi.

  • Audit message in adapter module

    hi all
    I have developed a adapter module, in which I write some audit message. If the message is processed successfully, then I can see the audit message in RWB. But when some errors happen and some exceptions are thrown, I cannot see any audit message in RWB, what's more , I even cannot find the message in the adapter message monitoring. That means the message is lost. The only informaiton I can get is from the communication channel monitoring:
    <i>exception caught during processing mail message [4]com.sap.aii.af.mp.processor.ModuleProcessorException: Error during processing local bean: localejbs/PgpMsg caused by: com.sap.engine.services.ejb.exceptions.BaseEJBException: Exception in method process.</i>
    the SP level of XI is 18.
    Any idea?
    Thanks!
    Regards,
    Hui

    Hi Rajeev,
    That's what I do. My catch statement is as follow:
    catch(Exception e) {
    Audit.addAuditLogEntry(
                        amk,
                        AuditLogStatus.ERROR,
                         "Error while message processing----"
                        + e.getMessage());
    throw new ModuleException(e);
    I except that when an Exception is caught, it writes a audit log and throw a ModuleException. The message should be in error state and be resent several times automatically. But the current situation is: I cannot find the message in adapter message monitoring and the whole message is lost. The only information I can get is from the communication channel monitoring.

  • Unable to cancel messages in adapter engine

    Hello,
    We have implemented an interface with file connector. Since one week, all messages are hanged in the adapter engine with status TO BE DELIVERED.
    I tried to cancel but the folowing error message appears :
    Could not fail message. Reason: com.sap.engine.interfaces.messaging.api.exception.MessagingException: Could not fail message 0013211d-2dc8-1def-a8a4-938b4635c3af(INBOUND), as triggered by admin action. Reason: Predecessor not in final state.
    This interface is a proxy from ECC6-->csv file and i can't see the corresponding messaging in any queues SMQ1..
    They are only available in the RWB/message monitoring/adapter engine
    Can you tell me how to process these messages or cancel ?
    Regards

    Hi
        Messages will go in to the state Tobe delivered if there are no threads available for the particular adapter.. and lack of threads is due to the state of the messages in DLNG...
    Check the messages which are in DLNG and the reason behing long time for processing the same..(can be restart of the target system...)
    if you get the error saying predecessor is not in final state...
    for this you need to check the parent message in the queue which is causing this. this can be done using messaging system url
    http://host:port/MessagingSystem/
    go here and check the tab EOIO message ..... and there check the messages which are blocked and check the queue names if need to find the paticular queue..and reprocess if the error occured can be rectified...
    HTH
    Rajesh

  • Message in adapter engine

    Hi all,
    We monitor messages in adapter engine through RWB.
    Can anyone tell me where these messages are stored?

    hi,
    it has the misconception that RWB uses the same data base as of sxmb_moni.
    but this is not true. actually RWB has a java componenet and IE is  a abap componenet.
    RWB getting tha data from SXMB_MONI  db(abap table) through the jrfc call and storing it into the XI_AF_MSG table. this can be verified because, when u try to fatch payload for the sych message in RWB ,it is showing payload is deleted to save memory . but the same message with the payload can be displayed at SXMB_MONI .but  for this u need to set the retention period at sxmb_adm---intigration engine configuration.by default value for this is 0 days.please have a look of below link.
    https://www.sdn.sap.com/irj/scn/wiki?path=/display/xi/xi%252btables
    the XI_AF_MSG_AUDIT  table stored the detail of all the audit log.thats why the no of entrieds in this table is more than XI_AF_MSG table.
    now Q is how to access these DB.
    these DB can be access through the DB tool say SQLplus.
    to get the total no of entries byststus u can use the fllowing query.
    select status, count(1) as
    current_number from sap[sid]db.xi_af_msg
    group by status;
    regards,
    navneet

  • SOAP messages not visible in RWB - Message Monitoring - Adapter Engine

    Hi,
    following scenario:
    ERP is sending IDocs to PI.
    Within PI an integration process sends the IDoc data through a SOAP (WS) receiver channel to a system far far away.
    In RWB -> Communication Channel Monitoring I can see all delivered messages selecting my SOAP channel.
    But:
    I can´t see the SOAP messages in RWB -> Message Monitoring -> Messages of Adapter Engine.
    In RWB -> Message Monitoring -> Messages of Integration Engine I only see SOAP messages with status "Error".
    Successful column is empty.
    Do I have to adjust some system / monitoring parameters also seeing SOAP messages in RWB->Message Monitoring?
    Thanks in advance,
    André

    Hi Ravi,
    thanks.
    But there are thousands of successful messages delivered to the receiver.
    These successful messages can only be seen in the Channel Monitoring.
    I can´t find these successful messages in Message Monitoring.
    Only some with status "Error" are displayed.
    Strange...
    Cheers,
    André

  • Messages from Adapter framework  to IS disappear

    During processing of interfaces, it happens some times that the sending of messages from Adapter Framework to Integration Server is broken but no status message is traced. Before this break, the messages’ state is correctly visible on integration server (SXMB_MONI), after that, messages are no more contained in persistence layer of the adapter framework or of the integration server. So it’s very difficult to know which messages have been processed, and for this reason there is a great effort for application/functional team to reprocess interfaces’ file.
    After the last succesfully processed message, there are a lot of log messages on application and default trace of this type:
    for location com.sap.aii.adapter.file.File2XI.processFileList():
    Module Exception 'com.sap.aii.af.mp.module.ModuleException: senderChannel 'd902100e953f3e15b0e04b3caf9dc415': Catching exception calling messaging system' found, cause: com.sap.aii.af.ra.ms.api.ConfigException: Some of the IS access information is not available. SLDAcess property may be set to true, but SLD is not available.
    Channel CC_File_OUT02_1058: Sending file failed with com.sap.aii.af.ra.ms.api.ConfigException: Some of the IS access information is not available. SLDAcess property may be set to true, but SLD is not available. - continue processing
    Delivery Exception for guid'87b54890-ae37-11da-c751-001125a5fff4' - non recoverable error, retry anyway
    For location com.sap.aii.adapter.file.File2XI.addAuditLog( ... ssageKey, AuditLogStatus, String, String,Object[]):
    FILE_ERR_211
    This behavior is independent of interface type and happens randomly (about 2-3 times a week).
    We try, without success, to implement a workaround setting SLDaccess parameter to false for AF CPA cache service and specifying the xiadapter.isconfig.<parameters> for adapter service. With this configuration File Adapter didn’t work and CPA cache didn’t contain any comunicaton channels. Maybe we have to set the correct value of parameter directoryURL (which it is?).
    Thank a lot in advance
    Danilo Vaccarella

    Thank you for your suggestion, but nothing seems to be wrong in configuration (however I'm contuining my checks). In the meantime, are there other suggestions?
    Hi
    Danilo

Maybe you are looking for