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
  • 1.  Package Reloading

    Posted Tue July 04, 2017 04:36 AM

    Hi Team,

    Is there any process to reload the multiple packages at a time (not one by one) without restarting?

    Regards,
    krish


    #webMethods
    #Integration-Server-and-ESB


  • 2.  RE: Package Reloading

    Posted Tue July 04, 2017 05:33 AM

    You can check with pub.packages:reloadPackage or WmRoot services. If you want to reload all the packages simultaneously (not by sequence) I think it’s not supported.

    Any reasons for not re-loading the package sequentially?


    #Integration-Server-and-ESB
    #webMethods


  • 3.  RE: Package Reloading

    Posted Tue July 04, 2017 06:19 AM

    Thanks Mahesh. There is no specific reason.

    My requirement is need to reload all packages (Custom) automatically without restart.

    “pub.packages:reloadPackage” - this will helps us to reload only one package.

    Do we have any built-in services to reload all custom packages once.

    Regrds,
    krish


    #Integration-Server-and-ESB
    #webMethods


  • 4.  RE: Package Reloading

    Posted Wed July 05, 2017 05:51 AM

    You have to write a custom logic around this service to exclude Wm* packages and include only your custom packages based on the some regex (as your project will some naming standards eg. JnJUtils)


    #Integration-Server-and-ESB
    #webMethods


  • 5.  RE: Package Reloading

    Posted Wed July 05, 2017 10:47 AM

    Hi,

    A simple hack is to have those packages depend on a single package which, if reloaded, will force a reload on all its dependents.

    If you want something more dynamic you will have to go with Mahesh 's solution.

    Best Regards,


    #webMethods
    #Integration-Server-and-ESB


  • 6.  RE: Package Reloading

    Posted Wed July 05, 2017 11:15 AM

    Hi Guys,

    Thanks for your inputs.

    Even I thought the same, but thought to double check with you guys incase if there are any built-in services available to achieve this.

    Thanks,
    Krish


    #webMethods
    #Integration-Server-and-ESB