Mmh, based on your assessment it might be different though From: Reka Thirunavukkarasu [mailto:r...@wso2.com] Sent: Tuesday, April 28, 2015 11:55 AM To: dev Cc: Udara Liyanage Subject: Re: One cartridge never get activated
Hi Udara, Seems your startupOrder is ambiguous. It is as below: "startupOrders": [ "group.dbgroup,group.appgroup","group.appgroup,cartridge.my-esb" ], So, according to first set, dbgroup should come up 1st, then appgroup. But second set mentioned that appgroup should come up 1st. If you need parallel startup, then it should be as below: "startupOrders": [ "group.appgroup,group.dbgroup","group.appgroup,cartridge.my-esb" ], Then appgroup will start first. After that dbgroup or my-esb can come up in parallel. Also, you have used alias for cartridge and groupName for groups when defining startup orders in the application. Those are not consistent. I think that you need to use cartridge type for cartridge instead of alias. @Martin, I will check your application and update the thread.. Thanks, Reka On Tue, Apr 28, 2015 at 11:03 PM, Martin Eppel (meppel) <mep...@cisco.com<mailto:mep...@cisco.com>> wrote: I think this looks similar to the issue I reported a few days ago ? From: Imesh Gunaratne [mailto:im...@apache.org<mailto:im...@apache.org>] Sent: Tuesday, April 28, 2015 10:25 AM To: dev Cc: Reka Thirunavukkarasu Subject: Re: One cartridge never get activated Udara: Do you have the complete log? On Tue, Apr 28, 2015 at 2:40 PM, Udara Liyanage <ud...@wso2.com<mailto:ud...@wso2.com>> wrote: Hi, I deployed the below application definition in Mock IaaS. All the cartridges and groups get activated except for esb. { "alias": "mycompositeapp", "applicationId": "my-compositeapp", "components": { "groups": [ { "name": "app-group", "alias": "my-appgroup", "cartridges": [ { "type": "tomcat", "cartridgeMax": 2, "cartridgeMin": 1, "subscribableInfo": { "alias": "my-tomcat", "artifactRepository": { "alias": "my-tomcat", "privateRepo": true, "repoPassword": "password", "repoUrl": "http://xxx:10080/git/default.git", "repoUsername": "user" }, "autoscalingPolicy": "autoscaling-policy-1", "deploymentPolicy": "deployment-policy-2" } }, { "type": "php", "cartridgeMax": 2, "cartridgeMin": 1, "subscribableInfo": { "alias": "my-php", "artifactRepository": { "privateRepo": true, "repoPassword": "password", "repoUrl": "http://xxx:10080/git/default.git", "repoUsername": "user" }, "autoscalingPolicy": "autoscaling-policy-1", "deploymentPolicy": "deployment-policy-2" } } ], "groupMaxInstances": 2, "groupMinInstances": 1, "groupScalingEnabled": true }, { "name": "db-group", "alias": "my-dbgroup", "cartridges": [ { "type": "postgres", "cartridgeMax": 2, "cartridgeMin": 1, "subscribableInfo": { "alias": "my-postgres", "artifactRepository": { "alias": "my-postgres", "privateRepo": false, "repoPassword": "password", "repoUrl": "http://xxx:10080/git/default.git", "repoUsername": "user" }, "autoscalingPolicy": "autoscaling-policy-1", "deploymentPolicy": "deployment-policy-2" } }, { "type": "mysql", "cartridgeMax": 2, "cartridgeMin": 1, "subscribableInfo": { "alias": "my-mysql", "artifactRepository": { "alias": "my-mysql", "privateRepo": true, "repoPassword": "password", "repoUrl": "http://xxx:10080/git/default.git", "repoUsername": "user" }, "autoscalingPolicy": "autoscaling-policy-1", "deploymentPolicy": "deployment-policy-2" } } ], "groupMaxInstances": 2, "groupMinInstances": 1, "groupScalingEnabled": true } ], "cartridges": [ { "type": "esb", "cartridgeMax": 2, "cartridgeMin": 1, "subscribableInfo": { "alias": "my-esb", "artifactRepository": { "privateRepo": true, "repoPassword": "password", "repoUrl": "http://xxx:10080/git/default.git", "repoUsername": "user" }, "autoscalingPolicy": "autoscaling-policy-1", "deploymentPolicy": "deployment-policy-2" } } ], "dependencies": { "scalingDependants": { "@xsi.nil": "true" }, "startupOrders": [ "group.dbgroup,group.appgroup","group.appgroup,cartridge.my-esb" ], "terminationBehaviour": "terminate-none" } } } [cid:image001.png@01D081AA.FDF6D5A0] -- Udara Liyanage Software Engineer WSO2, Inc.: http://wso2.com<http://wso2.com/> lean. enterprise. middleware web: http://udaraliyanage.wordpress.com phone: +94 71 443 6897<tel:%2B94%2071%20443%206897> -- Imesh Gunaratne Senior Technical Lead, WSO2 Committer & PMC Member, Apache Stratos -- Reka Thirunavukkarasu Senior Software Engineer, WSO2, Inc.:http://wso2.com, Mobile: +94776442007