Hi I have fixed them and committed it. Now that hierarchical monitors with the given definition is working fine..
Thanks, Reka On Mon, Oct 13, 2014 at 12:19 AM, Isuru Haththotuwa <isu...@apache.org> wrote: > > > On Mon, Oct 13, 2014 at 12:03 AM, Reka Thirunavukkarasu <r...@wso2.com> > wrote: > >> Thanks Isuru for pointing out.. >> >> Since i got to restarted while i was testing, i didn't face this issue. >> When i tried with the fresh setup, i faced the same issue..I did a fix for >> this. Will test it and update on it.. >> > Great! Thanks Reka. > >> >> Thanks, >> Reka >> >> On Sun, Oct 12, 2014 at 11:55 PM, Isuru Haththotuwa <isu...@apache.org> >> wrote: >> >>> My Application is something similar to below: >>> >>> >>> >>> >>> [image: Inline image 1] >>> >>> >>> Both the cluster php1, php2 are notifying the parent as they are >>> Activated. Also the group1 is also notifying the parent as its Activated. >>> However, seems the group2 is not notifying the parent of its activation. >>> Looking in to this further. >>> >>> >>> On Sun, Oct 12, 2014 at 5:55 PM, Isuru Haththotuwa <isu...@apache.org> >>> wrote: >>> >>>> Hi Reka, >>>> >>>> Great news!! >>>> >>>> I tried with a similar Application, however there were no instance >>>> spawned for the top level Cartridge. But, both the Groups were successfully >>>> activated. Might be an issue with the definitions I used, have attached >>>> there here. Will check on this more. >>>> >>>> >>>> >>>> On Sun, Oct 12, 2014 at 11:09 AM, Reka Thirunavukkarasu <r...@wso2.com> >>>> wrote: >>>> >>>>> Hi all, >>>>> >>>>> I have tested the hierarchical monitors with the attached sample >>>>> application which has group2 and tomcat cartridge as in top level. group2 >>>>> further refers to tomcat and group1. group1 further refers to php. Their >>>>> startup order has also defined in the definitions as below mentioned: >>>>> >>>>> For Eg: >>>>> >>>>> app (group2, tomcat) implies that group2 should be started before >>>>> tomcat. >>>>> >>>>> The application structure is like: >>>>> --------------- app (group2, >>>>> tomcat)---------------- >>>>> | >>>>> | >>>>> --------group2 (group1, tomcat)------- >>>>> tomcat >>>>> | | >>>>> tomcat group1 >>>>> | >>>>> php >>>>> >>>>> >>>>> For the above composite application structure, Application >>>>> successfully became active after its children activated according to the >>>>> start up order definied. >>>>> >>>>> Please find the samples as attached. If you encounter any issue while >>>>> testing, can you update the thread? >>>>> >>>>> >>>>> Thanks, >>>>> Reka >>>>> >>>>> >>>>> >>>>> -- >>>>> Reka Thirunavukkarasu >>>>> Senior Software Engineer, >>>>> WSO2, Inc.:http://wso2.com, >>>>> Mobile: >>>>> +94776442007 >>>>> >>>>> -- >>>>> <%2B94776442007> >>>>> Thanks and Regards, >>>>> >>>>> Isuru H. >>>>> <%2B94776442007> >>>>> +94 716 358 048 >>>>> >>>>> -- >>>>> <%2B94776442007> >>>>> Thanks and Regards, >>>>> >>>>> Isuru H. >>>>> <%2B94776442007> >>>>> +94 716 358 048 <%2B94776442007>* <http://wso2.com/>* >>>>> >>>>> >>>>> * <http://wso2.com/>* >>>>> >>>>> >>>>> >> >> >> -- >> Reka Thirunavukkarasu >> Senior Software Engineer, >> WSO2, Inc.:http://wso2.com, >> Mobile: +94776442007 >> >> -- >> <%2B94776442007> >> Thanks and Regards, >> >> Isuru H. >> <%2B94776442007> >> +94 716 358 048 <%2B94776442007>* <http://wso2.com/>* >> >> >> * <http://wso2.com/>* >> >> >> -- Reka Thirunavukkarasu Senior Software Engineer, WSO2, Inc.:http://wso2.com, Mobile: +94776442007