Queues deleted from smq2

Hi
I have mistakenly  deleted some important queues from SMQ2, now i want to retrive those quesues. could you please provide me the solution..
Thanks
SK

Hi SK,
I have mistakenly deleted some important queues from SMQ2, now i want to retrive those quesues.
that's no problem provided that we are dealing with ExactlyOnce queues. When deleting the SMQ2 queue you do not delete the message, but it's registration for asynchronous execution.
I suppose you already have identified the messages. Simply select them in SXMB_MONI and press the 'Restart' button. This way a new queue entry is generated and pipeline processing of these messages will continue.
Please note: This procedure also applies to ExactlyOnceInOrder (EOIO) queues, however, by deleting the queues the system has lost all information on the order. Consequently the Integration Server can not re-create the initial order of messages. It is up to you to restart EOIO messages in correct order.
Best regards,
Harald Keimer
XI Development Support
SAP AG, Walldorf

Similar Messages

  • Deleted Queues From SMQ2

    Hi All,
    I have got struck up some lakhs of messages in SMQ2.
    Q1) As soon as the messages got struck in SMQ2 Will these all messages appear in SXMB_MONI???
    Q2)OR When ever i delete those messages from SMQ2, then that time will those come to MONI??
    Regards
    Suman

    Hello Suman,
    When message struck in SMQ2,Then you have to flush them
    by running the Queue name manually(if locked,unloack them).
    dont Delete them,
    To automate the process
    Use transaction SMQR or SMQ2 to reset the status of queues
    For this to initiate processing of messages stuck in the queue, make sure to set following IS configuration parameter
    MONITOR QRFC_RESTART_ALLOWED to value 1
    otherwise schedule the report RSQIWKEX to run periodically. This report enables automatically resets the queues.
    go to SXMB_ADM->Manage Queues and Deregister all the Queues. Then go to SMQ2 and try to activate all the queues by selecting the each lines and with activate button.
    Then re-register the queues in SXMB_ADM and chek it..
    Problem may be because of workprocess related. Also check transaction ST22 for if any dump in XI box.
    **********Reward points ,if found useful

  • How do I improve performance while doing pull, push and delete from Azure Storage Queue

           
    Hi,
    I am working on a distributed application with Azure Storage Queue for message queuing. queue will be used by multiple clients across the clock and thus it is expected that it would be heavily loaded most on the time in usage. business case is typical as in
    it pulls message from queue, process the message then deletes the message from queue. this module also sends back a notification to user indicating process is complete. functions/modules work fine as in they meet the logical requirement. pretty typical queue
    scenario.
    Now, coming to the problem statement. since it is envisaged that the queue would be heavily loaded most of the time, I am pushing towards to speed up processing of the overall message lifetime. the faster I can clear messages, the better overall experience
    it would be for everyone, system and users.
    To improve on performance I did multiple cycles for performance profiling and then improving on the identified "HOT" path/function.
    It all came down to a point where only the Azure Queue pull and delete are the only two most time consuming calls outside. I can further improve on pull, which i did by batch pulling 32 message at a time (which is the max message count i can pull from Azure
    queue at once at the time of writing this question.), this returned me a favor as in by reducing processing time to a big margin. all good till this as well.
    i am processing these messages in parallel so as to improve on overall performance.
    pseudo code:
    //AzureQueue Class is encapsulating calls to Azure Storage Queue.
    //assume nothing fancy inside, vanila calls to queue for pull/push/delete
    var batchMessages = AzureQueue.Pull(32); Parallel.ForEach(batchMessages, bMessage =>
    //DoSomething does some background processing;
    try{DoSomething(bMessage);}
    catch()
    //Log exception
    AzureQueue.Delete(bMessage);
    With this change now, profiling results show that up-to 90% of time is only taken by the Azure Message delete calls. As it is good to delete message as soon as processing is done, i remove it just after "DoSomething" is finished.
    what i need now is suggestions on how to further improve performance of this function when 90% of the time is being eaten up by the Azure Queue Delete call itself? is there a better faster way to perform delete/bulk delete etc?
    with the implementation mentioned here, i get speed of close to 25 messages/sec. Right now Azure queue delete calls are choking application performance. so is there any hope to push it further.
    Does it also makes difference in performance which queue delete call am making? as of now queue has overloaded method for deleting message, one which except message object and another which accepts message identifier and pop receipt. i am using the later
    one here with message identifier nad pop receipt to delete message from queue.
    Let me know if you need any additional information or any clarification in question.
    Inputs/suggestions are welcome.
    Many thanks.

    The first thing that came to mind was to use a parallel delete at the same time you run the work in DoSomething.  If DoSomething fails, add the message back into the queue.  This won't work for every application, and work that was in the queue
    near the head could be pushed back to the tail, so you'd have to think about how that may effect your workload.
    Or, make a threadpool queued delete after the work was successful.  Fire and forget.  However, if you're loading the processing at 25/sec, and 90% of time sits on the delete, you'd quickly accumulate delete calls for the threadpool until you'd
    never catch up.  At 70-80% duty cycle this may work, but the closer you get to always being busy could make this dangerous.
    I wonder if calling the delete REST API yourself may offer any improvements.  If you find the delete sets up a TCP connection each time, this may be all you need.  Try to keep the connection open, or see if the REST API can delete more at a time
    than the SDK API can.
    Or, if you have the funds, just have more VM instances doing the work in parallel, so the first machine handles 25/sec, the second at 25/sec also - and you just live with the slow delete.  If that's still not good enough, add more instances.
    Darin R.

  • Dequeued messages not deleted from one queue but other works

    Hi,
    I have a multiconsumer queue with two local subscribers.
    The messages go to the 'PROCESSED' state but do not get
    deleted from the queue table.
    As a test, I created another single consumer queue in a different andqueue table, but the oracle deleted the 'PROCESSED' messages as expected.
    In the multiconsumer queue, the messages are added by a trigger on the table. The enqueued messages varies from 100000 to 10000 per hour.
    aq_tm_processes = 5
    job_queue_processes=4
    What else can I do debug the problem?
    Is there any log file on the database server that I can
    look at any potential problem.
    I would appreicate any responses. This could very well
    be a newbie problem. I have not worked on advanced queues
    before and nor has anyone else in our system.
    Thanx,
    HB.

    I forgot to add that I am using default retention time
    and when I query user_queue the retention time is set to zero for the multiconsumer queue.

  • TA20637 I have a print job that I can not delete from the queue.

    When I try it says "job is completed and can not be deleted from queue" but it seems to be stuck (and keeps reprinting rather than letting me print other documents). What do I do?  I tried clearling the printer queue by turning the printer on and off but that is not dumping the cache.

    So, you can't select it in the queue and Delete it the usual way...
    If nothing else works, you may need to remove printer from the list in System Preferences Print & [Scan/Fax] pane.  Then add it back.
    And if NOTHING else works, you can also Reset printing system.  This removes ALL printers from the list and resets the overall printing system.  The command is in the same System Preferences pane.  Right (Control) click on the list of printers and select Reset printing system.  This time, you'll need to add all of your printers back.

  • Application user RMCM was found to be deleted from CUCM but agents unable to log into ACD queue was reported 2 weeks later

    Hello All, During an investigation Application user RMCM was found to be deleted from CUCM as per CUCM logs but the first issue of agents unable to log into ACD queue was reported 2 weeks later following a publisher reboot, I am trying to understand what could have caused this ? The reboot obviously could not have made any changes but the logs says RMCM users deleted on 09 May but issue was reported on 20 May and in the meantime services were said to be working without interruption . Can i have some suggestion to understand this to explain customer ?

    The RMCM user being deleted might not have triggered a JTAPI update on the UCCX side.  The publisher reboot which restarted CTIManager would have definitely triggered the update and forced UCCX to re-authenticate with the now non-existent user.

  • SMQ2 queue deletion.

    Hello Everyone,
    Is there a way to delete the SMQ2 queues in SRM? We have thousands of records and we do not want to delete each queue manually.
    Any help to get this?
    Regards,
    Khushbu.

    Hi Kushubhu
    See  the following link it may be helpful for you.
    Re: Mass Delete of BDocs in SAP CRM system
    with regards
    Manjunath

  • Manual deletion from queue table

    Hi All,
    Thanks in advance for helping.
    We have one queue table. The data volume in this queue table very very low.
    But someone tried to do a manual delete from the queue table. Now I think the queue table has been corrupted.
    Some of the jobs which reads from the queue table is not able to read it, its constantly trying to read and not finding any message. Whereas some other jobs are able to queue message and dequeue it from the same queue.
    My question is "Is there any way fix this issue without dropping and recreating the queue?"
    Like will purging the queue solve this issue?
    Regards,
    Samujjwal Basu

    Hello,
    in general, a direct DELETE from a queue table is not allowed. The queue will then be corrupted! 
    >Like will purging the queue solve this issue?
    Yes, there is a special PURGE statement for AQ, which should be used instead.
    Example:
    DECLARE
       v_purge_options    dbms_aqadm.aq$_purge_options_t;
    BEGIN
       v_purge_options.block := FALSE;
       DBMS_AQADM.PURGE_QUEUE_TABLE(
         queue_table     => 'SCOTT.QTAB_TEST',
         purge_condition => NULL,
         purge_options   => v_purge_options );
    END;
    Kind regards,
    WoG

  • SXMB_MONI message fail causing Queue struck at SMQ2

    Hi All,
    If mapping error occured in SXMB_MONI, corresponding entry will be struck up in SMQ2 and saying that SYSFAIL.
    When i drill down this into further, it is saying that Mapping error.
    Because of this all messages coming later also getting strucked in this queue.
    Why is this happening and what to do for not to get struck further messages
    Regards

    Hi Hetal,
    >>Create a job which will restart message after some time if it is stuck because of connection problem or something, then queue will be clear.
    It's because of Mapping problem, even though we schedule a job to restart, it won't resolve. again it comes into same error.
    @Prateej: 
    >>Could you check the QoS for the following entry in SXMB_MONI? Is it EOIO ?
    QOS is Exactly Once
    @Madu:
    >>This is the standard behavior of PI. When some message will fail in Integration Engine(either because of Receiver not found or mapping error),some of remaining message(not all messages) which will come in the same queue of failed message will stuck.
    You can not predict which messages will stuck and which messages will not stuck.
    YES, you are right.
    >>If you are having some important interface, which you want to divert the messages in other queue. You apply exactly once in order in sender channel for other interfaces so that these messages will not stuck in SMQ2.
    For me all are Important Interfaces only. I can't prioritize
    I think the better solution is Monitor failed messages in MONI every day and if it is failed because of Mapping error means, we can delete that entry from SMQ2.because for mapping related errors we don't require that message to restart again.
    so that nothing will be queued after wards.
    Regards

  • Persistent messages are not deleted from JMS store

              Hi,
              I'm experiencing some unexperienced JMS store behaviour with WLS 6.1 sp 4. I have
              a servlet that posts a message to persistent JMS queue, which will be eventually
              consumed by an MDB. Even though consumption is successful, the message is not
              deleted from JMS store.
              The message will be redelivered after server restart and is still not deleted
              from JMS store. I verified this using file store and JDBC store. The messages
              actually stay in the JMSSTORE table till doom's day.
              I couldn't reproduce the case with WLS 6.1 sp 3. Exactly the application code
              was used in all cases.
              Subsequently I ran the same case with various ServerDebug DebugJMSXXX-flags set,
              and discovered that WLS 6.1 sp3 logs 'asyncDeleteL' and 'ZZZDelete' for the consumed
              message. WLS 6.1 sp4 didn't log this information.
              I'm running WLS 6.1 on WinNT and Win2000.
              Comments?
              b r
              Juha Räsänen
              

    I've am having exactly this problem with wl 5.1....
              I first saw it with 5.1 sp8....
              In the release notes for 5.1 sp10, the following CR was fixed, which seemed
              like it might have been my problem:
              CR 45915
              Fixed a JMS problem with messages begin left in the queue after received messages had been acknowledged. When a high volume of
              messages was sent to a queue and a consumer retrieved those messages and sent them to another queue, the messages were not being
              removed from the first queue even though they were acknowledged.
              We upgraded to 5.1 sp12, and it appeared that the incidence of that problem was reduced.
              However it still occurs once or twice a week, with 5.1 sp12....
              My situation is a little bit different, in that my consumer retieves a message, and sends another
              message to the SAME queue instead of another queue as described in the CR above...
              It does happen under heavy load, etc....
              Don't know if this has been reported and identified for wl 5.1 sp12 or not...
              It is of course a really difficult to deal with bug....
              Jason
              "Juha Räsänen" <[email protected]> wrote in message news:[email protected]...
              >
              > Hi,
              > I'm experiencing some unexperienced JMS store behaviour with WLS 6.1 sp 4. I have
              > a servlet that posts a message to persistent JMS queue, which will be eventually
              > consumed by an MDB. Even though consumption is successful, the message is not
              > deleted from JMS store.
              >
              > The message will be redelivered after server restart and is still not deleted
              > from JMS store. I verified this using file store and JDBC store. The messages
              > actually stay in the JMSSTORE table till doom's day.
              >
              > I couldn't reproduce the case with WLS 6.1 sp 3. Exactly the application code
              > was used in all cases.
              >
              > Subsequently I ran the same case with various ServerDebug DebugJMSXXX-flags set,
              > and discovered that WLS 6.1 sp3 logs 'asyncDeleteL' and 'ZZZDelete' for the consumed
              > message. WLS 6.1 sp4 didn't log this information.
              >
              > I'm running WLS 6.1 on WinNT and Win2000.
              >
              > Comments?
              >
              > b r
              > Juha Räsänen
              

  • Undelete in Mass Additions Queue=Delete

    My business user inadvertently deleted all AP transactions from Mass Additions using Tools==>Delete All. The transactions were in queue 'New' but now are in queue 'delete'. Is there a way to put them in the 'New' queue again. No post process has happened as of yet. The trasactions were sent by AP using Mass Additions process.
    Thanks in Advance!
    mtm

    Hi,
    We could find the work around for deletion of assets which are in POST Status.
    We edited the Description of the Asset and saved it again.This way it allowed to Delete the Mass additions which got stuck with POST status.
    Thanks

  • Some Objects owned by SYS became invalid due wrong deletion from OBJ$ table

    Hi,
    While cleaning up streams from source database,we have found some rules and stream queue name was still present, so we tried to delete those records from obj$ table, but by mistake we have deleted all records from obj$ table related to streams.Actually we executed the following sql statement:
    DELETE FROM OBJ$ WHERE NAME LIKE '%STREAM%';COMMIT;
    For this fault some problem arrise.After this we have found lots of SYS owner objects (VIEW,PACKAGE,TYPE) are become invalid.This situation happened in a remote database.For this remote database there is missing a TYPE "AQ$_JMS_STREAM_MESSAGE".
    We have created a dummy database in local and executed the same delete statement, and after this We have executed (after shutdown immediate & startup migrate)catpatch.sql & (after shutdown immediate & startup) utlrp.sql but still there are some objects exists invalid.
    e.g. one object is "_DBA_APPLY_ERROR" which is invalid.While I have tried to open the table "APPLY$_ERROR" for this view it showing an error message "ORA-00600: internal error code, arguments: [kkdlusr1], [30813], [], [], [], [], [], []"
    We are using ORACLE 9.2.0.5 and Windows XP for our work.
    Now please tell me what is it`s remedy.
    Thanks in advance.

    I had exec utlirp.sql..
    Well you were asked to run utlrp.sql. I can't speak about the time that it will take to get complete. For the invalid objects, there are two ways to make them valid,one run utlrp.sql and see how many become valid and the other ( painful one) is to manually look for the errors in their compilation and sort it out.
    Aman....

  • Queuing - Action Blocks (Queue Get, Queue Put , Queue List, Queue Delete)

    Does any one know how to use Queue Get, Queue Put, Queue List, Queue Delete
    action blocks?
    There is neither any help documentation nor any previous queries in the forum for this.
    Thanks and Regards
    Khaleel Badeghar

    Hi Khaleelurrehman,
    1. Put something in your Queue:
       Name: MyQueue
       ID:      4711
       Example:
       - Make a ForNextLoop and use the Link Editor to fill the Queue with 10 entries.
       - Use a Local XML Variable as Message and a Assignment to set the
         Message text. So your Message will be:
         "a Message with the ID " & For_Next_Loop_0.CurrentItem
       - Put the Message and the ID in your Queue using the Link Editor
         ID: 4700 + For_Next_Loop_0.CurrentItem
    2. Replace something in your Queue:
       Just refere to Queue-Name and Queue-ID to replace a Message with the
       Queue-Put-Action.
    3. Get one entry of your Queue:
       Just refere to Queue-Name and Queue-ID to get the Message out of the Queue
       with the Queue-Get-Action.
    4. Get a List of entries from your Queue:
       - Use the Queue-List-Action which will return a xMII-XML Structure with
         DATE and ID.
       - Use a Repeater to loop over the Output of Queue-List-Action.
       - Use a Queue-Get-Action and assign the ID of the Repeater-Output to get the
         Message for the ID.
    5. Delete one Message in your Queue:
       Use the Queue-Delete-Action to delete a Message with a specific ID from
       your Queue.
    6. Delete the whole Queue (or all Messages)
       Use Queue-List-Action + Repeater to loop + Queue-Delete-Action
    Hope this helps.
    Ciao
    Martin

  • Every time I want to download an app From AppStore when I start downloading it after I write my password there is warning that says to me that it isn't possible right now to download power DVD mobile even now were this app is deleted from my ipad

    Every time I want to download an app From AppStore when I start downloading it after I write my password there is warning that says to me that it isn't possible right now to download power DVD mobile even now were this app is deleted from my ipad

    The power DVD app is active, and seems to download ok.  You have already deleted the app? 
    I suspect what is happeneing is that a download is in your queue, and is blocking the queue until it completes, thus the message every time you try to do a down load.  It may be failing because while it thinks you have the app, it is not finding it, and doesn't know what to do.  ( sounds like a poorly designed download).
    I think the way around this might be for you to resync with your iTunes, and let it reload the app onto your pad.  Let it complete the download.  Then, if you do not want the app, delete it again from your pad, and if you never want it, from I tunes as well.
    The next time they do an update, you may wind up in the same situation, so if it happens again, until they fix the download routine, you will get stuck again.
    So try the suggestion, and see if this clears it out.
    The other option would be to open your account in I tunes on your computer, let it complete the download there.

  • Undelete Mass Additions - Queue 'delete'

    My business user inadvertently deleted all AP transactions from Mass Additions using Tools==>Delete All. The transactions were in queue 'New' but now are in queue 'delete'. Is there a way to put them in the 'New' queue again. No post process has happened as of yet. The trasactions were sent by AP using Mass Additions process.
    Thanks in Advance!
    mtm

    Hi,
    We could find the work around for deletion of assets which are in POST Status.
    We edited the Description of the Asset and saved it again.This way it allowed to Delete the Mass additions which got stuck with POST status.
    Thanks

Maybe you are looking for

  • URGENT! Alive PDF - export PDF file ("my computer" prompt to save the file, not create in browser)

    Hi - I'm having issues with my code and I'm not an ActionScript coder by any means. I'm using Flash Builder 4. I've been able to figure out how to export to PNG and to XLS but PDF is really killing me. Below is my code and it's not causing errors whe

  • ITunes/iPhone not yet compatible with key new feature of iLife '08

    I've upgraded to iLife '08 and am using the new Events feature of iPhoto and am loving it... and in the process I'm realizing that I can nix my own "Albums" that are no longer needed! But then I realize that photos are being deleted from my iPhone be

  • Queue name in Send Step

    Hi, I was looking at an exisiting BPM scenario where a send step has been given with a queue name. The send step actually sends the idoc to ECC via receiver idoc communication channel, I was wondering how this process works where giving a queue name

  • Segmentation using ECC Infoset

    Hi, I want to  create a target group to differentiate employees based on Company code or sales organization I need to create a datasource using infoset from  ECC. i have used an infoset from ECC - /SAPQUERY/HR_ADM and also assigned the function modul

  • Flash installer is very poor show.

    I doubt anyone will listen - but just want to add my feedback to others who have been upset by how flash installs updates.  I was asked to update by flash in the big black box on start up.. did so and it downloaded Macafee without my permission.  Ins