Please find the attachment here with...
On Thu, May 22, 2014 at 6:52 PM, Nirmal Fernando <nir...@wso2.com> wrote: > > > > On Thu, May 22, 2014 at 5:10 PM, Isuru Udana <isu...@wso2.com> wrote: > >> >> >> >> On Thu, May 22, 2014 at 5:08 PM, Chamara Ariyarathne >> <chama...@wso2.com>wrote: >> >>> What I heard from IsuruU is that this ELB 2.1.1 version is a bug fix >>> version, which includes, some fixed patches. So my argument is, the >>> previously worked configurations should work absolutely well in the new >>> setup too. Then why is there an exception asking a new element? >>> >>> Has there been any change after the autoscaling patch fixes? >>> >> No. We haven't touch auto scaling for 2.1.1. >> >>> >>> >>> On Thu, May 22, 2014 at 5:00 PM, Isuru Haththotuwa <isu...@wso2.com>wrote: >>> >>>> I too had a look at the configs. As Chaminda has stated in the mail, >>>> the className element is already there in the cloud-controller.xml. But, >>>> still the ELB logs that its not specified, when the cartridge definition >>>> file is getting deployed. This is strange. >>>> >>>> >>>> On Thu, May 22, 2014 at 4:48 PM, Chaminda Jayawardena < >>>> chami...@wso2.com> wrote: >>>> >>>>> I am going to set up *single ELB(2.1.1) and two AS(5.2.1) EC2 >>>>> instances *for testing autoscaling on ELB; it's getting and error >>>>> when it starts the ELB in *autoscale is enabled mode*. Please see the >>>>> exception below. >>>>> >>>>> 2014-05-22 11:06:21,319] ERROR - AxiomXpathParser Essential >>>>> 'className' element has not specified in >>>>> /home/ubuntu/software/temp/wso2elb-2.1.1/repository/deployment/server/cartridges/appserver_wso2.xml >>>>> [2014-05-22 11:06:21,320] ERROR - CartridgeDeployer Invalid deployment >>>>> artefact at >>>>> /home/ubuntu/software/temp/wso2elb-2.1.1/repository/deployment/server/cartridges/appserver_wso2.xml >>>>> org.wso2.carbon.stratos.cloud.controller.exception.MalformedConfigurationFileException: >>>>> Essential 'className' element has not specified in >>>>> /home/ubuntu/software/temp/wso2elb-2.1.1/repository/deployment/server/cartridges/appserver_wso2.xml >>>>> at >>>>> org.wso2.carbon.stratos.cloud.controller.axiom.AxiomXpathParser.handleException(AxiomXpathParser.java:660) >>>>> at >>>>> org.wso2.carbon.stratos.cloud.controller.axiom.AxiomXpathParser.loadClassName(AxiomXpathParser.java:689) >>>>> at >>>>> org.wso2.carbon.stratos.cloud.controller.axiom.AxiomXpathParser.getIaasProvider(AxiomXpathParser.java:409) >>>>> ... >>>>> >>>> Can you please send your appserver_wso2.xml? > > >> .. >>>>> .. >>>>> .. >>>>> The *ClassName* attribute has already been specified under *iaasProvider >>>>> in the cloud-controller.xml*( >>>>> ../repository/conf/cloud-controller.xml) >>>>> >>>>> <iaasProvider type="ec2" name="ec2 specific details"> >>>>> >>>>> <className>org.wso2.carbon.stratos.cloud.controller.iaases.AWSEC2Iaas</className> >>>>> >>>>> *All the configurations have been made according to previously worked >>>>> environment(for ELB 2.1.0) provided by Chamara...* >>>>> >>>>> Please help on this. >>>>> >>>>> -- >>>>> Thanks & Regards >>>>> >>>>> *Chaminda Jayawardena* >>>>> Senior Software Engineer - QA >>>>> WSO2 Inc. - http://wso2.com >>>>> +94-77-7725234 >>>>> >>>> >>>> >>>> >>>> -- >>>> Thanks and Regards, >>>> >>>> Isuru H. >>>> +94 716 358 048* <http://wso2.com/>* >>>> >>>> >>>> >>> >>> >>> -- >>> *Chamara Ariyarathne* >>> >>> Senior Software Engineer - QA; >>> WSO2 Inc; http://www.wso2.com/. >>> Mobile; *+94772786766 <%2B94772786766>* >>> >> >> >> >> -- >> *Isuru Udana* >> Senior >> * Software Engineer* >> WSO2 Inc.; http://wso2.com >> email: isu...@wso2.com cell: +94 77 3791887 >> blog: http://mytecheye.blogspot.com/ >> twitter: http://twitter.com/isudana >> > > > > -- > > Thanks & regards, > Nirmal > > Senior Software Engineer- Platform Technologies Team, WSO2 Inc. > Mobile: +94715779733 > Blog: http://nirmalfdo.blogspot.com/ > > > -- Thanks & Regards *Chaminda Jayawardena* Senior Software Engineer - QA WSO2 Inc. - http://wso2.com +94-77-7725234
<cartridge type="appserver" host="as.ec2cluster.com" provider="wso2"> <!-- cartridge element can have 0..n properties, and they'll be overwritten by the properties specified under iaasProvider child elements of cartridge element. --> <!--property name="xxxxxx" value="xxxxxxxxxxxxxxx"/--> <!-- Cartridge description --> <description>AS cartridge</description> <!-- A cartridge element should add a reference to an existing IaaS provider (specified in the above <iaasProviders> section) or it can create a completely new IaaS Provider (which should have a unique "type" attribute. --> <iaasProvider type="ec2" > <!--imageId>https://mycloud.stratogen.sg/api/vAppTemplate/vappTemplate-8fb5354f-5bcb-46d9-b24a-195fca59d133</imageId--> </iaasProvider> <!--iaasProvider type="vcloud-director"> <imageId>https://mycloud.nttdacloud.com/api/vAppTemplate/vappTemplate-cd8f6b8a-5314-4d10-aff7-3e0b83422a4f</imageId> </iaasProvider--> <!-- This is required for the GIT repo creation. ‘baseDir’ attribute should point to a valid path in the service instance, and it’s the place, where we will clone the GIT repo --> <deployment baseDir=""> <!-- Following directories will be created in the newly created GIT repo. --> <!--dir>abc</dir--> </deployment> </cartridge>
_______________________________________________ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev