I found the cause of this issue. In r191450 we have made deployment to alphabetical order. Even though the cartridges and cloud-controller.xml are placed in different directories, they are deployed in the same iteration. Since we had the cartridge file name as "appserver_wso2.xml", it is getting deployed before the "cloud-controller.xml".
I think there is a fundamental issue in how these deployers are written in cloud controller. Changing the cartridge file name in a way that the name comes after the "cloud-controller.xml" in alphabetically is the workaround for this issue. Thanks. On Thu, May 22, 2014 at 7:04 PM, Isuru Udana <isu...@wso2.com> wrote: > Issue is due to some change in axis2 in kernel patch0002 > > > On Thu, May 22, 2014 at 7:01 PM, Chaminda Jayawardena > <chami...@wso2.com>wrote: > >> 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 >> > > > > -- > *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 > -- *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
_______________________________________________ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev