[jboss-dev-forums] [Design the new POJO MicroContainer] - Re: Context installation causes StackOverflowError

adrian@jboss.org do-not-reply at jboss.com
Mon Mar 23 11:23:12 EDT 2009


https://jira.jboss.org/jira/browse/JBMICROCONT-421

The problem and "fix" is described on the above JIRA issue.

Basically I've made the processing of resolved contexts more "width first"
to avoid the unwanted/unneeded recursion.

The fix is basically to add all the relevant resolved contexts to the "installing"
set rather than just the current one. This avoids any recursive call
to Controller.install() also seeing and processing those unresolved contexts.

Like it says there, this needs to be validated against JBossAS, etc.
to make sure it doesn't cause some unexpected problem.

Ales can you do that?


View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4220290#4220290

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4220290



More information about the jboss-dev-forums mailing list