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)
> ...
> ..
> ..
> ..
> 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/>*
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to