Messages are not moving to Error Queue in OSB if Error is Raised

Hi All,
My OSB process is as below.
Queue1-->OSB-->Queue2.
OSB Proxy is listening to the Queue1.When messages comes to Queue1 Proxy will pick the message and after applying the business logic it will put the message to Queue2.
If OSB is not able to deliver the message succesfully to Queue2 then it should retry for 2 times.If retry exhausted then the message should move to the error Queue.
I have configured Queue 1 with delivery failure paramaters redelivery limit and redelivery delay.Also the Connection factory is XA enabled.Even if any error happens (i am not using reply activity in the error handler) its retrying infinitely and messages are not coming to the error Queue.If i use reply activity its not retrying its failing at first time and the message is moved out of the main Queue1.
Can any one please help me on this?
Thanks.
Edited by: 892479 on Dec 21, 2011 6:31 AM

Since the messages are getting retried, it means that messages are getting rolled back to Queue1 when any errors happen. So transactional behavior is configured correctly.
Now the problem yu face is that the messages are not moving to error queue.
Make sure that you have configured following in the delivery failure tab of the queue>
Redelivery Delay Override - delay in miliseconds between retries
Redelivery Limit - number of retries
Expiration Policy - Redirect
Error Destination - Choose the error queue here
After that make sure that the Server is restarted, even though a server restart sign is not mentioned on the config page, some of these settings might not take effect without a restart.

Similar Messages

  • Hi, I am new to Mac and i managed to install and configure all the services. Now my issue is when i sending mail using the local server to internal, mail are not receiving. Mail queue showing Connection refused error. Please help me

    I am new to Mac and i managed to install and configure all the services. Now my issue is when i sending mail using the local server to internal, mails are not receiving. Mail queue showing Connection refused error. Please help me
    Thanks
    GIRI

    Try this -> http://support.apple.com/kb/TA38632?viewlocale=en_US

  • Messages are not dequeing from the Queue

    I am using Oracle Advanced Queueing.
    PL/SQL API for enqueue
    JMS API for Dequeue Messages asynchronously (register listener and using onMessage())
    It is multi consumer queue.
    The program used to work fine. Now, it has stopped. Now, we can enqueue as
    many messages as we want. The subscriber does not recieve any messages. BUT,
    once we disconnect subscriber and connect again, the subscriber gets all the
    messages in the queue. You can repeat this N times.
    I sent this java program and sql scripts to Oracle support and they ran it successfully in their environment. So it appears to be some weird environment problem.
    Question:
    Did anybody have problem like this?
    Does anybody have any ideas about what to check in Oracle/Java client environment?
    We use Java SDK 1.2.2, thin JDBC drive and Oracle 8.1.7
    Thanks for reading this message.
    Vlad.
    null

    EMON is running:
    oracle 1105 1 0 Apr 28 ? 0:03 ora_emn0_wmdev
    And there are two trace files, but nothing interesting inside (they don't change when I run java client):
    -rw-r--r-- 1 oracle dba 107 May 2 18:01 PLSExtProc_agt_5404.trc
    -rw-r--r-- 1 oracle dba 107 May 2 18:06 PLSExtProc_agt_7021.trc
    PLSExtProc_agt_5404.trc
    Remote HO Agent received unexpected RPC disconnect
    status 1003: ncrorpi_recv_procid, called from horg.c
    PLSExtProc_agt_7021.trc
    Remote HO Agent received unexpected RPC disconnect
    status 1003: ncrorpi_recv_procid, called from horg.c
    null

  • Messages are not moving from PI

    Hello Friends,
    I am working on a RFC to SOAP (sync) scenario.
    In sender RFC addapter I have maintened the Progarm ID,Application server & services correctly.
    When I trigger RFC from R/3 side the message comes to PI but it is not reaching to target system.
    I have checked RFC adapter in communication channel then it is showing error "SOAP: response message contains an error XIAdapter/HTTP/ADAPTER.HTTP_EXCEPTION - HTTP 500 Internal Server Error".
    I have tested the same scenario through run time workbench and I am getting the response successfully.
    Can anybody help me to overcome with this problem.
    Regards,
    Jayesh.

    Yes the server have access to WS.
    I checked audit log. It is showing
    2011-06-08 15:37:07 Error SOAP: response message contains an error XIAdapter/HTTP/ADAPTER.HTTP_EXCEPTION - HTTP 500 Internal Server Error
    2011-06-08 15:37:07 Success SOAP: sent a delivery error ack
    2011-06-08 15:37:07 Error MP: Exception caught with cause com.sap.aii.af.ra.ms.api.RecoverableException: SOAP: response message contains an error XIAdapter/HTTP/ADAPTER.HTTP_EXCEPTION - HTTP 500 Internal Server Error
    2011-06-08 15:37:07 Success SOAP: sending a delivery error ack ...
    2011-06-08 15:37:07 Error Exception caught by adapter framework: SOAP: response message contains an error XIAdapter/HTTP/ADAPTER.HTTP_EXCEPTION - HTTP 500 Internal Server Error
    2011-06-08 15:37:07 Error Delivery of the message to the application using connection SOAP_http://sap.com/xi/XI/System failed, due to: com.sap.aii.af.ra.ms.api.RecoverableException: SOAP: response message contains an error XIAdapter/HTTP/ADAPTER.HTTP_EXCEPTION - HTTP 500 Internal Server Error.
    2011-06-08 15:37:07 Success The message status set to WAIT.
    2011-06-08 15:37:07 Success The asynchronous message was successfully scheduled to be delivered at Wed Jun 08 15:42:07 IST 2011 .
    But in SXI_Monitor it is showing success.
    Regards,
    Jayesh.

  • JSF: Error Message are not getting cleared

    Hi,
    I am facing some problem with error messages in JSF.
    Here is what I am doing
    1. User submits a form, server validates and sends back the error to the client error message added to Faces Context.
    2. User checks the messages, changes the input and submits. assuming everything is correct now.
    3. On server, it validates and writes data to response for download using the following code.
    FacesContext faces = FacesContext.getCurrentInstance();
        HttpServletResponse response = (HttpServletResponse)faces.getExternalContext().getResponse();
        DownloadResponse.sendDownload( response, is, fileName );
        faces.responseComplete();
      }4. It shows the download popup to download the file. The problem here is that error message are not getting cleared off. User can still see the error message on the screen.
    It seems I am missing something in JSF req-response life cycle. Anyone please point out the mistake.

    SudhirMongia wrote:
    4. It shows the download popup to download the file. The problem here is that error message are not getting cleared off. User can still see the error message on the screen. Wrong. The problem is that the view is not rerendered, which makes sense because you are not sending view content to the browser but your file.
    Your real question probably is: how do I cause a file download and still rerender the view afterwards to show the results? To that I myself do not have the answer unfortunately, but I have seen that question come by a few times already, so doing some searches in these forums may yield you an answer.

  • LSO_CHECK_BOOKING custom error messages are not displayed

    Hi,
    Good day! I am currently experiencing some problems displaying custom error messages from BADI LSO_CHECK_BOOKING. I have implemented this Badi and is appending error messages in CT_MESSAGE_TAB however when the message is displayed in portal, the custom message is not displayed. Instead, SAP displays a predefined error "Error When Creating Prebooking with the data entered..."
    Is there a way for me to display my custom error message instead of the predefined SAP message?
    Thanks a lot.
    Cheers,
    James

    Hi James,
    You have not mentioned, which portal you are using. Please see below, that there are differences in the learning and the admin portal:
    Learning Portal:
    The framework of the existing design of the Learning Portal does not
    allow customer specific error messages to be displayed in the portal.
    Only a generic message will be displayed when prebooking in the learning
    portal if the BADI LSO_CHECK_BOOKING returns an error. The design of the
    application does not expect to raise an exception from the BADI. If the
    BADI processing is assumed to be unsuccessful, the messages filled by
    the BADI will be ignored and a general error message will be displayed
    in the portal.
    So this is basically a design limitation.
    Administrator Portal:
    Have you tried e.g. the following notes?
    SAP Note 1806593 Admin Portal: Message is not displayed while prebooking
    SAP Note 1575238 LSO: BADI LSO_CHECK_BOOKING does not show warning messages
    Regards,
    Agnes

  • Error messages are not posted into ECH using collect method

    In asynchronous interface, Error messages are not posted into tcode:ECH_MONI_SEL using collect method.
    In the collect method, passing software component version,business process and error messages.but its not posted into ech and ppo.

    Hi,
    Have you created the FEH class for the proxy. In that, from within the PROCESS method, when there is an error you will be placing those errors into a table and this needs to be passed to the COLLECT method.
    CALL METHOD i_ref_registration->collect
       EXPORTING
         i_single_bo      = input
         i_component      = 'ZSWC'   "Software component defined while FEH customisation
         i_process        = 'ECH_BP'  "ECH Business process defined while FEH customisation
         i_error_category = lc_errcat
         i_main_message   = wa_error
         i_messages       = lt_error
         i_main_object    = wa_object.
    Here while populating the wa_object, the  objtype field should be populated with the object type defined while FEH customization.
    If all these things are done, then this should post the error.
    Regards,
    Abijith

  • Mail 3, smtp, IMAP: sent messages are not saved on server

    Hello,
    I had problems using Mail 3 after I upgraded to Leopard, so I used Thunderbird for the time being. With the update 10.5.1 I tried again: most problems solved BUT: sent messages are not saved on the server in mailbox "Sent".
    Some background: I deleted the folder "<User>/Library/Mail" and "<User>/Library/Preferences/com.apple.mail.plist" and configured Mail from scratch.
    To be sure: I still have Thunderbird installed, and when I send with Thunderbird: a copy is placed in "Sent".
    Another thing I noticed: it takes more than a minute to send from Mail 3 and a few seconds when I send from Thunderbird. I have another Macbook Pro with 10.5.0 installed: same problem with sending.
    Any help is appreciated.
    rene

    Well, be stumped I did all that, but to be sure, I did it again:
    I have a lot folders with subfolders and they are shown under my account name.
    I created a new folder "test" in my IMAP account and designated it to be the new "Sent" folder. It replaces my previous Sent folder in the group Inbox, Drafts, Trash. My previous Sent folder now appears under my account name as a "normal" folder.
    I send a message and the Activity monitor says: +"Delivering message: copying message"+. After a minute Mail is done. I check my (new) "Sent" folder and it's empty. I double check in webmail: it's empty.
    So I go to the Finder and look in my IMAP folder: <user>/Library/Mail/<IMAP-account>/test.imapmbox and there is no folder "Messages", only Info.plist.
    Then I try to move a message to the "Sent' folder: for a minute the Activity moinor says: Copying messages: copying message" and then Mail prompts: +"The message "testing" could not be+
    +The connection to the server mail.hicetnunc.nl on port 143 timed out"+.
    So it looks like Mail has a problem with the default "Sent" folder: it cannot copy messages to that folder at all! Aha!
    But then I try to move a message to a "normal" IMAP folder: same thing! Mail cannot copy to any folder!
    In both instances Mail says: +"The message "..." could not be be moved to the mailbox "..."+
    +The connection to the server mail.hicetnunc.nl on port 143 timed out"+
    Last thing: I try to move a message to a folder in the same account again. But in the process I quit Mail. I open Mail again and Mail is performing pending operations: copying message. After a while Mail prompts: +"Operation could not be completed. (MFMessageErrorDomain error 1028.)"+ and crashes... I open Mail again and it tries to peform pending operations. Again: an error message and Mail crashes. This keeps going on so I delete the whole account and set it up again. Nothing's changed...
    I can receive and send, but sent messages are not copied to the "Sent" folder and I cannot move messages around within a IMAP account. But TADA!!!: I can move messages from account to account.

  • My outbound messages are not processing in XI

    Hi All,
    When i try to test my scenario i.e sending message from SRM to MDM , all my messages are struck in the Queue in XI. Even i deleted queues in SMQ2 , my messages are not processing and in sceduled for outbound processing stage. Even i restard also its on pending status. Please help me How to process my messages which is pending in XI.
    Thanks in advance
    Regards,
    KK

    Hi..
    go to sxmb_moni->monitor processed messages
    select ur message.. scroll towards right..
    click on ur message queue ID.
    check if there is any errored out message in that queue.
    if yes .. delete that message,
    and release the queue by unlocking that.
    Regards
    Pushkar

  • Cisco 5.0 "Your messages are not available now" after exchange 2010 and DC migration to a new host

    Guys,
    First of all, thanks for looking at this post. Hopefully you guys can help me out. My unity users, when dialing into voicemail are getting the message "Your messages are not available now".
    Services in error state under the event viewer:
    Event Type:    Error
    Event Source:    CSAgent
    Event Category:    Kernel Rule 
    Event ID:    256
    Date:        7/29/2014
    Time:        11:42:41 AM
    User:        N/A
    Computer:    UNITY
    Description:
    A packet with a bad transport layer header was detected. Reason: Illegal TCP reserved flags set using interface Wired\HP NC324i PCIe Dual Port Gigabit Server Adapter. TCP: 00.000.00.000/443->00.00.0.00/1241, flags 0x10. The operation was denied.
    Event Type:    Error
    Event Source:    CiscoUnity_MALEx
    Event Category:    Error 
    Event ID:    30012
    Date:        7/29/2014
    Time:        11:44:27 AM
    User:        N/A
    Computer:    UNITY
    Description:
    An occurred which prevents successful Exchange access by CsBMsgConnector via MAPI.
    This is typically an indication of configuration issues with Unity, Exchange, or the MAPI subsystem.
    Verify that the Unity services accounts are granted the correct permissions and that there are no issues with installation.  The SysCheck utility may assist in diagnosing the problem.
    Event Type:    Error
    Event Source:    CiscoUnity_Doh
    Event Category:    Error 
    Event ID:    32013
    Date:        7/29/2014
    Time:        11:44:27 AM
    User:        N/A
    Computer:    UNITY
    Description:
    Doh logon failed due to messaging component logon error: 8004052eH
    I found and followed to the letter:
    http://www.cisco.com/c/en/us/support/docs/voice-unified-communications/unity/107323-unity-error.html
    I also went ahead and ran GUSI with some mixed results under environment information:
    SQL Version = Microsoft SQL Server  2000 - 8.00.2282: unknown SP
         SQL Edition = Desktop Engine
         Windows version =  5.2 Build 3790: Service Pack 2
         Outlook is not installed on the local server
         MAPI Provider : CDO Version - 6.5.8211.0
         MAPI Shared Memory: (HKLM:SOFTWARE\Microsoft\Windows Messaging Subsystem\Applications\<process>\SharedMemMaxSize)
                AvCsMgr : is set to recommended value
                AvMsgStoreMonitorSvr : RegKey not found.  Recommend add the key AvMsgStoreMonitorSvr and set DWORD SharedMemMaxSize with a value of 4194304 (decimal)
                AvNotifierMgr : RegKey not found.  Recommend add the key AvNotifierMgr and set DWORD SharedMemMaxSize with a value of 4194304 (decimal)
                AvUMRSyncSvr : is set to recommended value
                CsBMsgConnector : RegKey not found.  Recommend add the key CsBMsgConnector and set DWORD SharedMemMaxSize with a value of 4194304 (decimal)
                CsBridgeConnector : RegKey not found.  Recommend add the key CsBridgeConnector and set DWORD SharedMemMaxSize with a value of 4194304 (decimal)
                CsVpimConnector : RegKey not found.  Recommend add the key CsVpimConnector and set DWORD SharedMemMaxSize with a value of 4194304 (decimal)
             TCPChimney : Disabled
             RSS : Disabled
             *Pulled from UnityDB Configuration Table*
             ExcludeAllReceipts : 0
             ExcludeReturnReceipts : 0
             DisableSearchFolderUse : 0
             MinSearchFolderLifeHours : 1
             OptimizeSearchFolderUse : 0
    I tried following and deleting the Unity System Profile:
    https://supportforums.cisco.com/discussion/11249996/unity-501-exchange-2010-unable-logon-mapi-mailbox
    But I am still scratching my head. Any direction will be appreciated.

    Turns out that unity came back after all this. Maybe it just needed time. I think I answered my own question.  Anyways, this post could serve for future reference. 

  • Warning messages are not displayed in confirmation

    Hi,
    We are working with SRM 5.0 classic scenario. Our issue is warning messages are not displayed whenever we press the CONFIRM or DELETE button in the confirmation, however warning messages are displayed if we press CHECK button in the confirmation.
    Please suggest the solution to display the warning messages while clicking CONFIRM or DELETE button in the confirmation.
    Thank you
    Natarajan

    Hi Muthu,
    Thanks for your reply. We raised the OSS message for this issue. As per  the standard system behaviour, warning messages will not be diplayed when " DLETETE" button pressed.
    In the DELETE mode, the system will display only the first EXPRESS
    ERROR message and not WARNING messages.
    Inorder to maintain an error message as EXPRESS, the FIELD_NAME
    (i.e ls_message-field_name) has to be assigned with the value
    EXPRESS.
    For example,
    ls_message-msgty = 'E'.
    ls_message-msgid = 'ZF'.
    ls_message-msgno = '000'.
    ls_message-field_name = 'EXPRESS'
    Kindly note that in the DELETE mode, the system does not display
    EXPRESS message with msgty = 'W'.
    Only EXPRESS message with msgty = 'E' is recognised and displayed.
    The Warning messages will be displayed only during the CHECK mode.
    Thank You
    Natarajan

  • You are not authorized to logon to the target system (error code 1)

    Dear Expert,
    I met some problems that 'You are not authorized to logon to the target system (error code 1)' when I tried to do the auth. testing for RFC SM_CLNT<SID>_TRUSTED in satellite system.
    Following SAP note 128447, I recreated the RFCs in SMSY in solution manager for satellite system using existing user.
    It was still error ''You are not authorized to logon to the target system (error code 1)'.
    In SMSY in solman, I checked the RFCs connection which I recreated using RFC wizard, they are ok(green).
    I have already maintain the auth. obj S_RFCACL for user who is running this.
    So, I am confused what authorization I did not maintain in user? Please help me out!
    Thanks a lot!
    Br,
    Lucy
    Edited by: lucy YANG on Mar 19, 2011 6:59 AM
    Edited by: lucy YANG on Mar 19, 2011 7:01 AM

    Hello Lucy,
    The error is pretty clear that the calling system is not a trusted system so I don't think you should bother with an authorization trace at this time, because authorizations is not quite the issue. The calling system is NOT a trusted system, authorizations or not.
    Please refer to SAP Note 128447 Trusted/Trusting systems
    The error is listed there:
    Authorization errors that occur when using an RFC destination for which
    the 'Trusted Systems' indicator is set are documented with the following
    message:
    "No authorization to log on as a trusted system (Trusted RC = #)."
    In this case, the trusted return code # (# = 0, 1, 2, 3) has the
    following relevance:
    1   The calling system is not a trusted system, or the
         security key for the system is invalid.
         Solution: Recreate the trusted system (see
         documentation).
    These are the links the Note provides for the documentation:
    [http://help.sap.com
    /saphelp_nw04/helpdata/en/22/042671488911d189490000e829fbbd/frameset.htm
    ] in accordance with the documentation
    [http://help.sap.com/
    saphelp_nw04/helpdata/en/8b/0010519daef443ab06d38d7ade26f4/content.htm].
    The Note states to recreate the Trusted system according to the Documentation (links above)
    This is all in the Note. Please follow the Note to reslve this known error.
    Regards,
    Paul

  • Problem in ABAP Proxy(sometimes XML Messages are not being created)

    Hi,
    I am trying to send the data from ECC to CRM when post goods issue is done for a delivery from ECC side. I called my proxy method in BADI : DELIVERY_PUBLISH.
    And after calling the method, I used commit work also.
    But the problem is, some times it is working fine. and some times the XML messages are not getting created. When I go in debug, looks everything is fine.
    I am unable to understand why this inconsistency.
    Could you please help me out, do I need to take any more precautions.
    Thanks,
    Sandeep

    You mean you can't find any message in SXMB_MONI of your ECC or is it XI where you can't see message?
    If you have not checked in SXMB_MONI of ECC then may be messages are created but they are going into error and that's why you are not able to see any message in XI.

  • PI 7.1 XML messages are not getting archived.

    Hi Experts,
    Currently I am wotking with PI 7.1. I am trying to archive PI messages from PI Production server,and also maintianed the following parameters in SXMB_ADM.
    ARCHIVE PERSIST_DURATION ASYNC 1 1
    DELETION PERSIST_DURATION ASYNC 1 1
    DELETION PERSIST_DURATION HISTORY 7 30
    DELETION PERSIST_DURATION SYNC 2 0
    DELETION PERSIST_DURATION_ERROR SYNC 3 1
    Retention period
    Retention Period for Asynchronous XML message in the Database
    XML Messages Without Errors Awaiting Deletion 1
    XML Messages Without Errors Awaiting Archiving 1
    Retention Period for Synchronous XML message in the Database
    XML Messages with Errors Awaiting Deletion 3
    XML Messages Without Errors Awaiting Deletion 2
    Retention Period for History Entries in the Database
    History Entries for Deleted XML Messages 7
    Messages are not getting archived.
    When I execute the report "RSXMB_SHOW_REORG_STATUS"
    I am geting the following output.
    Msgs not in retention period (can be archived):            0
    Msgs in retention period (cannot be archived):           88
    Kindly suggest me what changes can be done so that PI messages will get archived from PI production server.
    Regards
    Naveen

    Hi,
    Please refer this thread.
    [Deleting XML messages, database growing|Deleting XML messages, database growing]
    Suresh

  • We are Not able to Add, approved A/P invoice - Error - Tax code Missing

    Dear Experts,
    In A/P -> A/P service Invoice
    When We are going to Add Approved Invoice ,system can not allow . This
    invoice is go through a approval process ,system can not allow to change any
    of document row during approval process or after approval process.
    we are unable to add tax or remove line item after approval.
    We are Not able to Add, approved A/P invoice - Error - Tax code Missing
    [A/p Invoice Row -Tax code] Line 3 [Message 3513-14]
    I think ,It should allow the system to edit the row tax or amount after or during
    approval process

    Don't worry,AP invoice is not get posted,it will be saved as draft only,
    Default tax code for purchase documents using tax code determination.
    Create new ap invoice with tax code and send it for approval.
    Orginator should ensure all mandatory fields in document are entered correctly before
    sending it for approval.

Maybe you are looking for