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.  circular package dependencies

    Posted Mon February 16, 2015 10:01 AM

    Hi All,
    Let’s say I have package A which is depending on B and C packages. I mean, B&C must be loaded before package A. Some how I lost B&C packages, restarted IS. As B&C are not exist, A must not be loaded but I wanted to load it A by some hook by cook ( Doing some changes in the back end ). Do we have any way using which we can achieve this.

    Thanks,
    RP.


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


  • 2.  RE: circular package dependencies

    Posted Mon February 16, 2015 10:13 AM

    Seems to me like a interview questions :lol: How did you lose the package did you delete or safe delete?

    I guess I have a fix for your question - Do you remember the name of packages B and C?


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


  • 3.  RE: circular package dependencies

    Posted Mon February 16, 2015 10:25 AM

    Say abc_B, abc_C are the packages. Now tell me the tweak to load A.

    Thanks,
    RP.


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


  • 4.  RE: circular package dependencies

    Posted Mon February 16, 2015 11:56 AM

    Hi

    RP ,

    You can do this by manually modifying the manifest.v3 file of the package A.
    Remove the following entries :-

    *.* *.*

    *Note :- Doing this is not recommended.


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


  • 5.  RE: circular package dependencies

    Posted Mon February 16, 2015 12:14 PM

    Yeah! Try this and see if you can install package A. If not update the thread back.


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


  • 6.  RE: circular package dependencies

    Posted Tue February 17, 2015 02:36 AM


  • 7.  RE: circular package dependencies

    Posted Wed February 18, 2015 01:25 PM

    Just a small update:

    the mentiioned dependencies are not really circular, they are just (missing) dependencies.

    Real circular dependencies would be:

    • Pkg A depends on Pkg B and Pkg B depends on Pkg A
    • Pkg A depends on Pkg B, which depends on Pkg C, which depends on Pkg A

    Regards,
    Holger


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


  • 8.  RE: circular package dependencies

    Posted Wed February 18, 2015 01:44 PM

    Hi Holger yes , these are missing package dependencies . But when you have missing package dependencies also
    the following log is written in the server.log

    INFO: This package requires C package (Version .) to load
    INFO: This package requires B package (Version .) to load
    FATAL: Unable to load A package (possibly due to circular dependencies)

    May be that’s why RP has created the topic with subject “circular package dependencies”


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