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

How to kill a wait

  • 1.  How to kill a wait

    Posted Thu June 23, 2005 08:42 PM

    Hi,

    Does anybody knows how to kill a wait that has no time parameter ? i’ve got 8 of them running as shown in service usage :
    pub.sync:wait (8)
    they’re waiting for documents that will never come

    first thing we could do is create ‘manually’ those documents
    but if there was much more services it would be tedious

    would it be possible to kill them ?

    thanks for your help,
    Sébastien


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


  • 2.  RE: How to kill a wait

    Posted Fri June 24, 2005 09:16 AM

    let’s precise things :

    • i was able to stop the wait by running some notify with the good keys (fortunately i knew their values)
    • but it still have some publishandwait waiting and i haven’t got the values of the _env/pubId to generate a deliver

    how can i kill those
    pub.publish:publishAndWait (7)
    ?

    (restarting the IS is not enough)


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


  • 3.  RE: How to kill a wait

    Posted Fri June 24, 2005 12:32 PM

    Sebastien,
    What do you have your wait timeout set for on your publishandwait service? If you don’t have a value there it will wait indefinitely.

    markg
    http://darth.homelinux.net


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


  • 4.  RE: How to kill a wait

    Posted Fri June 24, 2005 10:43 PM

    You can also reload the package - either your package or wmPublic from the Administrator screen under package/management.


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


  • 5.  RE: How to kill a wait

    Posted Thu July 07, 2005 04:30 PM

    thanks to you both for your answers
    Mark, the value on publishAndWait is now set to 4 hours
    still it is a lot to wait when we’re testing

    Jon, reloading the packages seems to reset the triggers (if they were filled up they are free again) but does not seem to kill the publishAndWait at all

    restart of the IS seems to help : it reduced the amount of publishandWait running to 11

    still 11 is too much : it is jamming my next requests

    so if i can’t kill the publishAndWait, another way to sort out this problem would be to raise the number of possible publishAndWait ; the thing is i don’t now which setting is concerned ; does not seem to be ‘Maximum Threads’ one for if i set it to 200 it does not free my ressources


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


  • 6.  RE: How to kill a wait

    Posted Thu July 07, 2005 06:12 PM

    Sebastien,
    Try passing in the timeout value as a dynamic parameter based upon a field you set in your flow or message. So while you are in the testing environment maybe something less than 4 hours. Is this a long running process? Make sure your message threads are not operating in serial mode but configured for parallel execution. This is set on the triggers. You can also set the number of that will execute in parallel there.

    As long as there are messages in a queue, restarting the server or reloading a package is not going to get rid of them. Assuming they are persisted.

    markg
    http://darth.homelinux.net


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


  • 7.  RE: How to kill a wait

    Posted Tue July 12, 2005 04:05 PM

    Mark,

    raising the number of threads finally sorted out my situation
    in Settings Ressources i set Maximum Threads to 1000
    on the trigger document store capacity of 200
    + process documents concurrently
    + maximum execution threads : 200

    so far it’s working
    thanks for your help !


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


  • 8.  RE: How to kill a wait

    Posted Tue July 12, 2005 04:09 PM

    and to answer the first question, there must be a non documented feature on publish and wait which is stopping the wait after couple of days for my running publishAndWait services finally disappeared


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


  • 9.  RE: How to kill a wait

    Posted Tue December 13, 2005 09:29 PM

    I have seen this too where the wait on some services will not end/disappear in IS. Restarting the server is the only solution. But my issue is that I am always sending a timeout value for the pub.sync:wait service.

    Any thoughts on why these instances are still “running”? I am able to run my service again with success even with this on my Service Usage page:

    pub.sync:wait (11)

    Is it possible that if I shut down the Developer/Browser before the service is finished, it will get stuck like this?

    Thanks
    Cort


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


  • 10.  RE: How to kill a wait

    Posted Tue December 13, 2005 09:44 PM

    When you are stepping thru a flow, it is always good to reset the flow before you leave that window or turn off your developer session. Click under Test/reset or the F9 key.


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