[ 
https://issues.apache.org/jira/browse/GERONIMO-6194?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ivan resolved GERONIMO-6194.
----------------------------

       Resolution: Fixed
    Fix Version/s: 3.0-beta-2
    
> Sort gbeans while stopping the configuration
> --------------------------------------------
>
>                 Key: GERONIMO-6194
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-6194
>             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, 3.0-beta-2
>
>
> 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: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to