geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ivan (Commented) (JIRA)" <>
Subject [jira] [Commented] (GERONIMO-6194) Sort gbeans while stopping the configuration
Date Mon, 17 Oct 2011 14:41:10 GMT


Ivan commented on GERONIMO-6194:

Commit changes to trunk at r1185215
> Sort gbeans while stopping the configuration
> --------------------------------------------
>                 Key: GERONIMO-6194
>                 URL:
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: kernel
>    Affects Versions: 3.0-M1
>            Reporter: Ivan
>            Assignee: Ivan
>             Fix For: 3.0
> Usually, the order of the gbeans in the configuration is not an issue while starting
the gbeans, as there will be listeners added for the gbean if its required dependencies are
not started, and it will be retried in the later.
> But while stopping the gbeans, the order is important, e.g. if gbean A is dependent on
gbean b, and b is stopped before a, then there will an exception thrown from GBeanDependency,
and the doFail method will be invoked, not the the doStop method. Although doStop and doFail
have the same logic in most of gbeans, it is better to avoid this.
> I am planning to sort the gbeans by their dependency relations in one configuration while
stopping the configuration

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


View raw message