Ales Justin [
http://community.jboss.org/people/alesj] replied to the discussion
"Endless loop at AS server startup"
To view the discussion, visit:
http://community.jboss.org/message/549030#549030
--------------------------------------------------------------
> The cache may have side effects because the code in #4 and #5 is not always executed
when a client calls #3.
> Could you please review carefully or alternatively change the algorithm so it
becomes usable for large sets of reqs/caps and mods.
Adding this patch doesn't change AS boot time in measurable way, at least not for
default and all.
This is expected, since basic AS deployments don't have any
explicit requirements,
hence no RequirementDependencyItems are created --> nothing to resolve.
/**
* Create the dependencies for the module
*/
protected void createDependencies()
{
ControllerState classLoaderState = getClassLoaderState();
List<Requirement> requirements = getRequirements();
if (requirements != null)
{
--------------------------------------------------------------
Reply to this message by going to Community
[
http://community.jboss.org/message/549030#549030]
Start a new discussion in JBoss Microcontainer Development at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]