Hi Nirmal, On Fri, May 23, 2014 at 6:43 PM, Nirmal Fernando <[email protected]> wrote:
> > > > On Fri, May 23, 2014 at 4:32 PM, Isuru Udana <[email protected]> wrote: > >> 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. >> > > Yes, this was a issue in cloud-controller. It pre-build jclouds objects in > order to improve the performance. > > >> 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. >> > > Correct work-around would be to, start the server ONLY with the > cloud-controller.xml at least once, and then re-start it after deploying > Cartridges. > Can you please check whether that works? > Thanks for the suggestion. I checked this approach but it didn't work. Do we persist something on the server (not in-memory) once cloud-controller.xml is deployed ? I think then only this approach will work. Thanks. > > >> Thanks. >> >> >> >> >> On Thu, May 22, 2014 at 7:04 PM, Isuru Udana <[email protected]> wrote: >> >>> Issue is due to some change in axis2 in kernel patch0002 >>> >>> >>> On Thu, May 22, 2014 at 7:01 PM, Chaminda Jayawardena <[email protected] >>> > wrote: >>> >>>> Please find the attachment here with... >>>> >>>> >>>> On Thu, May 22, 2014 at 6:52 PM, Nirmal Fernando <[email protected]>wrote: >>>> >>>>> >>>>> >>>>> >>>>> On Thu, May 22, 2014 at 5:10 PM, Isuru Udana <[email protected]> wrote: >>>>> >>>>>> >>>>>> >>>>>> >>>>>> On Thu, May 22, 2014 at 5:08 PM, Chamara Ariyarathne < >>>>>> [email protected]> 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 >>>>>>> <[email protected]>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 < >>>>>>>> [email protected]> 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: [email protected] 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: [email protected] 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: [email protected] 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/ > > > -- *Isuru Udana* Senior * Software Engineer* WSO2 Inc.; http://wso2.com email: [email protected] cell: +94 77 3791887 blog: http://mytecheye.blogspot.com/ twitter: http://twitter.com/isudana
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
