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

Locking and Unlocking a Flow service

  • 1.  Locking and Unlocking a Flow service

    Posted Mon June 16, 2008 07:52 PM

    Hi All,
    This is really challenging. I want to keep track of which all flow/Java services are locked, by which user. So my question is where does the Integration Server keeps information about the locked services, which Flow/Java service is called when we lock or unlock a Flow/Java service.Please help me on this.

    Regards
    Irfan


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


  • 2.  RE: Locking and Unlocking a Flow service

    Posted Mon June 16, 2008 08:03 PM

    To view all locked services, click on the Management link under the Packages heading in Administrator. Then click the View Locked Elements link.

    I do not know for sure where the lock information is stored, nor which services are used to lock and unlock services. Do you need something beyond what you can view within Administrator?


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


  • 3.  RE: Locking and Unlocking a Flow service

    Posted Mon June 16, 2008 08:21 PM

    There is a service in WmRoot package “WmRoot/wm.server.ns:getLockedNodesForAllUsers”
    which I believe provides all the information you need to accomplish your goal. You can always create a utility service using this WmRoot service to fulfill specific requirements.


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


  • 4.  RE: Locking and Unlocking a Flow service

    Posted Tue June 17, 2008 07:02 PM

    Thanks , Reamon.
    I think you got me wrong or i wasnt clear enough. I will try to put some more light on this. What my project needs is to keep track of the services locked by the user. So whenever a user locks a service , my utility service will log data such as User ID, Service name , date and time into the database for tracking.

    Thanks


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


  • 5.  RE: Locking and Unlocking a Flow service

    Posted Tue June 17, 2008 07:04 PM

    Thanks Tallah,
    I will look into it and will get back to you.


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


  • 6.  RE: Locking and Unlocking a Flow service

    Posted Fri June 20, 2008 09:10 AM

    Assalam Tallah,
    I am not able to find the service you have mentioned , can you please help me on it.

    Thanks
    Irfan


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


  • 7.  RE: Locking and Unlocking a Flow service

    Posted Fri June 20, 2008 11:25 AM

    you can set the following setting to the extended settings and restart the IS:
    watt.server.ns.hideWmRoot=false

    The WmRoot package should be visible in Developer after restart.

    Please use WmRoot services with extreme caution!

    They are NOT documented, NOT supported and may NOT exist in a future release. Also webMethods wont offer technical support if you face any problem with these services.

    If at all possible, you should use existing, documented, public services which you can find in pub folders in the various Wm packages.


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


  • 8.  RE: Locking and Unlocking a Flow service

    Posted Fri June 20, 2008 04:53 PM

    When you said couldn’t find the service, I believe you meant you can’t see the whole package and not just the service. If that is the case then put the property in extended setting as Jiten mentioned.

    Note : You don’t have to restart the server, just refresh the developer and you will see the package.


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


  • 9.  RE: Locking and Unlocking a Flow service

    Posted Mon March 20, 2017 11:46 PM

    10 years on in v9.10, how do I view all items locked in a package? I can’t seem to find anything.

    Ok there is a way via the Browser:

    Integration server admin page → packages–>management–>view locked elements.


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


  • 10.  RE: Locking and Unlocking a Flow service

    Posted Tue March 21, 2017 03:36 AM

    The above-mentioned comments hold good. You can either use Browser or use the service “wm.server.ns:getLockedNodesForAllUsers” if you want to do some operation with the data.

    Be careful when using the service of WmRoot. Improper use of these services could result in a corrupted server.

    Regards,
    Syed Faraz Ahmed


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