IBM webMethods Hybrid Integration

IBM webMethods Hybrid Integration

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only
Expand all | Collapse all

Event appears in snoop but does not get processed

  • 1.  Event appears in snoop but does not get processed

    Posted Wed February 08, 2017 12:38 PM

    Hello,

    we have a weird situation and would need some hep to resolve it.

    In Integration Server, we have a publishable document type with ‘Encoding type’ set to ‘Protocol buffers’. It is associated with a connection alias which points to Universal Messaging.

    Sometimes, when an event of this type is published to UM, we can see it via snoop (with an event ID), but the event does not appear in the corresponding Named Object. I.e. in the named object view, the Event-ID field remains one less than the Event-ID in snoop.

    The event does not get processed, which leads to a hanging process instance etc.

    Is this a known problem which occurs frequently and has a well known solution?

    Thanks!


    #webMethods
    #Integration-Server-and-ESB
    #Universal-Messaging-Broker


  • 2.  RE: Event appears in snoop but does not get processed

    Posted Wed February 08, 2017 12:49 PM

    Hi,
    does your trigger have a subscription filter?
    That would potentially prevent a message not reaching the named object.


    #Integration-Server-and-ESB
    #Universal-Messaging-Broker
    #webMethods


  • 3.  RE: Event appears in snoop but does not get processed

    Posted Wed February 08, 2017 05:39 PM

    Hello Jonathan,

    yes, the trigger does have a filter defined. Actually, it’s a subscription trigger for a process model, i.e. the trigger (and its filter expression) has been generated by Designer during build&upload.

    It’s not the first time we do that, and it used to work. But now…

    The bad thing is that we don’t see any error messages in any logs. Just nothing.

    We use wM 9.9. How can we verify what filter is seen by UM? Is it possible to see the filter associated with a named object in Enterprise Manager?


    #Universal-Messaging-Broker
    #webMethods
    #Integration-Server-and-ESB


  • 4.  RE: Event appears in snoop but does not get processed

    Posted Thu February 09, 2017 12:28 PM

    fml2,

    We have the same exact problem in 9.7: a subscription trigger that was previously working, suddenly stops receiving messages. It only seems to happen to triggers that contain filters. The unfortunate thing is that it’s intermittent and not easy to reproduce, which makes creating a support ticket a bit challenging.

    I’m very interested in what you learn from this thread. Quick question: do you see this in all your environments? Are the Integration Servers clustered? Do you typically see this after a deployment or can it happen at any time?

    Thanks,
    Percio


    #webMethods
    #Integration-Server-and-ESB
    #Universal-Messaging-Broker


  • 5.  RE: Event appears in snoop but does not get processed

    Posted Thu February 09, 2017 07:20 PM

    My impression is that if it works, it works. I.e. it stops working after a quantum change, e.g. a deployment. In the course of deployment, we deploy triggers and then synchronize publishable documents with the messaging provider (which happens to be UM).

    We noted that it’s possible to fix the situation by disabling the trigger, deleting the named object, and then enabling the trigger again (which re-creates the named object). But of course it’s not an option for a production environment because it leads to the loss of data in the named object. And because it should just work. But it does not. And it is not possible to see what’s going on. No messages in the log, no possibility to see how the filters from the trigger have been transfered to UM. You’re just blind. The only thing remaining is to pray that this time everything goes well.

    I think we have some IS nodes sharing the process DB but not organized as a cluster.

    As you pointed out, it’s not easy to reproduce.


    #Universal-Messaging-Broker
    #webMethods
    #Integration-Server-and-ESB


  • 6.  RE: Event appears in snoop but does not get processed

    Posted Fri February 10, 2017 04:25 AM

    There have been some issues in this area, so please make sure you apply the latest fixes - both to the UM server and to client libs. Note that on your IS installation, you will need to install three fixes: UM client, UM common libraries and UM shared bundles. It is the common libraries specifically that IS uses.


    #webMethods
    #Integration-Server-and-ESB
    #Universal-Messaging-Broker


  • 7.  RE: Event appears in snoop but does not get processed

    Posted Fri February 10, 2017 11:47 AM

    fml2,

    Yep, we also tend to see the issue after a deployment. Sounds like we’re experiencing the same problem.

    Jonathan, when we first started experiencing the issue, we were on the latest but I’ll check again. Perhaps some new fixes have been released since.

    Thanks,
    Percio


    #Integration-Server-and-ESB
    #webMethods
    #Universal-Messaging-Broker


  • 8.  RE: Event appears in snoop but does not get processed

    Posted Fri February 10, 2017 12:03 PM

    We had the Problems with the Fix 13 (for wM 9.9) installed. I see that today the Fix 15 has been released. But in the description I can’t see that the issues resolved in Fix 14 and 15 are somehow related to what we’ve experienced.


    #Universal-Messaging-Broker
    #Integration-Server-and-ESB
    #webMethods


  • 9.  RE: Event appears in snoop but does not get processed

    Posted Tue February 28, 2017 06:50 PM

    fml2,

    Any luck finding the root cause? We ran into the issue again last week. We tried to determine the root cause but had no luck. Our developer investigating the issue did learn that if he simply deleted the named object and reloaded the package, the trigger started functioning again and the queued messages weren’t lost. We are in a clustered environment though, so I’m not sure if you would experience the same behavior.

    Percio


    #webMethods
    #Universal-Messaging-Broker
    #Integration-Server-and-ESB


  • 10.  RE: Event appears in snoop but does not get processed

    Posted Thu March 02, 2017 11:06 AM

    Hello Percio,

    no, we still have not found the cause. We know how to make work it again, but it involves deleting and re-creating named objects which means all the data contained there is lost.

    I don’t understand that. In my view, deleting named objects implies a data loss. This is so because the messages are not held in the channel but get immediately forwarded to the appropriate subscribers (=named objects which, in our case, correspond to IS triggers). If the trigger is deactivated, the messages remain in the named object and get picked up when the trigger is activated.

    Could elaborate on how you don’t lose the data?

    Thanks!


    #Universal-Messaging-Broker
    #Integration-Server-and-ESB
    #webMethods


  • 11.  RE: Event appears in snoop but does not get processed

    Posted Thu April 27, 2017 09:49 AM

    We are facing the same problem since a couple of days on recently installed 9.12 version . We have also been using the delete object and restart trigger solution. Is there any official resolution for this known yet, because we can’t resolve it like that when we go live in few weeks?
    By the way we found out that the problem seems to only happen with webMethods Messaging Triggers no matter if they have filters or not…JMS triggers are working fine when the issue occurs

    We have following fixes installed on IS
    IS_9.12_Core_Fix4
    IS_9.12_SPM_Fix1
    TNS_9.12_Fix3


    #webMethods
    #Universal-Messaging-Broker
    #Integration-Server-and-ESB


  • 12.  RE: Event appears in snoop but does not get processed

    Posted Sun April 30, 2017 11:26 PM

    We are facing the same issue. We did an upgrade to 9.10 and all was working fine until now.

    We have a UM Topic with 3 durable subscribers. Two of them are getting the events and one was not. All three does not have any filters. Recreating the named object fixed the issue, but this is not acceptable when it goes to Prod.

    We have all the latest fixes installed as well.


    #Integration-Server-and-ESB
    #webMethods
    #Universal-Messaging-Broker


  • 13.  RE: Event appears in snoop but does not get processed

    Posted Mon May 01, 2017 12:08 PM

    I’m disappointed to hear this issue still exists in 9.12. We are getting ready to kick off an upgrade project and one of the reasons for the upgrade was precisely to eliminate these UM issues. We will do some thorough UM testing early on in the project, and if the problems persist or can’t be resolved quickly, then I suppose we may have to revert back to the Broker.

    Percio


    #Integration-Server-and-ESB
    #webMethods
    #Universal-Messaging-Broker


  • 14.  RE: Event appears in snoop but does not get processed

    Posted Mon May 01, 2017 08:56 PM

    Percio, this is my feeling as well. And we are also in a similar situation (an upgrade to 9.12 is being planned). I don’t quite understand how this situation can continue for so long. Are there not so many customers suffering from this that this bug is not exposed well?

    Unfortunately, the broker is not a viable solution acorrding to the announcements wrt its future.


    #Universal-Messaging-Broker
    #webMethods
    #Integration-Server-and-ESB


  • 15.  RE: Event appears in snoop but does not get processed

    Posted Tue May 02, 2017 02:40 PM

    Percio, FML2,
    Please do work with Global Support on these issues. Feel free to cc me on your communications with GS and I will make sure it gets the right attention from R&D. My email address is my firstname.lastname@softwareag.com
    While we are committed to resolving this in currently supported versions, the good news is that shared durable subscribers have been rearchitected to be much simpler,removing the internal hidden queue, and keeping messages directly on the channel. Look out for that in the 10.x releases.


    #webMethods
    #Universal-Messaging-Broker
    #Integration-Server-and-ESB


  • 16.  RE: Event appears in snoop but does not get processed

    Posted Mon May 08, 2017 12:46 PM


  • 17.  RE: Event appears in snoop but does not get processed

    Posted Mon June 12, 2017 10:32 AM

    Hi,

    We are facing the similar issue with our environment wM9.10. Does anyone manages to find the root cause?

    During our migration phase, we hit this issue very often, WIth SAG support we made the pub doc encoding type to protocol buffers and the UM provider filters corrected, finally deleting the channel(not PORD).

    The setup was working almost for a month but again the same issue resurfaced.

    We have tried to delete the named objects but still the subs doesnt work. We could also witness an inconsistent connection details in Enterprise Manager where diff details shown with diff logins and most of the times we cannot see filter conditions missing in the connection details.

    Appreciate any inputs WRT this. Thanks!


    #Universal-Messaging-Broker
    #Integration-Server-and-ESB
    #webMethods


  • 18.  RE: Event appears in snoop but does not get processed

    Posted Mon June 12, 2017 07:14 PM

    Have you re-created the named objects after deleting them? WIthout named objects, no messages will be delivered to the triggers.


    #webMethods
    #Universal-Messaging-Broker
    #Integration-Server-and-ESB


  • 19.  RE: Event appears in snoop but does not get processed

    Posted Tue June 13, 2017 07:58 AM

    Hi fml2,

    Yes, the Named Objects were recreated.

    The event id “-1” tagged to it. i.e: Its not subscribing anything at all. But I could able to snoop the event from the respective channel post publish and still the evnt id is -1.

    The Irony with this entire issue is, there is another track we have migrated where the products/fixes are in same versions but we never faced a single issue. Only diff with this 2 env is, The migration utility was not ran in the working onme. we left the “enc type” as IDATA instead of ProtoBuffers and the filter conditions unaltered i.e they are not moved to UM filters and the docs are still getting filtered in IS.

    Please let us know if you have any furthere findings.

    Thanks!

    //Sabarish


    #webMethods
    #Universal-Messaging-Broker
    #Integration-Server-and-ESB


  • 20.  RE: Event appears in snoop but does not get processed

    Posted Tue June 13, 2017 06:15 PM

    Though it’s not the officially pushed configuration, it should work. I assume you’ve hit a bug. We also experience weird behaviour in this area and now try to find out what’s causing this.


    #Universal-Messaging-Broker
    #webMethods
    #Integration-Server-and-ESB


  • 21.  RE: Event appears in snoop but does not get processed

    Posted Tue June 13, 2017 06:47 PM

    Just checked on recently released fixes.

    https://empower.softwareag.com/sl24sec/fixsis_extern/FIXSIS2/ALL-LINUX-X86-64/NUM/9100/NUM_9.10.0_wM_Client_Fix10_ALL-LINUX-X86-64_Readme.txt?prdfamily=IBO

    Universal Messaging Client 9.10 SP0 Fix 10 Readme

    NUM-6977

    NUM-6977
    Events may appear “stuck” in a channel with named subscribers,
    especially if filters are being used.
    If a named priority object is used (or an IS serial trigger),
    and filters are used to select events from a channel, then
    events may remain on this channel, even after they’ve been
    received by a consumer. The Enterprise Manager’s snoop
    utility could be used to confirm this activity.
    This issue is now resolved. The UM server will now properly
    remove events from a channel (in all cases).


    #Integration-Server-and-ESB
    #webMethods
    #Universal-Messaging-Broker


  • 22.  RE: Event appears in snoop but does not get processed

    Posted Tue June 13, 2017 06:56 PM

    The fixed issue is maybe related to the one we’re talking about in this thread but it’s not the same IMO. The issue of this thread is that the message is not delivered at all. The fixed issue is that the channel is not cleared. But the message does get delivered.


    #Universal-Messaging-Broker
    #webMethods
    #Integration-Server-and-ESB


  • 23.  RE: Event appears in snoop but does not get processed

    Posted Fri June 16, 2017 08:30 AM

    Hi at all,

    we can reproduce this issue!

    pub.trigger:resumeRetrieval does not work as assumed. Only pub/sub concurrent trigger are affected.

    1. In IS Admin UI Messaging - webMethods Trigger Management - set Retrieval State for a concurrent trigger to “Suspended”

    2. In IS Admin UI Messaging - webMethods Trigger Management - set Retrieval State for a concurrent trigger to “Active”
      OR run pub.trigger:suspendRetrieval with pub/sub concurrent trigger name as input.

    3. publish some according documents - your clients will not acknowledge. Your published message still pending.

    Doesn’t matter if you change Processing State at same time or not.

    A critical Support Request is running. Jonathan Heywood is informed.

    Workaround:
    Reload package - helps without missing data - even if you have only one IS node. If you are running a cluster, other “heathy” nodes will process your data. This workaround requires manually changes. Time-critical processing of messages still be unpossible!

    Our Version:
    Product webMethods Integration Server
    Version 9.12.0.0
    Updates IS_9.12_Core_Fix4
    IS_9.12_SPM_Fix1
    TNS_9.12_Fix3
    Build Number 91

    Alexander Enns
    nterra integration GmbH


    #Integration-Server-and-ESB
    #Universal-Messaging-Broker
    #webMethods


  • 24.  RE: Event appears in snoop but does not get processed

    Posted Fri June 16, 2017 09:02 AM

    Alex,

    That sounds more similar to our issue in hand.

    The workaround we follow in here is refreshing the trigger through designer instaed of reloading the package as it happens to subscribe docs again multiple times which tends to redundant delivery.

    Its bad to see this issue exsit even with 9.12.

    Keep us posted with youro progress.

    Thanks!

    //Sabarish


    #Universal-Messaging-Broker
    #webMethods
    #Integration-Server-and-ESB


  • 25.  RE: Event appears in snoop but does not get processed

    Posted Fri June 16, 2017 11:17 AM

    Hi Sabarish,

    Ghislain or I will keep you up to date.

    What do you mean with “refreshing the trigger through designer”? Do you mean disable and enable? If so, it is circuitous for us, because we have 4 productive nodes. On each we have to lock and unlock triggers.
    But you are right, it can happen. If a trigger delivers the message to a handling service and is not able to set the acknowledge state on UM anymore.

    Thanks!

    Alexander Enns
    nterra integration GmbH


    #Integration-Server-and-ESB
    #webMethods
    #Universal-Messaging-Broker


  • 26.  RE: Event appears in snoop but does not get processed

    Posted Fri June 16, 2017 11:48 AM

    Alex,

    Yes, I meant disable and enable from designer as refresh, however the same activity from IS console has no effect.

    And I dont think you need to touch all four nodes, any one node should fix it temporarily.

    To test this, check the connection tab(If its working properly) of your channel, where the connection established from one IP. Once you refresh the trigger in one node, the connection page is upadted with that refreshed node IP and it subscribes fine but for sure the issue will hit again.

    //Sabarish


    #Integration-Server-and-ESB
    #Universal-Messaging-Broker
    #webMethods


  • 27.  RE: Event appears in snoop but does not get processed

    Posted Tue June 20, 2017 08:18 AM

    Guys,

    Encountered the issue a while back and followed the dirty solution to disable/enable the trigger from one of the cluster nodes but in vain.

    Disabled the defective trigger in all the cluster nodes and then enabled in one node the subscription starts to work again.

    //Sabarish


    #Universal-Messaging-Broker
    #Integration-Server-and-ESB
    #webMethods


  • 28.  RE: Event appears in snoop but does not get processed

    Posted Wed June 21, 2017 10:32 AM

    Hello,

    SAG Support can’t reproduce this issue. Can anyone try this:

    1. Please inbound Package: “DEV_lowag” on your IS-testsystem and synchronize your document types to universal messaging.

    2. Please check for attendance of webMethods-Triggers:
      dev_lowag.triggers:repoDocTrigger and
      dev_lowag.triggers:repoDocTriggerSerial on your IS Interface. Check if both
      triggers are enabled for the features: “Document Retrieval” and “Document
      Processing” on IS Interface per default.

    3. Check the attendace of the respective queues for the above mentioned
      triggers on your UM-Manager/Realm.

    4. Now, please set the “Retrieval State” to “Suspended” for both triggers.
      Please keep “Document Processing” enabled.

    5. Run dev_lowag.services.pub:publishMultipleRepoDocs - provide any number for input

    6. After firing this service, enable the “Document Retrieval”-Setting on
      IS-Interface by setting it to active. Check IS server.log concerning serial
      trigger handling.

    7. Concerning the concurrent triggers, you will notice that the amount of
      pending documents equals the Max Pending amount of documents. The Queue
      keeps stuck - not handling a single process anymore. The Relaunch of
      processing any document is missed.

    8. In Eclipse-Designer, we performed a package reload. After this, you can
      break out of this issue. Please perform a package reload to notice, that
      processing continues.

    DEV_lowag.zip (31 KB)


    #Universal-Messaging-Broker
    #Integration-Server-and-ESB
    #webMethods