stratos-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sajith Kariyawasam <saj...@wso2.com>
Subject Re: WSO2 Carbon initialization Failed | XML parsing error
Date Wed, 11 Feb 2015 12:28:52 GMT
See the error message, an xml element (EC2_PROVIDER_STARTiaasProvider) is
not closed in cloud-controller.xml file

*The element type "EC2_PROVIDER_STARTiaasProvider" must be terminated by
the matching end-tag "</EC2_PROVIDER_STARTiaasProvider>*



On Wed, Feb 11, 2015 at 4:20 PM, Chamila De Alwis <chamilad@wso2.com> wrote:

> Hi Supun,
>
> As Udara said, this is an issue with the cloud-controller.xml file.
> stratos-installer configures this file using the values provided in the
> conf/setup.conf file. Please check the values you have entered for IaaS
> configuration.
>
>
> Regards,
> Chamila de Alwis
> Software Engineer | WSO2 | +94772207163
> Blog: code.chamiladealwis.com
>
>
>
> On Wed, Feb 11, 2015 at 3:39 PM, Udara Liyanage <udara@wso2.com> wrote:
>
>> Hi,
>>
>> It seems your cloud-controller.xml file is not a valid XML. Please check
>> the formatting of it.
>>
>> On Wed, Feb 11, 2015 at 3:31 PM, Supun Muthutantrige <supunr@wso2.com>
>> wrote:
>>
>>> Hi all,
>>>
>>> When  Stratos installer is running, there was an error with the
>>> following content in wso2carbon.log. Hence the server is unavailable
>>>
>>> *TID: [0] [STRATOS] [2015-02-11 15:21:48,131] FATAL
>>> {org.wso2.carbon.core.init.CarbonServerManager} -  WSO2 Carbon
>>> initialization Failed*
>>> *org.apache.axiom.om.OMException: javax.xml.stream.XMLStreamException:
>>> ParseError at [row,col]:[62,19]*
>>> *Message: The element type "EC2_PROVIDER_STARTiaasProvider" must be
>>> terminated by the matching end-tag "</EC2_PROVIDER_STARTiaasProvider>".*
>>> * at
>>> org.apache.axiom.om.impl.builder.StAXOMBuilder.next(StAXOMBuilder.java:296)*
>>> * at
>>> org.apache.axiom.om.impl.llom.OMElementImpl.getNextOMSibling(OMElementImpl.java:336)*
>>> * at
>>> org.apache.axiom.om.impl.traverse.OMChildrenIterator.getNextNode(OMChildrenIterator.java:36)*
>>> * at
>>> org.apache.axiom.om.impl.traverse.OMAbstractIterator.hasNext(OMAbstractIterator.java:58)*
>>> * at org.jaxen.expr.DefaultNameStep.evaluate(DefaultNameStep.java:207)*
>>> * at
>>> org.jaxen.expr.DefaultLocationPath.evaluate(DefaultLocationPath.java:140)*
>>> * at
>>> org.jaxen.expr.DefaultAbsoluteLocationPath.evaluate(DefaultAbsoluteLocationPath.java:113)*
>>> * at org.jaxen.expr.DefaultXPathExpr.asList(DefaultXPathExpr.java:102)*
>>> * at org.jaxen.BaseXPath.selectNodesForContext(BaseXPath.java:674)*
>>> * at org.jaxen.BaseXPath.selectNodes(BaseXPath.java:213)*
>>> * at
>>> org.apache.stratos.common.util.AxiomXpathParserUtil.getMatchingNodes(AxiomXpathParserUtil.java:188)*
>>> * at
>>> org.apache.stratos.cloud.controller.config.parser.CloudControllerConfigParser.parse(CloudControllerConfigParser.java:54)*
>>> * at
>>> org.apache.stratos.cloud.controller.deployers.CloudControllerDeployer.deploy(CloudControllerDeployer.java:72)*
>>> * at
>>> org.apache.axis2.deployment.repository.util.DeploymentFileData.deploy(DeploymentFileData.java:136)*
>>> * at
>>> org.apache.axis2.deployment.DeploymentEngine.doDeploy(DeploymentEngine.java:807)*
>>> * at
>>> org.apache.axis2.deployment.repository.util.WSInfoList.update(WSInfoList.java:144)*
>>> * at
>>> org.apache.axis2.deployment.RepositoryListener.update(RepositoryListener.java:377)*
>>> * at
>>> org.apache.axis2.deployment.RepositoryListener.checkServices(RepositoryListener.java:254)*
>>> * at
>>> org.apache.axis2.deployment.DeploymentEngine.loadServices(DeploymentEngine.java:135)*
>>> * at
>>> org.wso2.carbon.core.CarbonAxisConfigurator.loadServices(CarbonAxisConfigurator.java:464)*
>>> * at
>>> org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext(ConfigurationContextFactory.java:95)*
>>> * at
>>> org.wso2.carbon.core.CarbonConfigurationContextFactory.createNewConfigurationContext(CarbonConfigurationContextFactory.java:65)*
>>> * at
>>> org.wso2.carbon.core.init.CarbonServerManager.initializeCarbon(CarbonServerManager.java:398)*
>>> * at
>>> org.wso2.carbon.core.init.CarbonServerManager.removePendingItem(CarbonServerManager.java:290)*
>>> * at
>>> org.wso2.carbon.core.init.PreAxis2ConfigItemListener.bundleChanged(PreAxis2ConfigItemListener.java:118)*
>>> * at
>>> org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:847)*
>>> * at
>>> org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)*
>>> * at
>>> org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340)*
>>> *Caused by: javax.xml.stream.XMLStreamException: ParseError at
>>> [row,col]:[62,19]*
>>> *Message: The element type "EC2_PROVIDER_STARTiaasProvider" must be
>>> terminated by the matching end-tag "</EC2_PROVIDER_STARTiaasProvider>".*
>>> * at
>>> com.sun.org.apache.xerces.internal.impl.XMLStreamReaderImpl.next(XMLStreamReaderImpl.java:592)*
>>> * at
>>> org.apache.axiom.util.stax.wrapper.XMLStreamReaderWrapper.next(XMLStreamReaderWrapper.java:225)*
>>> * at
>>> org.apache.axiom.util.stax.dialect.SJSXPStreamReaderWrapper.next(SJSXPStreamReaderWrapper.java:138)*
>>> * at
>>> org.apache.axiom.om.impl.builder.StAXOMBuilder.parserNext(StAXOMBuilder.java:681)*
>>> * at
>>> org.apache.axiom.om.impl.builder.StAXOMBuilder.next(StAXOMBuilder.java:214)*
>>> * ... 27 more*
>>> *TID: [0] [STRATOS] [2015-02-11 15:21:57,337]  INFO
>>> {org.apache.stratos.cep.extension.CEPTopologyEventReceiver} -  CEP topology
>>> receiver thread started*
>>> *TID: [0] [STRATOS] [2015-02-11 15:21:57,337]  INFO
>>> {org.apache.stratos.messaging.message.receiver.topology.TopologyEventMessageDelegator}
>>> -  Topology event message delegator started*
>>>
>>>
>>> Thank you,
>>> Regards
>>>
>>>
>>> *Supun Rasitha Muthutantrige*
>>> Software Engineer | Intern
>>> WSO2 Inc: http://wso2.com
>>> lean.enterprise.middleware
>>> Mobile: 0758374608
>>>
>>
>>
>>
>> --
>>
>> Udara Liyanage
>> Software Engineer
>> WSO2, Inc.: http://wso2.com
>> lean. enterprise. middleware
>>
>> web: http://udaraliyanage.wordpress.com
>> phone: +94 71 443 6897
>>
>
>

Mime
View raw message