Hi Isuru, Reka

I analyzed the application / group definition and this is what I would expect 
for the startup sequence and  status to happen:


+ First group.mygroup2 is being started up
+ to start up group2 the system will check the group2 dependencies which 
requires to start up first group1
+ to startup group 1 the system has to bring up the php1 cartridge from group 1 
(which has no further dependencies).
+ Once the php cartridge is active, group1 goes active and subsequently the 
system starts up up the php2 cartridge from group2.
+ When php2 is active, group2 is active and the system will finally bring up 
the tomcat cartridge as define din the application. Once the tomcat cartridge 
goes active the application reaches the active status as well.


Please correct me when I am wrong,

Thanks

Martin

From: isu...@wso2.com [mailto:isu...@wso2.com] On Behalf Of Isuru Haththotuwa
Sent: Sunday, October 12, 2014 5:25 AM
To: Reka Thirunavukkarasu
Cc: dev; Martin Eppel (meppel); Udara Liyanage
Subject: Re: [Grouping][testing] Hierarchical Monitors with Composite 
Application

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<mailto: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

--

<tel:%2B94776442007>
Thanks and Regards,

Isuru H.

<tel:%2B94776442007>
+94 716 358 048<tel:%2B94776442007>



Reply via email to