webMethods

webMethods

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
  • 1.  Document loss during patch migration

    Posted Fri May 13, 2005 03:41 PM

    Hi
    I am facing a problem in package deployment. We are using the local publish/subscribe model. Once we try to install any package patch during the day we missed few documents with log messages…no service found …document rejected. We know this happen during the patch installation because the service which attached to the trigger is in the same package. Once we try to install the patch through webMethods publish/subscribe approach the webMethods unload the package and then load it. The time between unload and load is where we are getting this issue.
    If anyone faced this issue before and resolved it then please let me know. If anyone have the better solution please let me know. I checked with webMethods and they said that with local publish you need to do the migratin at no or low activity time,which I think is not possible with our company.

    Thanks
    Gopang


    #webMethods
    #Integration-Server-and-ESB
    #Flow-and-Java-services


  • 2.  RE: Document loss during patch migration

    Posted Fri May 13, 2005 04:43 PM

    What version of webMethods pub/sub are you using? If you are using 4.6 or earlier, you need to stop your adapters, or wait until a quiet time.
    If you are using 6.1, you can pause your triggers. Also, 6.1 has a tool called deployer which will pause the triggers automatically.

    Roger


    #Integration-Server-and-ESB
    #webMethods
    #Flow-and-Java-services


  • 3.  RE: Document loss during patch migration

    Posted Tue May 17, 2005 04:41 PM

    Thanks for yours response Roger. I am using 6.1 and not using the deployer. Could you please let me know what do you mean by “pause your triggers”? Do you mean to disable the trigger? If this is true then what will happen to the documents in the documentstore if the trigger will be disabled.
    Please Advice.

    Thanks
    Gopang


    #webMethods
    #Flow-and-Java-services
    #Integration-Server-and-ESB


  • 4.  RE: Document loss during patch migration

    Posted Tue May 17, 2005 08:01 PM

    There is an enhancement called “IS_6-1_Fix22” that will supply you with 4 new services in the WmPublic package:

    • pub.trigger:suspendRetrieval
    • pub.trigger:resumeRetrieval
    • pub.trigger:suspendProcessing
    • pub.trigger:suspendRetrieval

    pub.trigger:suspendRetrieval will stop documents from being retrieved for the trigger from the broker. Any server threads currently retrieving documents for the trigger will execute to completion.

    pub.trigger:suspendProcessing will documents from being processed from the trigger queue.

    I think the biggest difference is that if you execute suspendRetrieval, all of the docs in the trigger queue will be processed before things stop, and if you run suspendProcessing, the trigger queue will be filled, but processing will stop after the current document being processed is complete.


    #Flow-and-Java-services
    #Integration-Server-and-ESB
    #webMethods