Messages waiting indefinetely in queue -- how to purge

Hi All,
I have around 900 messages in the outbound queue waiting in the past 2 days .
Is there any way to purge sceduled messages in the Queue (SMQ1,SMQ2)?
My messages are indefinetely growing in the message queue without processing. I understand I need to configure a background job for that.
Which transaction code should i use to schedule Backgound job for Messages ( not BPM) ?
Is there any way I can purge these messages from the queue before they get processed by XI?
if yes please let me know the way.
Because of this a scenario I run today is scheduled in the queue after 3 days and my receiver is unable to get the message.
Regards,
Meher

Hi All,
Thanks All for helping me.
Initiated a search for all the messages waiting on all the Queues.
Status of all the messages shows : <b>To Be Delivered</b>
Messages were processed successfully till some date. we have a system down after that.
From then on messages are not being processed.
Am I missing in the job configuration for the Queues.
Queue status is displayed as Ready ( no errors)
Regards,
Meher
This is not a production environment.

Similar Messages

  • Messages waiting in the queue for long time.

    Hi Experts,
    We are having some Production issue - messages were waiting in the queue for long time and we found the errors in defaultTrace.12.trc file -
    Please help how to solve this issue its production and we need to move forward and solve this issue asap.
    XI AF API call failed. Module exception: (No information available). Cause Ex
    ception: 'JDBC Adapter configuration not initialized: null'.
    Thrown:
    com.sap.aii.af.service.api.AFException: XI AF API call failed. Module exception: (No information available). Cause Exception: 'JDBC Adapter configuration not
    initialized: null'.
            at com.sap.aii.af.service.api.AdapterAccess.sendMsg(AdapterAccess.java:214)
            at com.sap.aii.af.service.api.AdapterAccess.call(AdapterAccess.java:99)
            at com.sap.aii.ibrun.server.lookup.AdapterProxyLocal.process(AdapterProxyLocal.java:87)
            at com.sap.aii.ibrun.server.lookup.SystemAccessorInternal.call(SystemAccessorInternal.java:47)
            at com.sap.aii.mapping.lookup.SystemAccessor.call(SystemAccessor.java:115)
            at com.sony.pi.sp.StoredProceduresHandler.runScalarStoredProcedure(StoredProceduresHandler.java:86)
            at com.sap.xi.tf._MyPage_Invoice_SAP_to_Loyalty_MM_.invokePROC_CUSTOMER_DEDUP$(_MyPage_Invoice_SAP_to_Loyalty_MM_.java:1272)
            at sun.reflect.GeneratedMethodAccessor384.invoke(Unknown Source)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:324)
            at com.sap.aii.mappingtool.tf3.rt.C2CFunctionWrapper.cacheContext(C2CFunctionWrapper.java:91)
            at com.sap.aii.mappingtool.tf3.rt.C2CFunctionWrapper.gotoNextContext(C2CFunctionWrapper.java:44)
            at com.sap.aii.mappingtool.tf3.rt.Q2QFunctionWrapper.cacheQueue(Q2QFunctionWrapper.java:86)
            at com.sap.aii.mappingtool.tf3.rt.Q2QFunctionWrapper.gotoNextContext(Q2QFunctionWrapper.java:41)
            at com.sap.aii.mappingtool.tf3.rt.Q2QFunctionWrapper.cacheQueue(Q2QFunctionWrapper.java:74)
            at com.sap.aii.mappingtool.tf3.rt.Q2QFunctionWrapper.gotoNextContext(Q2QFunctionWrapper.java:41)
            at com.sap.aii.mappingtool.flib3.CollapseContexts.gotoNextValue(CollapseContexts.java:52)
            at com.sap.aii.mappingtool.flib3.CollapseContexts.gotoNextContext(CollapseContexts.java:37)
            at com.sap.aii.mappingtool.tf3.rt.AResIterator.gotoNextContext(AResIterator.java:37)
            at com.sap.aii.mappingtool.tf3.rt.FunctionWrapper.gotoNextContext(FunctionWrapper.java:37)
            at com.sap.aii.mappingtool.flib3.IfWithoutElse.gotoNextContext(IfWithoutElse.java:58)
            at com.sap.aii.mappingtool.tf3.AMappingProgram.processNode(AMappingProgram.java:266)
            at com.sap.aii.mappingtool.tf3.AMappingProgram.processNode(AMappingProgram.java:326)
            at com.sap.aii.mappingtool.tf3.AMappingProgram.processNode(AMappingProgram.java:326)
            at com.sap.aii.mappingtool.tf3.AMappingProgram.start(AMappingProgram.java:415)
            at com.sap.aii.mappingtool.tf3.Transformer.start(Transformer.java:142)
            at com.sap.aii.mappingtool.tf3.AMappingProgram.execute(AMappingProgram.java:118)
            at com.sap.aii.ibrun.server.mapping.JavaMapping.executeStep(JavaMapping.java:64)
            at com.sap.aii.ibrun.server.mapping.Mapping.execute(Mapping.java:92)
            at com.sap.aii.ibrun.server.mapping.MappingHandler.run(MappingHandler.java:90)
            at com.sap.aii.ibrun.sbeans.mapping.MappingRequestHandler.handleMappingRequest(MappingRequestHandler.java:95)
            at com.sap.aii.ibrun.sbeans.mapping.MappingRequestHandler.handleRequest(MappingRequestHandler.java:68)

    Hi All,
    CPACache refresh worked for one day and the same problem repeated again next day, but need to have parmanent fix and should know the root cause of the problem so that the problem can not be repeated again.
    Is there any solution other than  CPACache refresh and JDBC adapter stop and start to fix the issue.
    And also found some entries in SM12 lock entry list during the same schedule time when the messages was triggered and remains for long time. Let me know whether we can delete those locks ?
    user PIAFUSER
    Lock mode E
    and table SXMSPMAST
    with lock argument ......
    Any suggestions and tips help us alot in fixing this issue.
    Thanks in advance
    Gary.

  • How to purge the workflow which is in process

    Hi Friends,
    I am facing one problem in the AME Workflow.
    when a user submit a page for approval process, workflow engine invokes . and in the hr_api_transcations table transacation id is created for that workflow transacation. now the problem is, if i purge that workflow process using concurrent program 'PURGE OBSELETE WORKFLOW RUNTIME DATA' . it is deleting the workflow. but when i see the hr_api_transacation table still the transacation id for that workflow is active.
    Example :-
    when i see through through the responsibility (workflow administrator web applications)=>Administrator workflow=>Status monitor
    when i type the item key say some x and search for the workflow status i cant see the workflow status. i can see it is deleted.
    but when i type the same item key in the hr_api_transacation
    like :- select * from hr_api_transactions where item_key='X' i can see the status of this transacation is active and workflow is in pending.
    can anyone explain me why system is behaving like.. how to stop the workflow process and how to delete the transacation id from the table.
    Thanks in advance

    Please check below nots
    453137.1 (Oracle Workflow Best Practices Release 12 and Release 11i) sections titled "Choosing Not to Use E-mail Notifications" and "Cleaning Up the WF_NOTIFICATION_OUT Queue"
    How to purge e-mail notifications from the workflow queue so the e-mail is not sent [ID 372933.1]
    264191.1 describes how to Purging Oracle Workflow tables of obsolete workflow runtime information for completed workflow processes is a required regular maintenance tas
    Notification Mailers Unavailable
    How to delete undelivered notifications from WF mailer

  • Client Proxy - Message waiting in queue

    Hi all,
    I have a client proxy in R3 that sends information to XI. I see in XSMB_MONI a green flag, but in the field "status queue" appears a yellow triangle with the message "Message waiting in queue".
    In Runtime Workbench I don't see any message.
    Any help? I have to activate the queue?
    Regards,

    Hi,
    Have u registered the queue in R3? If not....
    1.Go to SXMB_ADM(R/3)
    2. Go to Manage Queues and then
    3. Register All Queues.
    <a href="/people/sap.user72/blog/2005/11/29/xi-how-to-re-process-failed-xi-messages-automatically Failed Messages</a>
    Regards
    San

  • How to purge Workflow queue after R12 upgrade before starting WF Mailer?

    Hi,
    We are about to upgrade to R12.1.3 from R11.5.9.
    As part of the testing, I configured and started the Workflow Mailer in the new system. As soon as I did that, the system started sending a ton of notifications regarding past Requisition approvals apparently queued in the system. WF Mailer has been down since I did the last upgrade test.
    We plan to approve all requisitions before the cutover in the old system, so there should be no email notifications pending. Is there a way of updating msg_state of those notifications in the wf_notification_out table with a value of "READY", so we can make sure that we will have a clean system and users will not receive any notifications regarding the past requisition approvals?
    Thanks,
    Sinan

    Please see these docs.
    Note: 847889.1 - Stop Workflow Notification Emails During Clone
    Note: 828812.1 - How To Stop Old Outbound Workflow Notification Email Messages During Clone Activity
    Note: 603003.1 - How To Remove Workflow Data On A Test Or Cloned Instance
    Note: 372933.1 - How to purge e-mail notifications from the workflow queue so the e-mail is not sent
    Note: 736508.1 - How to Cancel Email Notifications for Particular Workflow Type
    Regards,
    Hussein

  • How to Group messages in a same queue

    Hi all,
    if it's possible.... how can I group messages of a same interface in one only queue???
    because today if SAP sends 100 iDocs, it generate 10 queues with 10 LUW each one... I want only one queue with 100 LUWs
    I want it, even if the third message comes 10 minutes later and the queue is still being processed...
    example....
    my queue (Q1) has 2 luws being processed, and there's other queues with many other interfaces messages (Q2, Q3....Qn)  and ten minutos later comes a third message wich should have to be on Q1... I don't want a new queue, I want the new message in queue(Q1) then i'll have sorted my three messages in only one queue
    Any idea? thanks

    because today if SAP sends 100 iDocs, it generate 10 queues with 10 LUW each one... I want only one queue with 100
    LUWs
    There is an option of Queue Priritization (document available for the same in SDN)....using this you can make sure that all the message related to an interface are processed in a pre-defined queue only.
    Check if this is what you are looking for.
    Regards,
    Abhishek.

  • Message waiting in queue

    Hi guys,
    I’m trying to connecting XI (integration server) to R/3 (Application sys) using ABAP proxy.
    When the message enters in XBTO2___0002 (inbound queue) it can’t leave there!!!
    Queue status is: a yellow triangle “Message waiting in queue”.
    I don’t have any error messages, only this status…I don’t know what happens!
    Anybody could help me?
    Thanks in advance,
    Ricardo.

    Hi Ricardo,
    Try registering queues again...it worked for me for the same problem.
    sxmb_Adm->mange queues->register queues..
    Regards
    Anand
    Message was edited by: Anand Torgal

  • HT3529 How do i know if i have a message waiting in imessage icon on my ipod touch?

    How do i know if i have messages waiting in imessage icon on my ipod touch?
    Any and all info is helpful!

    What do you mean by waiting?
    If you have received an iMessage that has not been read yet, a red circle with the number of unread messages will appear in the upper right of the green messages icon.

  • How to forward message to two different queue using jms proxy service

    Hi all,
    In my project I need to listen to one jms queue then forward the messages to two different queue.
    Now I already made one proxy for listening to the queue then pass it to another queue using business service, It works.
    But how to forward the messages to two different queue in same flow process using one proxy and bs??
    or any other way?
    Really thanks in advance.
    Regards,
    Kahlil

    Hi,
    I have a MQ queue and i created a Proxy to listen to the queue , but i dont see any activity in OSB logs ..how do i knw if OSB proxy is polling that MQ ( mq is the transport protocol that i am using ) .
    Thanks
    Prarthana.

  • How to view the Messages on the Stream Queues in the MQSeries Explorer

    Hi,
    After you publish the data to the stream queue (SYSTEM.BROKER.DEFAULT.STREAM), how to you see the data on that stream using the MQSeries Explorer.
    I could not see any data on the stream, but I have confirmed that the messages are being published because after I register the subscriber, the published messages do get routed corectly.
    Is there a way to view published messages on the stream queue. any help would be greatly appciated.
    Thanks,
    Rushabh

    Thanks for replying..but what if there are no subscribers registered for that particular topic and the publisher keeps on publishing the messages for a topic. I suspect there should be some way of knowing for the publisher whether it published the messages on the stream queue or not and hence some way of viewing the messages on the queue via the MQSeries explorer..
    Thanks,
    Rushabh

  • How to list total number of message in specific Topic/queue using wlst comm

    Hi All,
    Message queue
    How to list total number of message in specific Topic/queue using wlst command

    aaaah sorry, I didn't notice you were looking for a SPECIFIC topic, bad me
    then do something like
    <pre>
    connect('weblogic','weblogic','t3://localhost:8001')
    servers = domainRuntimeService.getServerRuntimes();
    if (len(servers) > 0):
    for server in servers:
    jmsRuntime = server.getJMSRuntime();
    jmsServers = jmsRuntime.getJMSServers();
    for jmsServer in jmsServers:
    destinations = jmsServer.getDestinations();
    for destination in destinations:
    if destination.getName() == 'YOURQUEUE':
    print "Destination ", destination.getName(), " MessageCount ", destination.getMessagesCurrentCount()
    </pre>
    of course performance-wise this is a terrible script because you loop on all destinations, I am sure there is a way to lookup a specific destination, but I am too lazy to investigate....

  • How to read the messages in the JMS Queue using JMX

    Hi,
              I want to read messages in the JMS queue using JMX. I was able to read using QueueBrowser but want to modify priority of the messages using JMX.
              I tried to use JMSDestinationRuntimeMBean but it does not allow us to read messages unless we pass the message Id. Is there any way that I can get all the messages in the queue.
              I am using Weblogic 8.1 SP4
              Can someone please help me in this regard.
              Thanks,
              Kiran.
              Edited by KGudipati at 10/22/2007 1:22 AM

    Hi,
    As far as i know, JMS Object Messages is not supported by XI JMS adapter.
    you need to have the JMS provider to transform the message to bytes messages.
    (Refer to SAP note 856346)

  • How to pick(or consume) messages from Woblogic JMS Queue only when DB is UP

    Hi,
    I have a requirement to pick(or consume) messages from Woblogic JMS Queue only when DB is UP.
    When DB is down, messages should remain in queue. When DB is up, messaged should be picked on scheduler basis.
    We are using SOA suite 11g(BPEL or mediator,JMS Adapter).
    What is the best way to achive it in SOA 11g.
    I tried, but when I setup a Consumer, there is no control over there. Messages are picked automatically.
    Please advise.
    Thanks
    Ram

    something wrong with the design.
    why dont you set the retry options in the fault policies?
    So if the external DB is down you could reprocess them after specified interval or make it go to human retry queue.
    Then you could use SOA api to retry all of them.
    --Prasanna                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • WLST: how to move messages from a JMS queue to another queue

    Hi all,
    I'm looking for an example for moving messages from a JMS queue to another JMS queue using WLST.
    Do you have an example about that or a piece of code as starting point ?
    Thanks in advance
    ferp

    http://www.javamonamour.org/2011/09/wlst-move-jms-messages.html

  • Incidents Report Queue isn't purging

    Hi There,
    Using Antigen 9.2.1097 SP2 for SMTP server on Win2003 and although the "Purge after 91 days" check box for the Incidents report queue is enabled right now there are incidents going clear back to April 2014.
    The quarantine report queue is configured the same way yet it seems to be working with messages going back to only October 28, 2014.
    I have removed the purge check mark and clicked 'apply'  Then I re-enabled it and also changed the time to 101 days.  Then I waited overnight since I know the purge routine doesn't take effect right away.  In fact I waited multiple evenings
    with the same setting and no change.
    I have clicked the "Clear Log" button at the top right which I'm assuming should wipe out ALL the incidents and it gave feedback indicating it worked however I still have every single incident in the log.
    I'm only concerned with running out of disk space here.
    Any ideas or advice welcome!
    PS: As the Windows 2003 server is fully updated this issue has been surviving reboots as well since it had to be rebooted numerous times since October 28, anyway in order to apply security patches.
    Thanks!
    Sam

    Hi Sam,
    1) How can I monitor the database size in order that I might be able to decide if and when to uninstall / reinstall Antigen?  Where is this incidents database and can you confirm that it's true there's a 2GB limit oh and what will happen, exactly,
    when that's reached?  Will the computer catch on fire, do you suppose?  I sure hope it won't break in half to reveal all the smoke and mirrors inside of it, anyway! ;)
    Answer: You can monitor the size of your Incidents Database by looking at the size of the incident.mdb file located in your Antigen directory. There is a 2 GB limit for this file, once this limit is hit the file is corrupted and can no longer be purged by
    the Antigen option to 'purge after.' Can you verify the size of this file now? It is possible it is past the 2GB limit already and this is why your incidents are not purging.
    2) Can you point me to best practice method for that export and uninstall / reinstall you suggested so that I might have it handy in the event I determine, using your answers to point 1), that I'll need to buy myself a bit more time before we replace
    Antigen with another system?  (probably in August when things are a bit quieter in the office).
    Answer: You can export you incident list by choosing Export in Report -> Incidents --> Export. This will export your incidents to a .txt file to a location of your choice.
    Antigen stores program settings as well as scanning activity information, including the Quarantine Area, on the file system. If you want, you can relocate these files at any time after installation.
    To relocate data files :
    1. Stop all Exchange services and any Antigen services that might still be running after Exchange is stopped.
    2. Create a folder in the location where you want to move the files.
    3. Move all the data files (files with the .adb extension) and the Quarantine and Engines folders.
    4. Change the following registry key to reflect the new location: HKEY_LOCAL_MACHINE\SOFTWARE\Sybari Software\Antigen for Exchange\DatabasePath.
    5. Set the security for the new location. Right-click the folder of the new location, and then select Properties. On the Security tab, add a user called “Network Service” with Full Control privileges. This is necessary so that logging is performed for the
    SMTP Scan Job.
    6. Restart the Exchange services.
    If you have any questions you can reference the link below
    https://technet.microsoft.com/en-us/library/bb914021.aspx
    Best Regards,
    Joyce
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact [email protected].

Maybe you are looking for

  • How to close an open request for a RealTime Cube in a Process Chain ?

    Hi, I've a real-time infocube, let´s call it C1RT. C1RT is connected to another standard Infocube C2 via a DTP. The users enter the planning data; it's stored  on C1RT. I wan't a process chain that loads data from C1RT to C2. What I've done yet and d

  • My email is stuck. I replied to an email and now I can't get back to my list do emails. What do I do?

    Was checking email on my iPad. Tried to reply to. An email using yahoo. Now the reply email is frozen and I can't use the e mail box for anything.  What do I do?

  • Aperture 3.5 Full screen

    I think Apple totaly messed up aperture 3.5 in full screen mode in Maverics. Now my second display is rendered useless. The menu bar will not go away. I use the menu item "Swap Displays" to put the browser on my smaller second display. This menu item

  • MSS error

    Hi Experts, When I am selecting the ivew Key Figure Monitor in MSS Overview workset I am getting the following error Portal Runtime Error An exception occurred while processing your request See the details for the exception Id in the log file Please 

  • Update Property Promotion Column Value in InfoPath Document Library

    Hello All, I just tried to update a property promotion value using this code: using (SPSite site = new SPSite(webName))                     using (SPWeb objweb = site.OpenWeb())                         SPList spList = objweb.Lists["XYZ"];