2 Replies Latest reply on Aug 20, 2010 8:48 AM by Ales Justin

    Cyclic dependencies

    Ales Justin Master

      From Ondrej Zizka:

      I'm writing some simple MC stress test for the purpose of EAP deployers profiling.
      I've created a simple tool which generates a randomly connected graph (attached).

       

      >From what I've read, MC can do cyclic injections, but can't do cyclic dependencies (<depends>) , true?

       

      So I've injected random beans to each other, assuming that will create some cyclic deps, and inject some beans before they're declared in the XML.

       

      But when I deploy that, I get errors like:

       

        Deployment "v9" is missing the following dependencies:
          Dependency "v0" (should be in state "Installed", but is actually in state "Instantiated")
          Dependency "v3" (should be in state "Installed", but is actually in state "Instantiated")
          Dependency "v2" (should be in state "Installed", but is actually in state "Instantiated")
          Dependency "v8" (should be in state "Installed", but is actually in state "Instantiated")
          Dependency "v4" (should be in state "Installed", but is actually in state "Instantiated")
          Dependency "v1" (should be in state "Installed", but is actually in state "Instantiated")

       

      I just started with MC so I am not yet too aware of what terms like Installed mean from the MC POV.

       

      Could you pls point me to some good material explaining this issue, and perhaps the types of relations in MC?