SMQ2 - Queue blocked EVENT??

Hi there,
I am working on an SAP XI system and was wondering if anyone knows of a way to catch some sort of EVENT when a queue in SMQ2 gets "blocked"? I have looked for a Business Object but now luck......I know I can possible schedule a background job to "poll" the ARFCASTATE table I think? I think the table is something like that.....
I have also tried to find a user exit / BADI / enhancement spot that I may be able to trigger my own event from.....but no luck yet.....
Any ideas on how this could be done? I want to trigger a workflow when a queue gets blocked......
Thanks for the help
Lynton

You can write your program using this FM QRFC_LOG_CHECK which will check the queue log. Trigger the event using FM SAP_WAPI_CREATE_EVENT or if you want to just to notify someone, the simple Use FM SO_NEW_DOCUMENT_SEND_API1,if there a specific queue log found. Schedule this report on a periodic basis.

Similar Messages

  • TimeOut Exceeded in SMQ2- queue Block

    Hi all,
       I am having an issue with my production  PI BOX. Not sure if there is any solution for this.
    I have some interfaces in PI which expects huge payload data.Sometime the messages are getting failed in SMQ2 with error message " Time Limit Exceeded ". This is not happening with one particular interface message.Sometime teh queue got blocked for one interface and then the other day with some other interface.
    When i tried to resend the same messages by selecting Execute LUW option, all of them have gone through fine. But we cannot do this manually everyday. I just wants to know where exactly the time out parameter has been maintained for pipeline processing.
    The messages are getting timed out in receiver grouping pipeline step.
    I have gone through the =  Michal Blog : 3802 about the time out. But nothing helpful on that.
    Could anyone of you help me out here?

    Hi
      We are using JDBC communication channels for all these interfaces. But messages are failing in SXMB_MONI .ideally it means that messages are still in Integration engine. right?
    It doesn't send teh message to adapter engine
    If we increase timeout level  at adapter level, does it really help? If yes how come? Could you please explian?
    Thanks
    Rajesh

  • SMQ1 & SMQ2 Alerts: Please help set up Queue blocking alterts

    Hi ALL
    We have been experiencing problems with Queue Failures / Blocked Queue  in PROS.
    However, we do NOT get this notification as part of Alerts we have set up in ALRTCATDEF.
    Can you please, help us with any links on documentation on how to set up SMQ1 & SMQ2 alerts.So, that we get notified via whenever a queue is blocked.
    Your help is greatly appreciated!!
    Regards,
    Patrick

    Hi ,
    For runtime errors , you can trigger an alert.
    I don't think so, it is possible to trigger an alert when message is stuck in Queue, but if you get any error either system error or application error then you can trigger an alert.
    For more-
    http://help.sap.com/saphelp_nw2004s/helpdata/en/80/942f3ffed33d67e10000000a114084/frameset.htm
    /people/michal.krawczyk2/blog/2005/09/09/xi-alerts--step-by-step
    If you have got any errors like communication errors because of Queue error, then you can think of configuring CCMS alerts.(i.e alerts for Components)
    /people/aravindh.prasanna/blog/2005/12/23/configuring-scenario-specific-e-mail-alerts-in-xi-ccms-part--1
    also see:
    http://help.sap.com/saphelp_nw04s/helpdata/en/b1/ca6c3c32ac8754e10000000a114084/frameset.htm
    Re: Event Queue related- events not geting delivered
    Regards

  • SMQ2 queue is blocked and messages are in u201Cwaitingu201D status in RWB

    Hello,
    A SMQ2 queue is blocked with XXX data and these messages are in u201Cwaitingu201D state in RWB. 
    What could be the reason?
    Im sure its not because of the space because all the messages which flow after that was there in the directory.
    Regards,
    Mathangi

    Hi Mathangi,
         double click on the queue and click on the first message which will direct to MONI
    --> check what exactly the error is and try to resolve the error accordingly
    if you are unable to do that
    Right click on the first message and save LUV it will be saved in SMQ3
    then unlock the queue and execute again it will process successfully..
    later you can process the message which is saved
    Regards,
    Naveen

  • Message Queue Blocking / MSGMNI Setting

    Hi All,
    Firstly, many thanks to all that can assists. I am currently getting Message Queue
    Blocking messages in my ULOG files in my Tuxedo Application. (Tux ver 7.1 in Unix).
    I am not sure what is causing this, but started to look into the Tux Config (UBB.MP)
    and System message queue setting. Detailed as follows:
    1)
    Listed below is the system message queue setting:
    set msgsys:msginfo_msgmni=2000          
    set msgsys:msginfo_msgmax=128000     
    set msgsys:msginfo_msgmnb=100000     
    set msgsys:msginfo_msgssz=256          
    set msgsys:msginfo_msgseg=25088          
    set msgsys:msginfo_msgtql=1550          
    set msgsys:msginfo_msgmap=1000     
    According to the BEA site, the MSGMNI is determined by this formula:
    MSGMNI = MAXACCESSERS + 7 + (no. of servers with REPLYQ) + (no. MSSQ sets) - (no.
    of servers with MSSQ sets)
    The following is my current Tux. Config (UBB.MP) is set as :
    - MAXACCESSERS = 2300
    - Each servers (4 types in total) has its own REPLYQ and RQADDR.
    - The same type of servers are set the same across 4 application servers.
    Hence, my MSGMNI should be a minimum 2339 (ie. MSGMNI = 2300 + 16 + 16 - 0 = 2339).
    But my current MSGMNI is 2000.
    Would this contribute to my Message Queue Blocking?
    Is my understanding correct and is this something I should change to avoid Message
    Queue Blocking? Any helps and advice is much appreciated.

    Malcolm,
    Your information and explanations behind these error messages are very useful.
    It allow me to further understand Tuxedo internal processing and at the same time
    give me a chance to start analysing these fields.
    I am reluctant to ask further questions at the mean time. I will use your suggestions
    as a starting point.
    I will certainly keep you posted of the outcome when I have made the changes in
    my UBB config and machine parameters.
    Many thanks with your help/explanations Malcolm. It helps alot!
    Cheers.
    David.
    "Malcolm Freeman" <[email protected]> wrote:
    >
    Hi David,
    The MSGTQL reference you give (Solution S-00488) refers to the BEA MessageQ
    product
    and is not relevant to Tuxedo.
    The error messages indicate that the queue buildup is probably due to
    a restartable
    server failing. What happens is this:
    When a restartable server fails its IPC queue remains in place and continues
    to
    receive messages (which will be processed when the server restarts).
    Depending
    on the time taken to restart, the queue could become full and unable
    to receive
    any more messages, and this is probably why you got the message CMDTUX_CAT:1380
    indicating that the BRIDGE process was unable to put a message on the
    server's
    queue.
    A server is only restarted when the BBL does a SANITYSCAN check. If,
    for example,
    your SANITYSCAN interval is 300 seconds and your server fails immediately
    after
    the previous scan, then there will be a delay of almost 5 minutes before
    the failure
    is detected and the server restarted - plenty of time for the queue to
    fill up.
    There are a few things you could do:
    The key thing would be to find out why the server is failing, and fix
    the problem.
    If this is not possible immediately, consider some of the other ideas
    below.
    Have several servers form an MSSQ to service this queue; then if one
    fails the
    others will continue processing the messages while the failed server
    restarts
    (this assumes, of course, that your application does not require the
    messages
    to be processed in strict order through the server).
    Reduce the SANITYSCAN interval (but don't make it too small). This would
    reduce
    the average time taken to restart the server.
    Increase the size of the IPC queue (MSGMNB) so that it can hold more
    messages.
    I'm not sure why you got a LIBTUX_CAT:1485 message, but this could be
    due to a
    BRIDGE failure as a result of the congestion.
    The NETLOAD parameter would reduce the number of messages going to the
    remote
    machine, but only if the local machine offers the same service. If the
    remote
    machine is the only source of the service then NETLOAD will have no effect.
    I
    recommend you do a search of this newsgroup for postings on "load balancing"
    there's some good stuff which will explain how load balancing works.
    Depending how things go, it might not be a bad idea to open a case with
    BEA Support
    and ask for guidance (remember to submit your ubbconfig (or preferably
    do a tmunloadcf)
    together with the complete ULOGs from both the master and the slave machine).
    Hope this helps some.
    Regards,
    Malcolm.
    "Dave" <[email protected]> wrote:
    Hi Malcolm,
    Thank you for your reply. Interesting point you have made about theMSGTQL
    value.
    Based on your suggestion I went hunting around the BEA site and found
    the following
    snipplet:
    "- The MSGTQL parameter must be set to a value greater than or
    equal to the MSGMNI setting."
    (http://support.bea.com/application?namespace=askbea&origin=ask_bea_answer.jsp&event=link.view_answer_page_solution&answerpage=solution&page=msq/S-00488.htm)
    If the above point is valid, then my MSGTQL is definitely way too low.
    IF this
    be the case, would you know of a method to work out what my MSGTQL bytes
    value
    should be?
    Additionally, I have looked at other parameters which I could tune,and
    would
    adding a NETLOAD parameter in the *MACHINES section will reduce remote
    servers
    call? Which potentially, maybe reduce message queue blocking?
    FYI:
    The error messages I am seeing in my ULOG file are:
    "LIBTUX_CAT: 1477 : ERROR .SysServerDied
    LIBTUX_CAT: 1476 : ERROR: .SysServerRestarting"
    Which then leads to message queue blocking
    "CMDTUX_CAT: 1380 : ERROR: Message queue blocking prevented delivery,
    Qaddr=..."
    and potentially "LIBTUX_CAT: 1485 .SysNetworkDropped."
    Many Thanks. Hope to hear from you (Malcolm) or other parties out there
    that can
    assists.
    Thanks.
    David

  • .SysMachineMsgq: message queue blocking

    Hi,
    I am getting the following error message:
    064222.hostname!TMSYSEVT.14351.3071440608.0: WARN: .SysMachineMsgq: hostname message queue blocking
    Is there anyway to pinpoint exactly which application and or which service is causing the blocking?
    Thank you,
    Ivan

    Ivan,
    You can look in the userlog for a "LIBTUX_CAT:672 ERROR: Message operation
    failed because the message queue or the system is full" message. That will
    tell you the process in which the msgsnd() failed, although it will not tell
    you the specific queue that was full. If the queue full condition is not
    something transient, you can use the "ipcs -q -a" command to examine the
    number of bytes currently on each queue on the machine.
    If you need to automate the process of searching the ULOG, the T_ULOG class
    in TM_MIB(5) can be used.
    The event message for the SysMachineMsgq event deliberatly contains very few
    details, since the process where msgsnd() failed uses a message to inform
    the event server of the failure and if a message queue is full, then there
    might be a problem with sending a large message to the TMSYSEVT server.
    (There is a check to prevent looping if the message send to TMSYSEVT fails.)
    Ed
    <Ivan Novick> wrote in message news:[email protected]..
    Hi,
    I am getting the following error message:
    064222.hostname!TMSYSEVT.14351.3071440608.0: WARN: .SysMachineMsgq:
    hostname message queue blocking
    Is there anyway to pinpoint exactly which application and or which service
    is causing the blocking?
    Thank you,
    Ivan

  • Message Queue Blocking/MSGMNI Confirmations

    Hi All,
    Firstly, many thanks to all that can assists. I am currently getting Message Queue
    Blocking messages in my ULOG files in my Tuxedo Application. (Tux ver 7.1 in Unix).
    I am not sure what is causing this, but started to look into the Tux Config (UBB.MP)
    and System message queue setting. Detailed as follows:
    1)
    Listed below is the system message queue setting:
    set msgsys:msginfo_msgmni=2000          
    set msgsys:msginfo_msgmax=128000     
    set msgsys:msginfo_msgmnb=100000     
    set msgsys:msginfo_msgssz=256          
    set msgsys:msginfo_msgseg=25088          
    set msgsys:msginfo_msgtql=1550          
    set msgsys:msginfo_msgmap=1000     
    According to the BEA site, the MSGMNI is determined by this formula:
    MSGMNI = MAXACCESSERS + 7 + (no. of servers with REPLYQ) + (no. MSSQ sets) - (no.
    of servers with MSSQ sets)
    The following is my current Tux. Config (UBB.MP) is set as :
    - MAXACCESSERS = 2300
    - Each servers (4 types in total) has its own REPLYQ and RQADDR.
    - The same type of servers are set the same across 4 application servers.
    Hence, my MSGMNI should be a minimum 2339 (ie. MSGMNI = 2300 + 16 + 16 - 0 = 2339).
    But my current MSGMNI is 2000.
    Would this contribute to my Message Queue Blocking?
    Is my understanding correct and is this something I should change to avoid Message
    Queue Blocking? Any helps and advice is much appreciated.

    Hi All,
    Firstly, many thanks to all that can assists. I am currently getting Message Queue
    Blocking messages in my ULOG files in my Tuxedo Application. (Tux ver 7.1 in Unix).
    I am not sure what is causing this, but started to look into the Tux Config (UBB.MP)
    and System message queue setting. Detailed as follows:
    1)
    Listed below is the system message queue setting:
    set msgsys:msginfo_msgmni=2000          
    set msgsys:msginfo_msgmax=128000     
    set msgsys:msginfo_msgmnb=100000     
    set msgsys:msginfo_msgssz=256          
    set msgsys:msginfo_msgseg=25088          
    set msgsys:msginfo_msgtql=1550          
    set msgsys:msginfo_msgmap=1000     
    According to the BEA site, the MSGMNI is determined by this formula:
    MSGMNI = MAXACCESSERS + 7 + (no. of servers with REPLYQ) + (no. MSSQ sets) - (no.
    of servers with MSSQ sets)
    The following is my current Tux. Config (UBB.MP) is set as :
    - MAXACCESSERS = 2300
    - Each servers (4 types in total) has its own REPLYQ and RQADDR.
    - The same type of servers are set the same across 4 application servers.
    Hence, my MSGMNI should be a minimum 2339 (ie. MSGMNI = 2300 + 16 + 16 - 0 = 2339).
    But my current MSGMNI is 2000.
    Would this contribute to my Message Queue Blocking?
    Is my understanding correct and is this something I should change to avoid Message
    Queue Blocking? Any helps and advice is much appreciated.

  • [JTree]Block event?

    Hello,
    I've got a problem. In fact, i have a JFrame with on the left a JTree and on the right some JEditorPane and 3 JButton (New, Save, Cancel).
    When I clic on a JTree's Node, my JEditorPane are updated with desirated info.
    |-------------------|------------------------------------|
    | JTree             | |-------------------------|        |
    |   - Node 1        | | JEditorPane1            |        |
    |   - Node 2        | |-------------------------|        |
    |   - Node 3        |                                    |
    |   - Node 4        | |-------------------------|        |
    |   - Node 5        | | JEditorPane2            |        |
    |   - Node 6        | |-------------------------|        |
    |                   |                                    |
    |                   |                                    |
    |                   |                                    |
    |                   |                                    |
    |                   |     |-----| |------| |--------|    |
    |                   |     | New | | Save | | Cancel |    |
    |                   |     |-----| |------| |--------|    |
    |                   |                                    |
    |-------------------|------------------------------------|I would like when i clic on JButton New, it is impossible to click on another Node in the Jtree: to block the Jtree or block event on Jtree.
    I've tried tree.setEnabled(false) but my CellRenderer applied to the JTree disappears ...
    I've also tried disableEvent(AWTEvent.ACTION_EVENT_MASK| AWTEvent.COMPONENT_EVENT_MASK|AWTEvent.CONTAINER_EVENT_MASK| AWTEvent.FOCUS_EVENT_MASK| AWTEvent.ITEM_EVENT_MASK| AWTEvent.KEY_EVENT_MASK| AWTEvent.MOUSE_EVENT_MASK) but it doesn't work.
    If someone have a idea
    ThanX !

    Remove the key listeners?
    JTree tree = new JTree();
    for(KeyListener listener : tree.getKeyListeners()) {
        tree.removeKeyListener(listener);
    }Another option would be to just do
    tree.setFocasable(false);

  • How to queue custom events with out using af:calientListener.- onKeyUp.

    Hi,
    I have a custom component ( extending richinput text).
    defined a new attribute called "onkeyup" and added necessary logic in Renderer. Some thing like
    write.writeAttribute("onkeyup" , "handleEvent()");
    I rendered the java script code too ..... in my custom renderer. ( I neigther want to write java script in metaContainer of document tag nor wants to use resource tag..)
    and the handleEvent code is something like this.
    function handleEvent()
    In this method i want to write the code which pushes my custom event to the queue.
    some thing like this..
    component = event.getSource();
    AdfCustomEvent.queue(component, "customEvent",{payload:component.getSubmittedValue()}, true);
    event.cancel();
    Usually if use a clientListener then it will call the method {  handleEvent(event)  } passing event parameter so that we can get the source of that event.
    But as i dont want to use the clientEventListener.... as of now... i can't get the component because i don have the event object with my method.
    So could any one please letme know , how can i queue my custom event in to my customcomponent... with out using ClientListeners.
    Edited by: mchepuri on Nov 9, 2009 10:04 AM

    Hi,
    AFAIK, you cannot queue an event to the serverListener without a clientListener.
    -Arun

  • Migration from Serial polling to Serial queue with event handler

    Hi, I am trying to migrate from classical serial polling communications to serial queue with "event handler" for the buttons pressed by the user. I have placed four while loops, one for the event handler, a second one for serial reading, a third one for serial writing (depending on what button was pressed) and the last one for processing what was read from the serial reading while loop, via a queue.
    My attached device reads the signals from 8 sensor ( 4 temperature and another 4 temperature plus humidity in the same sensor ) and send them via serial to Lavbiew.
    First of all, only once just after running the LV program, I must turn on my attached device with an ON command plus a carriage return after that the device will respond with the number of sensors plugged to it, disabling the corresponding buttons in the front panel. Then labview must wait until I pressed Acquire Button (event handler) and send a CF command plus what sensors to acquire plus a carriage return, then the device will respond continuously to labview with the sensor readings until I press the stop button (event handler), there is also another button to exit the program, also with event handler.
    I am having problems using the event handler and the queues because I am new using these structures, I have looked at  the LV examples but there is nothing concrete on using serial with event handler and queue.
    Take a look at my VI and you will soon notice what kind of problems I am having, any suggestions will welcome.
    Thank's in advance.
    Regards.
    Attachments:
    serial queue.zip ‏76 KB

    Hi Luisete,
    Maybe the problem arise because you are En- and DeQueue in parallel. You do a lot of things in parallel, that is nice if you are sure that one loop doesn't have to wait for another loop. Make sure you don't dequeue before enqueue.
    Hope this helps
    I never knew that the standard error cluster output could be wired directly to the loop control of a while loop.
    First time I see this

  • Sysfail locks smq2 queue

    Hi,
    We are live with our PI7.1 system as of 11/6 and are seeing serious issues when a data error causes a sysfail for a SMQ2 queue.  At this point the queue is locked for further processing.  We have monitors setup which page us for this situation.  However, we really need to prevent the queue from locking so other messages are sent even when one item is in sysfail status.
    Notes 813209 and 1118297 do not seem to offer any help is this situation.
    Is there a way to prevent the queue from locking due to sysfail status messages?
    Any help is greatly appreciated.
    Regards,
    Rick Taylor

    Rick,
    Check out this blog..
    http://www.sdn.sap.com/irj/scn/weblogs;jsessionid=(J2EE3417500)ID1371322850DB11715461650132929943End?blog=/pub/wlg/2728
    "For automatic qRfc failure recovery, schedule the report RSQIWKEX to run periodically. This report enables automatically resets the queues. "
    I remember there is a way to put error messages in different queue so that current queue wont b lock anymore...I'll check and let you know.
    Hope this will help.
    Thanks,
    Nilesh

  • 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

  • SMQ2 Queue sys.failed

    HI all,
    In CRM system SMQ2 queue name  R3AD_ACCOUNTING is getting system failed.
    When iam trying to unlock,activate and Execute those queue entries(5677) its not working i am getting the Message that FUNCTIONAL MODULE DOES NOT EXIT  for this iam deleting the queue entries one by one after checking each one.
    This queues are coming from R3 because of sale/service billing document post. when i check in SMW01 i didnt get any information related to this queue.
    Is it any other way to solve this issue. How to resolve ?
    Do the needful..
    regards,
    shoki.

    HI,
    when i check the queue entries i got the Functional module BAPI_CRM_SAVE,and queue name R3AD_ACCOUNTING, STATUS TEXT says that " Bdoc status failed,Bdoc not found".
    system doesn't have dump errors too.
    I came to know that when ever you get the message "Function module not found for this exception" for Queue entries we can delete that queue entry, but  the problem is i have so many entries, Its not possible check one by one and delete?
    sould i delete this all entries at once? Is it any solution?
    Thanks,
    shoki

  • CMDTUX_CAT:1380: ERROR: Message queue blocking prevented delivery

    Today, I changed a Tuxedo application (server) to the product systems(One master and two slaves). Only a small changes in code. But after a period of running, there are many errors in ULOG:
    CMDTUX_CAT:1380: ERROR: Message queue blocking prevented delivery, Qaddr = 583902
    And then, the server is died. After restart the server, this will happen again later.
    I don't know why this happens? Thx.

    Hi Bill,
    This is happening because the BRIDGE process received a message from the network and was unable to place the message on the intended IPC queue. This could be because the server handling that message is backed up, or the system IPC resource settings are too low. Please check the recommended actions in:
    http://download.oracle.com/docs/cd/E18050_01/tuxedo/docs11gr1/messages/cdtux/cdtux013.html
    Regards,
    Todd Little
    Oracle Tuxedo Chief Architect

  • Query regarding Queue block

    Hi Experts,
    The BASIS team has configured the CCMS alert for XBTI* and XBTO* queues in development system.
    Hence we need to test the same.
    Possibilities tried:
    1. Huge payload
    2. Stop and start of BPE this blocks the XBQ which is not needed as of now
    3. Deregistering the specific queues. The queus is set to ready state until we register the same. Once registered the queue block is cleared. Hence this option is not helpful.
    Kindly let us know the various ways to block the queues in PI.
    Thanks
    Suganya.

    Hi,
    If you have any interfaces using EOIO queues then try failing the same at mapping level and check...
    Another option is try failing the interface at mapping level by sending some invalid data for normal interfaces (EO) only and check...but in this case runtime may not block the queues all the times only few times and few circumstances it will block the queues...
    HTH
    Rajesh

Maybe you are looking for

  • Red light after connecting usb cable each time

    My ipod shuffle (4th gen) is weird and would not start. I know it's because someday I plugged out the usb cable right after I perform the sync task and forget to press the reject button first. Now the symtons is: It won't start / recharge, and it eve

  • [svn] 4088: Correction for FXG - SWF transcoding - ensuring various types of shapes are consistently handled .

    Revision: 4088 Author: [email protected] Date: 2008-11-12 11:59:22 -0800 (Wed, 12 Nov 2008) Log Message: Correction for FXG -> SWF transcoding - ensuring various types of shapes are consistently handled. The x and y properties will be applied via tra

  • Sensors in BPEL

    Hi,   Summary:       Problem is the records in the VARIABLE_SENSOR_VALUES table are not deleted in after deleting the Instance.   Detail:     I have created the simple bpel service and I created the simple variable sensor for the bpel by creating the

  • Link error when migrating from SUNWspro_6.2 to SunStudio 11

    I'm trying to "migrate" an application to be compiled with SunStudio 11 while now is successfully building with SUNWspro_6.2 in both release and debug mode. Using SunStudio 11 the application can be successfully built in release more (without -g opti

  • No user defined for service /sap/bc/contentserver

    Dear ALL,   Transaction : OAAD While i am up loading photo Business Obeject : PRELI                                            Document Type    : HRICOLFOTO While i am going to create next  step personal no :(any per no) next enter I am getting this