[jboss-user] [JBoss Microcontainer Development] - Endless loop at AS server startup

Ales Justin do-not-reply at jboss.com
Mon Jun 21 17:51:41 EDT 2010


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&containerType=14&container=2115]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20100621/ff0b2a88/attachment-0001.html 


More information about the jboss-user mailing list