Ales Justin [
http://community.jboss.org/people/alesj] created the discussion
"Cyclic dependencies"
To view the discussion, visit:
http://community.jboss.org/message/558334#558334
--------------------------------------------------------------
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?
--------------------------------------------------------------
Reply to this message by going to Community
[
http://community.jboss.org/message/558334#558334]
Start a new discussion in JBoss Microcontainer at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]