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
Expand all | Collapse all

Loading and Unloading a package

  • 1.  Loading and Unloading a package

    Posted Thu February 15, 2018 02:04 AM

    Hi Team,

    Can anyone please help me understand , if we reload the package WmPublic ,what other components get affected?

    I could see the below in the logs WMTomcat also gets loaded.

    WmTomcat: Shutdown service (wm.tomcat.admin:shutdown)
    Web Container shutdown completed
    Unloading WmTomcat package

    What could be the effects of reloading these if some services are already running on the server.

    Thanks.


    #webMethods
    #Integration-Server-and-ESB
    #edi


  • 2.  RE: Loading and Unloading a package

    Posted Thu February 15, 2018 12:56 PM

    Hi Priya,

    In general if any package is reloaded manually then any dependency packages will also get reloaded automatically.

    In this case you reloaded WmPublic and so WmTomcat is considered dependency of public package so it must have reloaded per the design and thus in the logs!

    Please check it.

    HTH,
    RMG


    #edi
    #Integration-Server-and-ESB
    #webMethods


  • 3.  RE: Loading and Unloading a package

    Posted Thu February 15, 2018 03:06 PM

    Reloading the Wm* packages in live environment is not strictly recommended as it may cause the services to fail (dependent on Wm*)

    Explain your scenario of reloading the package, we can suggest an alternative.


    #webMethods
    #edi
    #Integration-Server-and-ESB


  • 4.  RE: Loading and Unloading a package

    Posted Fri February 16, 2018 12:11 AM

    Thank you all for the reply.


    #webMethods
    #Integration-Server-and-ESB
    #edi


  • 5.  RE: Loading and Unloading a package

    Posted Fri February 16, 2018 09:19 AM

    Hi,

    reloading WmPublic package is mostly neccessary when changing the fileAccessControl.cnf file used by pub.file services.

    Restarting the whole IntegrationServer will be an alternative.

    All packages which declare that they depend on WmPublic package in their manifest.v3 (see Package Properties in Designer) will be reloaded automatically together with the base package WmPublic to maintain class loader hierarchy.

    Regards,
    Holger


    #webMethods
    #Integration-Server-and-ESB
    #edi


  • 6.  RE: Loading and Unloading a package

    Posted Sat February 17, 2018 06:52 PM

    Yes I second with Holger :))


    #edi
    #Integration-Server-and-ESB
    #webMethods